react-native-smallcase-gateway 3.1.3 → 4.0.1
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/android/build.gradle
CHANGED
|
@@ -149,8 +149,8 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
|
|
|
149
149
|
dependencies {
|
|
150
150
|
//noinspection GradleDynamicVersion
|
|
151
151
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
152
|
-
implementation 'com.smallcase.gateway:sdk:
|
|
153
|
-
implementation 'com.smallcase.loans:sdk:
|
|
152
|
+
implementation 'com.smallcase.gateway:sdk:4.0.1'
|
|
153
|
+
implementation 'com.smallcase.loans:sdk:3.0.1'
|
|
154
154
|
implementation "androidx.core:core-ktx:1.3.1"
|
|
155
155
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
156
156
|
}
|
package/ios/SmallcaseGateway.m
CHANGED
|
@@ -179,6 +179,17 @@ RCT_REMAP_METHOD(triggerTransaction,
|
|
|
179
179
|
return;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
//MARK: intent - mfTransaction
|
|
183
|
+
if ([response isKindOfClass: [ObjcMfTransactionIntentTransaction class]]) {
|
|
184
|
+
NSMutableDictionary *responseDict = [[NSMutableDictionary alloc] init];
|
|
185
|
+
ObjcMfTransactionIntentTransaction *trxResponse = response;
|
|
186
|
+
[responseDict setObject:@"TRANSACTION" forKey:@"transaction"];
|
|
187
|
+
|
|
188
|
+
[responseDict setObject:trxResponse.data forKey:@"data"];
|
|
189
|
+
resolve(responseDict);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
|
|
182
193
|
//MARK: intent - connect
|
|
183
194
|
if([response isKindOfClass: [ObjCTransactionIntentConnect class]]) {
|
|
184
195
|
ObjCTransactionIntentConnect *trxResponse = response;
|
package/package.json
CHANGED