judokit-react-native 3.3.7 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/JudoPay.tsx +13 -3
- package/README.md +2 -2
- package/RNJudopay.podspec +1 -1
- package/android/build.gradle +21 -23
- package/android/src/main/java/com/reactlibrary/Extensions.kt +207 -34
- package/android/src/main/java/com/reactlibrary/Helpers.kt +98 -56
- package/android/src/main/java/com/reactlibrary/JudoReactNativeModule.kt +55 -74
- package/android/src/main/java/com/reactlibrary/JudoReactNativePBBAManager.kt +4 -4
- package/ios/Classes/RNJudo.m +32 -46
- package/ios/Classes/Wrappers/RNWrappers.h +10 -0
- package/ios/Classes/Wrappers/RNWrappers.m +116 -39
- package/ios/Podfile +2 -2
- package/ios/Podfile.lock +16 -8
- package/ios/RNJudo.xcodeproj/project.pbxproj +73 -92
- package/ios/RNJudo.xcodeproj/xcshareddata/xcschemes/RNJudo.xcscheme +1 -1
- package/package.json +1 -1
- package/types/JudoTypes.tsx +30 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
01C87483245069650035A1C1 /* UIColor+RNAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C87482245069650035A1C1 /* UIColor+RNAdditions.m */; };
|
|
11
|
-
|
|
11
|
+
10CE64B590084E7C8CBA0FDC /* libPods-RNJudo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8EB06DB5CF8F5FED0E90F44C /* libPods-RNJudo.a */; };
|
|
12
12
|
3007CBC3249B86BA0014CFC2 /* RNPBBAWrappers.m in Sources */ = {isa = PBXBuildFile; fileRef = 3007CBC2249B86BA0014CFC2 /* RNPBBAWrappers.m */; };
|
|
13
13
|
3007CBC9249B8AB10014CFC2 /* RNPBBAWrappersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3007CBC8249B8AB10014CFC2 /* RNPBBAWrappersTests.m */; };
|
|
14
14
|
302793872464861A00436747 /* libRNJudo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 134814201AA4EA6300B7C361 /* libRNJudo.a */; };
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
44B2907D244E491B009DF232 /* NSDictionary+JudoConvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 44B29075244E491A009DF232 /* NSDictionary+JudoConvert.m */; };
|
|
27
27
|
44B2907E244E491B009DF232 /* RNApplePayWrappers.m in Sources */ = {isa = PBXBuildFile; fileRef = 44B2907A244E491B009DF232 /* RNApplePayWrappers.m */; };
|
|
28
28
|
44B2907F244E491B009DF232 /* RNWrappers.m in Sources */ = {isa = PBXBuildFile; fileRef = 44B2907B244E491B009DF232 /* RNWrappers.m */; };
|
|
29
|
-
|
|
29
|
+
91D3E9495876992A8B1FFFEE /* libPods-RNJudo-RNJudoTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B2E709D2A9CC701279124F8 /* libPods-RNJudo-RNJudoTests.a */; };
|
|
30
30
|
B3E7B58A1CC2AC0600A0062D /* RNJudo.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNJudo.m */; };
|
|
31
31
|
/* End PBXBuildFile section */
|
|
32
32
|
|
|
@@ -55,8 +55,9 @@
|
|
|
55
55
|
/* Begin PBXFileReference section */
|
|
56
56
|
01C87482245069650035A1C1 /* UIColor+RNAdditions.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIColor+RNAdditions.m"; sourceTree = "<group>"; };
|
|
57
57
|
01C87484245069DD0035A1C1 /* UIColor+RNAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIColor+RNAdditions.h"; sourceTree = "<group>"; };
|
|
58
|
+
0A314097569FF3064749EF21 /* Pods-RNJudo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo.release.xcconfig"; path = "Target Support Files/Pods-RNJudo/Pods-RNJudo.release.xcconfig"; sourceTree = "<group>"; };
|
|
58
59
|
134814201AA4EA6300B7C361 /* libRNJudo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNJudo.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
59
|
-
|
|
60
|
+
1B2E709D2A9CC701279124F8 /* libPods-RNJudo-RNJudoTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNJudo-RNJudoTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
60
61
|
3007CBC1249B86BA0014CFC2 /* RNPBBAWrappers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNPBBAWrappers.h; sourceTree = "<group>"; };
|
|
61
62
|
3007CBC2249B86BA0014CFC2 /* RNPBBAWrappers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNPBBAWrappers.m; sourceTree = "<group>"; };
|
|
62
63
|
3007CBC8249B8AB10014CFC2 /* RNPBBAWrappersTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNPBBAWrappersTests.m; sourceTree = "<group>"; };
|
|
@@ -69,7 +70,6 @@
|
|
|
69
70
|
3027939D2465B0FE00436747 /* RNThemeTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNThemeTests.m; sourceTree = "<group>"; };
|
|
70
71
|
3027939F2466A0EF00436747 /* NSDictionaryConvertTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSDictionaryConvertTests.m; sourceTree = "<group>"; };
|
|
71
72
|
30F208C024A28C8E008AA964 /* RNPBBAButtonManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPBBAButtonManager.m; sourceTree = "<group>"; };
|
|
72
|
-
3791EF88F1241A3EA85263C5 /* Pods-RNJudo-RNJudoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo-RNJudoTests.release.xcconfig"; path = "Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
73
73
|
44674008246433F50012DB4C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
74
74
|
44B29073244E491A009DF232 /* NSException+JudoValidationExceptions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSException+JudoValidationExceptions.m"; sourceTree = "<group>"; };
|
|
75
75
|
44B29074244E491A009DF232 /* NSDictionary+JudoConvert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDictionary+JudoConvert.h"; sourceTree = "<group>"; };
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
44B29079244E491B009DF232 /* RNWrappers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNWrappers.h; sourceTree = "<group>"; };
|
|
80
80
|
44B2907A244E491B009DF232 /* RNApplePayWrappers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNApplePayWrappers.m; sourceTree = "<group>"; };
|
|
81
81
|
44B2907B244E491B009DF232 /* RNWrappers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNWrappers.m; sourceTree = "<group>"; };
|
|
82
|
-
519A0EFB9F5FC707B83D5CEA /* Pods-RNJudo-RNJudoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo-RNJudoTests.debug.xcconfig"; path = "Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
83
|
-
6B6CAE04B116E6423A5F317C /* Pods_RNJudo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNJudo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
84
|
-
7D3E64B8CB1A30B7E79AA57E /* Pods_RNJudo_RNJudoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNJudo_RNJudoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
85
|
-
7D72421A356EEAC9375BF818 /* Pods-RNJudo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo.debug.xcconfig"; path = "Target Support Files/Pods-RNJudo/Pods-RNJudo.debug.xcconfig"; sourceTree = "<group>"; };
|
|
86
82
|
82FF801E2448A9EE002A72CF /* RNTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNTypes.h; sourceTree = "<group>"; };
|
|
83
|
+
8822DAF687BA111CD8B958EB /* Pods-RNJudo-RNJudoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo-RNJudoTests.debug.xcconfig"; path = "Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
84
|
+
8EB06DB5CF8F5FED0E90F44C /* libPods-RNJudo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNJudo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
87
85
|
B3E7B5881CC2AC0600A0062D /* RNJudo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNJudo.h; sourceTree = "<group>"; };
|
|
88
86
|
B3E7B5891CC2AC0600A0062D /* RNJudo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNJudo.m; sourceTree = "<group>"; };
|
|
87
|
+
DEFD65C5479404919665AF19 /* Pods-RNJudo-RNJudoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo-RNJudoTests.release.xcconfig"; path = "Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
88
|
+
F3BD3206358AE029C8AD5B0C /* Pods-RNJudo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNJudo.debug.xcconfig"; path = "Target Support Files/Pods-RNJudo/Pods-RNJudo.debug.xcconfig"; sourceTree = "<group>"; };
|
|
89
89
|
/* End PBXFileReference section */
|
|
90
90
|
|
|
91
91
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
buildActionMask = 2147483647;
|
|
95
95
|
files = (
|
|
96
96
|
302793872464861A00436747 /* libRNJudo.a in Frameworks */,
|
|
97
|
-
|
|
97
|
+
91D3E9495876992A8B1FFFEE /* libPods-RNJudo-RNJudoTests.a in Frameworks */,
|
|
98
98
|
);
|
|
99
99
|
runOnlyForDeploymentPostprocessing = 0;
|
|
100
100
|
};
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
isa = PBXFrameworksBuildPhase;
|
|
103
103
|
buildActionMask = 2147483647;
|
|
104
104
|
files = (
|
|
105
|
-
|
|
105
|
+
10CE64B590084E7C8CBA0FDC /* libPods-RNJudo.a in Frameworks */,
|
|
106
106
|
);
|
|
107
107
|
runOnlyForDeploymentPostprocessing = 0;
|
|
108
108
|
};
|
|
@@ -187,27 +187,27 @@
|
|
|
187
187
|
44674005246433F50012DB4C /* RNJudoTests */,
|
|
188
188
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
189
189
|
9B6791AF87E7C37C6CE084D2 /* Pods */,
|
|
190
|
-
9DA5B1B63B800FC15D705334 /* Frameworks */,
|
|
191
190
|
302793822464861900436747 /* RNJudoTests.xctest */,
|
|
191
|
+
BD4E27522E8A79E29A16EB7B /* Frameworks */,
|
|
192
192
|
);
|
|
193
193
|
sourceTree = "<group>";
|
|
194
194
|
};
|
|
195
195
|
9B6791AF87E7C37C6CE084D2 /* Pods */ = {
|
|
196
196
|
isa = PBXGroup;
|
|
197
197
|
children = (
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
F3BD3206358AE029C8AD5B0C /* Pods-RNJudo.debug.xcconfig */,
|
|
199
|
+
0A314097569FF3064749EF21 /* Pods-RNJudo.release.xcconfig */,
|
|
200
|
+
8822DAF687BA111CD8B958EB /* Pods-RNJudo-RNJudoTests.debug.xcconfig */,
|
|
201
|
+
DEFD65C5479404919665AF19 /* Pods-RNJudo-RNJudoTests.release.xcconfig */,
|
|
202
202
|
);
|
|
203
203
|
path = Pods;
|
|
204
204
|
sourceTree = "<group>";
|
|
205
205
|
};
|
|
206
|
-
|
|
206
|
+
BD4E27522E8A79E29A16EB7B /* Frameworks */ = {
|
|
207
207
|
isa = PBXGroup;
|
|
208
208
|
children = (
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
8EB06DB5CF8F5FED0E90F44C /* libPods-RNJudo.a */,
|
|
210
|
+
1B2E709D2A9CC701279124F8 /* libPods-RNJudo-RNJudoTests.a */,
|
|
211
211
|
);
|
|
212
212
|
name = Frameworks;
|
|
213
213
|
sourceTree = "<group>";
|
|
@@ -219,11 +219,12 @@
|
|
|
219
219
|
isa = PBXNativeTarget;
|
|
220
220
|
buildConfigurationList = 3027938A2464861A00436747 /* Build configuration list for PBXNativeTarget "RNJudoTests" */;
|
|
221
221
|
buildPhases = (
|
|
222
|
-
|
|
222
|
+
0D2ED24EF5759110CC82FDE7 /* [CP] Check Pods Manifest.lock */,
|
|
223
223
|
3027937E2464861900436747 /* Sources */,
|
|
224
224
|
3027937F2464861900436747 /* Frameworks */,
|
|
225
225
|
302793802464861900436747 /* Resources */,
|
|
226
|
-
|
|
226
|
+
120D544968F3AD5B1D5B442F /* [CP] Embed Pods Frameworks */,
|
|
227
|
+
AF33FA3D2FB709591BC65FA5 /* [CP] Copy Pods Resources */,
|
|
227
228
|
);
|
|
228
229
|
buildRules = (
|
|
229
230
|
);
|
|
@@ -239,7 +240,7 @@
|
|
|
239
240
|
isa = PBXNativeTarget;
|
|
240
241
|
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNJudo" */;
|
|
241
242
|
buildPhases = (
|
|
242
|
-
|
|
243
|
+
9FE97A035D08DD9E5B376938 /* [CP] Check Pods Manifest.lock */,
|
|
243
244
|
58B511D71A9E6C8500147676 /* Sources */,
|
|
244
245
|
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
245
246
|
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
@@ -260,7 +261,7 @@
|
|
|
260
261
|
isa = PBXProject;
|
|
261
262
|
attributes = {
|
|
262
263
|
LastSwiftUpdateCheck = 1140;
|
|
263
|
-
LastUpgradeCheck =
|
|
264
|
+
LastUpgradeCheck = 1340;
|
|
264
265
|
ORGANIZATIONNAME = "Alternative Payments Ltd";
|
|
265
266
|
TargetAttributes = {
|
|
266
267
|
302793812464861900436747 = {
|
|
@@ -304,75 +305,51 @@
|
|
|
304
305
|
/* End PBXResourcesBuildPhase section */
|
|
305
306
|
|
|
306
307
|
/* Begin PBXShellScriptBuildPhase section */
|
|
307
|
-
|
|
308
|
+
0D2ED24EF5759110CC82FDE7 /* [CP] Check Pods Manifest.lock */ = {
|
|
309
|
+
isa = PBXShellScriptBuildPhase;
|
|
310
|
+
buildActionMask = 2147483647;
|
|
311
|
+
files = (
|
|
312
|
+
);
|
|
313
|
+
inputFileListPaths = (
|
|
314
|
+
);
|
|
315
|
+
inputPaths = (
|
|
316
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
317
|
+
"${PODS_ROOT}/Manifest.lock",
|
|
318
|
+
);
|
|
319
|
+
name = "[CP] Check Pods Manifest.lock";
|
|
320
|
+
outputFileListPaths = (
|
|
321
|
+
);
|
|
322
|
+
outputPaths = (
|
|
323
|
+
"$(DERIVED_FILE_DIR)/Pods-RNJudo-RNJudoTests-checkManifestLockResult.txt",
|
|
324
|
+
);
|
|
325
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
326
|
+
shellPath = /bin/sh;
|
|
327
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
328
|
+
showEnvVarsInLog = 0;
|
|
329
|
+
};
|
|
330
|
+
120D544968F3AD5B1D5B442F /* [CP] Embed Pods Frameworks */ = {
|
|
308
331
|
isa = PBXShellScriptBuildPhase;
|
|
309
332
|
buildActionMask = 2147483647;
|
|
310
333
|
files = (
|
|
311
334
|
);
|
|
312
335
|
inputPaths = (
|
|
313
336
|
"${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-frameworks.sh",
|
|
314
|
-
"${
|
|
315
|
-
"${
|
|
316
|
-
"${
|
|
317
|
-
"${BUILT_PRODUCTS_DIR}/Folly/folly.framework",
|
|
318
|
-
"${BUILT_PRODUCTS_DIR}/JudoKit-iOS/JudoKit_iOS.framework",
|
|
319
|
-
"${BUILT_PRODUCTS_DIR}/RCTTypeSafety/RCTTypeSafety.framework",
|
|
320
|
-
"${BUILT_PRODUCTS_DIR}/React-Core/React.framework",
|
|
321
|
-
"${BUILT_PRODUCTS_DIR}/React-CoreModules/CoreModules.framework",
|
|
322
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTActionSheet/RCTActionSheet.framework",
|
|
323
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTAnimation/RCTAnimation.framework",
|
|
324
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTBlob/RCTBlob.framework",
|
|
325
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTImage/RCTImage.framework",
|
|
326
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTLinking/RCTLinking.framework",
|
|
327
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTNetwork/RCTNetwork.framework",
|
|
328
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTSettings/RCTSettings.framework",
|
|
329
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTText/RCTText.framework",
|
|
330
|
-
"${BUILT_PRODUCTS_DIR}/React-RCTVibration/RCTVibration.framework",
|
|
331
|
-
"${BUILT_PRODUCTS_DIR}/React-cxxreact/cxxreact.framework",
|
|
332
|
-
"${BUILT_PRODUCTS_DIR}/React-jsi/jsi.framework",
|
|
333
|
-
"${BUILT_PRODUCTS_DIR}/React-jsiexecutor/jsireact.framework",
|
|
334
|
-
"${BUILT_PRODUCTS_DIR}/React-jsinspector/jsinspector.framework",
|
|
335
|
-
"${BUILT_PRODUCTS_DIR}/ReactCommon/ReactCommon.framework",
|
|
336
|
-
"${BUILT_PRODUCTS_DIR}/TrustKit/TrustKit.framework",
|
|
337
|
-
"${BUILT_PRODUCTS_DIR}/Yoga/yoga.framework",
|
|
338
|
-
"${BUILT_PRODUCTS_DIR}/ZappMerchantLib/ZappMerchantLib.framework",
|
|
339
|
-
"${BUILT_PRODUCTS_DIR}/glog/glog.framework",
|
|
337
|
+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/DeviceDNA/DeviceDNA.framework/DeviceDNA",
|
|
338
|
+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/Judo3DS2_iOS/Judo3DS2_iOS.framework/Judo3DS2_iOS",
|
|
339
|
+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
|
|
340
340
|
);
|
|
341
341
|
name = "[CP] Embed Pods Frameworks";
|
|
342
342
|
outputPaths = (
|
|
343
343
|
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DeviceDNA.framework",
|
|
344
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/
|
|
345
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/
|
|
346
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/folly.framework",
|
|
347
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JudoKit_iOS.framework",
|
|
348
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTTypeSafety.framework",
|
|
349
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/React.framework",
|
|
350
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CoreModules.framework",
|
|
351
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTActionSheet.framework",
|
|
352
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTAnimation.framework",
|
|
353
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTBlob.framework",
|
|
354
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTImage.framework",
|
|
355
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTLinking.framework",
|
|
356
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTNetwork.framework",
|
|
357
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTSettings.framework",
|
|
358
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTText.framework",
|
|
359
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTVibration.framework",
|
|
360
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/cxxreact.framework",
|
|
361
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsi.framework",
|
|
362
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsireact.framework",
|
|
363
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsinspector.framework",
|
|
364
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactCommon.framework",
|
|
365
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TrustKit.framework",
|
|
366
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/yoga.framework",
|
|
367
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZappMerchantLib.framework",
|
|
368
|
-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework",
|
|
344
|
+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Judo3DS2_iOS.framework",
|
|
345
|
+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
|
|
369
346
|
);
|
|
370
347
|
runOnlyForDeploymentPostprocessing = 0;
|
|
371
348
|
shellPath = /bin/sh;
|
|
372
349
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-frameworks.sh\"\n";
|
|
373
350
|
showEnvVarsInLog = 0;
|
|
374
351
|
};
|
|
375
|
-
|
|
352
|
+
9FE97A035D08DD9E5B376938 /* [CP] Check Pods Manifest.lock */ = {
|
|
376
353
|
isa = PBXShellScriptBuildPhase;
|
|
377
354
|
buildActionMask = 2147483647;
|
|
378
355
|
files = (
|
|
@@ -387,33 +364,35 @@
|
|
|
387
364
|
outputFileListPaths = (
|
|
388
365
|
);
|
|
389
366
|
outputPaths = (
|
|
390
|
-
"$(DERIVED_FILE_DIR)/Pods-RNJudo-
|
|
367
|
+
"$(DERIVED_FILE_DIR)/Pods-RNJudo-checkManifestLockResult.txt",
|
|
391
368
|
);
|
|
392
369
|
runOnlyForDeploymentPostprocessing = 0;
|
|
393
370
|
shellPath = /bin/sh;
|
|
394
371
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
395
372
|
showEnvVarsInLog = 0;
|
|
396
373
|
};
|
|
397
|
-
|
|
374
|
+
AF33FA3D2FB709591BC65FA5 /* [CP] Copy Pods Resources */ = {
|
|
398
375
|
isa = PBXShellScriptBuildPhase;
|
|
399
376
|
buildActionMask = 2147483647;
|
|
400
377
|
files = (
|
|
401
378
|
);
|
|
402
|
-
inputFileListPaths = (
|
|
403
|
-
);
|
|
404
379
|
inputPaths = (
|
|
405
|
-
"${
|
|
406
|
-
"${PODS_ROOT}/
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
380
|
+
"${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-resources.sh",
|
|
381
|
+
"${PODS_ROOT}/JudoKit-iOS/Resources/icons.bundle",
|
|
382
|
+
"${PODS_ROOT}/JudoKit-iOS/Resources/resources.bundle",
|
|
383
|
+
"${PODS_CONFIGURATION_BUILD_DIR}/JudoKit-iOS/JudoKit_iOS.bundle",
|
|
384
|
+
"${PODS_CONFIGURATION_BUILD_DIR}/ZappMerchantLib/ZappMerchantLibResources.bundle",
|
|
410
385
|
);
|
|
386
|
+
name = "[CP] Copy Pods Resources";
|
|
411
387
|
outputPaths = (
|
|
412
|
-
"$
|
|
388
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/icons.bundle",
|
|
389
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/resources.bundle",
|
|
390
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/JudoKit_iOS.bundle",
|
|
391
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ZappMerchantLibResources.bundle",
|
|
413
392
|
);
|
|
414
393
|
runOnlyForDeploymentPostprocessing = 0;
|
|
415
394
|
shellPath = /bin/sh;
|
|
416
|
-
shellScript = "
|
|
395
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-resources.sh\"\n";
|
|
417
396
|
showEnvVarsInLog = 0;
|
|
418
397
|
};
|
|
419
398
|
/* End PBXShellScriptBuildPhase section */
|
|
@@ -463,7 +442,7 @@
|
|
|
463
442
|
/* Begin XCBuildConfiguration section */
|
|
464
443
|
3027938B2464861A00436747 /* Debug */ = {
|
|
465
444
|
isa = XCBuildConfiguration;
|
|
466
|
-
baseConfigurationReference =
|
|
445
|
+
baseConfigurationReference = 8822DAF687BA111CD8B958EB /* Pods-RNJudo-RNJudoTests.debug.xcconfig */;
|
|
467
446
|
buildSettings = {
|
|
468
447
|
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
|
|
469
448
|
CLANG_ANALYZER_NONNULL = YES;
|
|
@@ -522,7 +501,7 @@
|
|
|
522
501
|
};
|
|
523
502
|
3027938C2464861A00436747 /* Release */ = {
|
|
524
503
|
isa = XCBuildConfiguration;
|
|
525
|
-
baseConfigurationReference =
|
|
504
|
+
baseConfigurationReference = DEFD65C5479404919665AF19 /* Pods-RNJudo-RNJudoTests.release.xcconfig */;
|
|
526
505
|
buildSettings = {
|
|
527
506
|
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
|
|
528
507
|
CLANG_ANALYZER_NONNULL = YES;
|
|
@@ -569,6 +548,7 @@
|
|
|
569
548
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
570
549
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
571
550
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
551
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
572
552
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
573
553
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
574
554
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
@@ -592,7 +572,7 @@
|
|
|
592
572
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
593
573
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
594
574
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
595
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
575
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
596
576
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
597
577
|
ONLY_ACTIVE_ARCH = YES;
|
|
598
578
|
SDKROOT = iphoneos;
|
|
@@ -622,6 +602,7 @@
|
|
|
622
602
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
623
603
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
624
604
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
605
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
625
606
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
626
607
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
627
608
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
@@ -638,7 +619,7 @@
|
|
|
638
619
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
639
620
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
640
621
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
641
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
622
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
642
623
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
643
624
|
SDKROOT = iphoneos;
|
|
644
625
|
VALIDATE_PRODUCT = YES;
|
|
@@ -647,7 +628,7 @@
|
|
|
647
628
|
};
|
|
648
629
|
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
649
630
|
isa = XCBuildConfiguration;
|
|
650
|
-
baseConfigurationReference =
|
|
631
|
+
baseConfigurationReference = F3BD3206358AE029C8AD5B0C /* Pods-RNJudo.debug.xcconfig */;
|
|
651
632
|
buildSettings = {
|
|
652
633
|
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
|
|
653
634
|
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
|
@@ -667,7 +648,7 @@
|
|
|
667
648
|
};
|
|
668
649
|
58B511F11A9E6C8500147676 /* Release */ = {
|
|
669
650
|
isa = XCBuildConfiguration;
|
|
670
|
-
baseConfigurationReference =
|
|
651
|
+
baseConfigurationReference = 0A314097569FF3064749EF21 /* Pods-RNJudo.release.xcconfig */;
|
|
671
652
|
buildSettings = {
|
|
672
653
|
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
|
|
673
654
|
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "judokit-react-native",
|
|
3
3
|
"title": "Judopay React Native Module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"description": "A React Native module for the Judopay native SDKs to take payments on iOS and Android.",
|
|
6
6
|
"main": "JudoPay.tsx",
|
|
7
7
|
"scripts": {
|
package/types/JudoTypes.tsx
CHANGED
|
@@ -15,6 +15,34 @@ export interface JudoConfiguration {
|
|
|
15
15
|
googlePayConfiguration?: JudoGooglePayConfiguration
|
|
16
16
|
pbbaConfiguration?: JudoPBBAConfiguration
|
|
17
17
|
isInitialRecurringPayment?: boolean
|
|
18
|
+
networkTimeout?: NetworkTimeout,
|
|
19
|
+
challengeRequestIndicator?: ChallengeRequestIndicator,
|
|
20
|
+
scaExemption?: ScaExemption,
|
|
21
|
+
mobileNumber?: string,
|
|
22
|
+
phoneCountryCode?: string,
|
|
23
|
+
emailAddress?: string,
|
|
24
|
+
threeDSTwoMaxTimeout?: string,
|
|
25
|
+
threeDSTwoMessageVersion?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export enum ChallengeRequestIndicator {
|
|
29
|
+
NoPreference = "noPreference",
|
|
30
|
+
NoChallenge = "noChallenge",
|
|
31
|
+
ChallengePreferred = "challengePreferred",
|
|
32
|
+
ChallengeAsMandate = "challengeAsMandate"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export enum ScaExemption {
|
|
36
|
+
LowValue = "lowValue",
|
|
37
|
+
SecureCorporate = "secureCorporate",
|
|
38
|
+
TrustedBeneficiary = "trustedBeneficiary",
|
|
39
|
+
TransactionRiskAnalysis = "transactionRiskAnalysis"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface NetworkTimeout {
|
|
43
|
+
connectTimeout?: number,
|
|
44
|
+
readTimeout?: number,
|
|
45
|
+
writeTimeout?: number
|
|
18
46
|
}
|
|
19
47
|
|
|
20
48
|
export enum JudoTransactionType {
|
|
@@ -54,6 +82,7 @@ export interface JudoAddress {
|
|
|
54
82
|
postCode?: string
|
|
55
83
|
town?: string
|
|
56
84
|
countryCode?: number
|
|
85
|
+
billingCountry?: string
|
|
57
86
|
}
|
|
58
87
|
|
|
59
88
|
export interface JudoUIConfiguration {
|
|
@@ -61,6 +90,7 @@ export interface JudoUIConfiguration {
|
|
|
61
90
|
shouldPaymentMethodsDisplayAmount: boolean
|
|
62
91
|
shouldPaymentButtonDisplayAmount: boolean
|
|
63
92
|
shouldPaymentMethodsVerifySecurityCode: boolean
|
|
93
|
+
shouldAskForBillingInformation?: boolean
|
|
64
94
|
theme?: JudoTheme
|
|
65
95
|
}
|
|
66
96
|
|