Skip to content

Commit 64e0d84

Browse files
author
andy
committed
2 parents 0a5ced4 + 5528d69 commit 64e0d84

File tree

3 files changed

+82
-16
lines changed

3 files changed

+82
-16
lines changed

example/android/app/src/main/java/com/example/MainApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public boolean getUseDeveloperSupport() {
2222
protected List<ReactPackage> getPackages() {
2323
@SuppressWarnings("UnnecessaryLocalVariable")
2424
List<ReactPackage> packages = new PackageList(this).getPackages();
25+
//RN0.60以下需要打开,注意导包JVerificationPackage
26+
//packages.add(new JVerificationPackage());
2527
return packages;
2628
}
2729

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PODS:
1313
- glog (0.3.5)
1414
- JCore (1.5.0):
1515
- React
16-
- JVerification (2.1.5):
16+
- JVerification (2.2.1):
1717
- React
1818
- React (0.60.5):
1919
- React-Core (= 0.60.5)
@@ -111,7 +111,7 @@ DEPENDENCIES:
111111
- yoga (from `../node_modules/react-native/ReactCommon/yoga`)
112112

113113
SPEC REPOS:
114-
https://github.com/cocoapods/specs.git:
114+
trunk:
115115
- boost-for-react-native
116116

117117
EXTERNAL SOURCES:
@@ -168,7 +168,7 @@ SPEC CHECKSUMS:
168168
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
169169
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
170170
JCore: 191e9e58a35fb87a7500ce7b0772ec83019eaa60
171-
JVerification: 3616f5ff2989c37aa25111ffb734a0362c6bd6bc
171+
JVerification: 93fd8d039dc59230378a6256d13a229c3be35fb6
172172
React: 53c53c4d99097af47cf60594b8706b4e3321e722
173173
React-Core: ba421f6b4f4cbe2fb17c0b6fc675f87622e78a64
174174
React-cxxreact: 8384287780c4999351ad9b6e7a149d9ed10a2395
@@ -190,4 +190,4 @@ SPEC CHECKSUMS:
190190

191191
PODFILE CHECKSUM: 2d51da6f6de1005d1437b85332a1464eeda5bfbc
192192

193-
COCOAPODS: 1.6.1
193+
COCOAPODS: 1.8.4

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 76 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,26 @@
1212
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1313
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1414
5C103CA923605A2F000AD3DA /* JVerificationResource.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 5C103CA823605A2E000AD3DA /* JVerificationResource.bundle */; };
15-
F8708EE0CA5D1AAFF466932A /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 756655470AF640A042C5ECE6 /* libPods-example.a */; };
15+
602210A9D84EB087CE84A5F7 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C94467A3A3E7715FA98BF76 /* libPods-example.a */; };
1616
/* End PBXBuildFile section */
1717

18+
/* Begin PBXContainerItemProxy section */
19+
5CE4DCC823740560004FE764 /* PBXContainerItemProxy */ = {
20+
isa = PBXContainerItemProxy;
21+
containerPortal = 5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */;
22+
proxyType = 2;
23+
remoteGlobalIDString = 6212E9B41F3990DC00BDF51A;
24+
remoteInfo = RCTJCoreModule;
25+
};
26+
5CE4DCCE2374057B004FE764 /* PBXContainerItemProxy */ = {
27+
isa = PBXContainerItemProxy;
28+
containerPortal = 5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */;
29+
proxyType = 2;
30+
remoteGlobalIDString = 62890E502190232500803A2B;
31+
remoteInfo = RCTJVerificationModule;
32+
};
33+
/* End PBXContainerItemProxy section */
34+
1835
/* Begin PBXFileReference section */
1936
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
2037
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -26,20 +43,22 @@
2643
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = "<group>"; };
2744
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = "<group>"; };
2845
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = "<group>"; };
29-
40B1427962E3EB1FAA54C5D2 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = "<group>"; };
46+
14E21A81D379A335288ADB38 /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
3047
5C103CA823605A2E000AD3DA /* JVerificationResource.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = JVerificationResource.bundle; sourceTree = "<group>"; };
31-
756655470AF640A042C5ECE6 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
32-
BAD122149FF32747AF749326 /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
48+
5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJCoreModule.xcodeproj; path = "../node_modules/jcore-react-native/ios/RCTJCoreModule.xcodeproj"; sourceTree = "<group>"; };
49+
5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJVerificationModule.xcodeproj; path = "../node_modules/jverification-react-native/ios/RCTJVerificationModule.xcodeproj"; sourceTree = "<group>"; };
50+
7C94467A3A3E7715FA98BF76 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3351
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
3452
ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
53+
F4B5A370EDD6B14FB2A4147F /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = "<group>"; };
3554
/* End PBXFileReference section */
3655

3756
/* Begin PBXFrameworksBuildPhase section */
3857
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
3958
isa = PBXFrameworksBuildPhase;
4059
buildActionMask = 2147483647;
4160
files = (
42-
F8708EE0CA5D1AAFF466932A /* libPods-example.a in Frameworks */,
61+
602210A9D84EB087CE84A5F7 /* libPods-example.a in Frameworks */,
4362
);
4463
runOnlyForDeploymentPostprocessing = 0;
4564
};
@@ -83,23 +102,41 @@
83102
children = (
84103
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
85104
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
86-
756655470AF640A042C5ECE6 /* libPods-example.a */,
105+
7C94467A3A3E7715FA98BF76 /* libPods-example.a */,
87106
);
88107
name = Frameworks;
89108
sourceTree = "<group>";
90109
};
91110
55DEA14607BD4FAA459AFEAB /* Pods */ = {
92111
isa = PBXGroup;
93112
children = (
94-
BAD122149FF32747AF749326 /* Pods-example.debug.xcconfig */,
95-
40B1427962E3EB1FAA54C5D2 /* Pods-example.release.xcconfig */,
113+
14E21A81D379A335288ADB38 /* Pods-example.debug.xcconfig */,
114+
F4B5A370EDD6B14FB2A4147F /* Pods-example.release.xcconfig */,
96115
);
97116
path = Pods;
98117
sourceTree = "<group>";
99118
};
119+
5CE4DCC523740560004FE764 /* Products */ = {
120+
isa = PBXGroup;
121+
children = (
122+
5CE4DCC923740560004FE764 /* libRCTJCoreModule.a */,
123+
);
124+
name = Products;
125+
sourceTree = "<group>";
126+
};
127+
5CE4DCCB2374057B004FE764 /* Products */ = {
128+
isa = PBXGroup;
129+
children = (
130+
5CE4DCCF2374057B004FE764 /* libRCTJVerificationModule.a */,
131+
);
132+
name = Products;
133+
sourceTree = "<group>";
134+
};
100135
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
101136
isa = PBXGroup;
102137
children = (
138+
5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */,
139+
5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */,
103140
);
104141
name = Libraries;
105142
sourceTree = "<group>";
@@ -134,7 +171,7 @@
134171
isa = PBXNativeTarget;
135172
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
136173
buildPhases = (
137-
063B1977AF0B6F53F6C05E12 /* [CP] Check Pods Manifest.lock */,
174+
46FE98CA3D979D9404F89C56 /* [CP] Check Pods Manifest.lock */,
138175
FD10A7F022414F080027D42C /* Start Packager */,
139176
13B07F871A680F5B00A75B9A /* Sources */,
140177
13B07F8C1A680F5B00A75B9A /* Frameworks */,
@@ -177,13 +214,40 @@
177214
mainGroup = 83CBB9F61A601CBA00E9B192;
178215
productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
179216
projectDirPath = "";
217+
projectReferences = (
218+
{
219+
ProductGroup = 5CE4DCC523740560004FE764 /* Products */;
220+
ProjectRef = 5CE4DCC423740560004FE764 /* RCTJCoreModule.xcodeproj */;
221+
},
222+
{
223+
ProductGroup = 5CE4DCCB2374057B004FE764 /* Products */;
224+
ProjectRef = 5CE4DCCA2374057B004FE764 /* RCTJVerificationModule.xcodeproj */;
225+
},
226+
);
180227
projectRoot = "";
181228
targets = (
182229
13B07F861A680F5B00A75B9A /* example */,
183230
);
184231
};
185232
/* End PBXProject section */
186233

234+
/* Begin PBXReferenceProxy section */
235+
5CE4DCC923740560004FE764 /* libRCTJCoreModule.a */ = {
236+
isa = PBXReferenceProxy;
237+
fileType = archive.ar;
238+
path = libRCTJCoreModule.a;
239+
remoteRef = 5CE4DCC823740560004FE764 /* PBXContainerItemProxy */;
240+
sourceTree = BUILT_PRODUCTS_DIR;
241+
};
242+
5CE4DCCF2374057B004FE764 /* libRCTJVerificationModule.a */ = {
243+
isa = PBXReferenceProxy;
244+
fileType = archive.ar;
245+
path = libRCTJVerificationModule.a;
246+
remoteRef = 5CE4DCCE2374057B004FE764 /* PBXContainerItemProxy */;
247+
sourceTree = BUILT_PRODUCTS_DIR;
248+
};
249+
/* End PBXReferenceProxy section */
250+
187251
/* Begin PBXResourcesBuildPhase section */
188252
13B07F8E1A680F5B00A75B9A /* Resources */ = {
189253
isa = PBXResourcesBuildPhase;
@@ -212,7 +276,7 @@
212276
shellPath = /bin/sh;
213277
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
214278
};
215-
063B1977AF0B6F53F6C05E12 /* [CP] Check Pods Manifest.lock */ = {
279+
46FE98CA3D979D9404F89C56 /* [CP] Check Pods Manifest.lock */ = {
216280
isa = PBXShellScriptBuildPhase;
217281
buildActionMask = 2147483647;
218282
files = (
@@ -282,7 +346,7 @@
282346
/* Begin XCBuildConfiguration section */
283347
13B07F941A680F5B00A75B9A /* Debug */ = {
284348
isa = XCBuildConfiguration;
285-
baseConfigurationReference = BAD122149FF32747AF749326 /* Pods-example.debug.xcconfig */;
349+
baseConfigurationReference = 14E21A81D379A335288ADB38 /* Pods-example.debug.xcconfig */;
286350
buildSettings = {
287351
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
288352
CODE_SIGN_STYLE = Manual;
@@ -305,7 +369,7 @@
305369
};
306370
13B07F951A680F5B00A75B9A /* Release */ = {
307371
isa = XCBuildConfiguration;
308-
baseConfigurationReference = 40B1427962E3EB1FAA54C5D2 /* Pods-example.release.xcconfig */;
372+
baseConfigurationReference = F4B5A370EDD6B14FB2A4147F /* Pods-example.release.xcconfig */;
309373
buildSettings = {
310374
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
311375
CODE_SIGN_STYLE = Manual;

0 commit comments

Comments
 (0)