@veryai/react-native-sdk 1.0.16 → 1.0.20
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 +5 -5
- package/android/gradle.properties +1 -1
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/kotlin/com/{verymobilesdk/rn/VeryMobileSDKModule.kt → verysdk/rn/VerySDKModule.kt} +8 -8
- package/android/src/main/kotlin/com/{verymobilesdk/rn/VeryMobileSDKPackage.kt → verysdk/rn/VerySDKPackage.kt} +3 -3
- package/ios/{VeryMobileSDKRN.m → VerySDKRN.m} +1 -1
- package/ios/{VeryMobileSDKRN.swift → VerySDKRN.swift} +5 -5
- package/lib/commonjs/{NativeVeryMobileSDK.js → NativeVerySDK.js} +3 -3
- package/lib/commonjs/NativeVerySDK.js.map +1 -0
- package/lib/commonjs/index.js +5 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/{NativeVeryMobileSDK.js → NativeVerySDK.js} +3 -3
- package/lib/module/NativeVerySDK.js.map +1 -0
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/{NativeVeryMobileSDK.d.ts → NativeVerySDK.d.ts} +3 -3
- package/lib/typescript/NativeVerySDK.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/{NativeVeryMobileSDK.ts → NativeVerySDK.ts} +4 -4
- package/src/index.tsx +2 -2
- package/veryai-react-native-sdk.podspec +2 -2
- package/lib/commonjs/NativeVeryMobileSDK.js.map +0 -1
- package/lib/module/NativeVeryMobileSDK.js.map +0 -1
- package/lib/typescript/NativeVeryMobileSDK.d.ts.map +0 -1
package/android/build.gradle
CHANGED
|
@@ -14,7 +14,7 @@ apply plugin: 'kotlin-android'
|
|
|
14
14
|
|
|
15
15
|
android {
|
|
16
16
|
if (project.android.hasProperty("namespace")) {
|
|
17
|
-
namespace 'com.
|
|
17
|
+
namespace 'com.verysdk.rn'
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
compileSdkVersion 34
|
|
@@ -49,11 +49,11 @@ dependencies {
|
|
|
49
49
|
implementation "com.facebook.react:react-native:+"
|
|
50
50
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
51
51
|
|
|
52
|
-
// Very
|
|
52
|
+
// Very SDK - use published Maven artifact in production,
|
|
53
53
|
// or local project dependency during development
|
|
54
|
-
if (findProject(':very-
|
|
55
|
-
implementation project(':very-
|
|
54
|
+
if (findProject(':very-sdk') != null) {
|
|
55
|
+
implementation project(':very-sdk')
|
|
56
56
|
} else {
|
|
57
|
-
implementation "org.very
|
|
57
|
+
implementation "org.very:sdk:${project.findProperty('verySDKVersion') ?: '1.0.20'}"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
VerySDKRN_kotlinVersion=1.7.22
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
package com.
|
|
1
|
+
package com.verysdk.rn
|
|
2
2
|
|
|
3
3
|
import com.facebook.react.bridge.*
|
|
4
|
-
import org.very.
|
|
5
|
-
import org.very.
|
|
6
|
-
import org.very.
|
|
4
|
+
import org.very.sdk.VeryConfig
|
|
5
|
+
import org.very.sdk.VerySDK
|
|
6
|
+
import org.very.sdk.VeryPresentationStyle
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class VerySDKModule(reactContext: ReactApplicationContext) :
|
|
9
9
|
ReactContextBaseJavaModule(reactContext) {
|
|
10
10
|
|
|
11
|
-
override fun getName(): String = "
|
|
11
|
+
override fun getName(): String = "VerySDKRN"
|
|
12
12
|
|
|
13
13
|
@ReactMethod
|
|
14
14
|
fun authenticate(configMap: ReadableMap, promise: Promise) {
|
|
@@ -31,7 +31,7 @@ class VeryMobileSDKModule(reactContext: ReactApplicationContext) :
|
|
|
31
31
|
else -> VeryPresentationStyle.FULL_SCREEN
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
VerySDK.authenticate(activity, config, style) { result ->
|
|
35
35
|
val map = Arguments.createMap().apply {
|
|
36
36
|
putString("code", result.code)
|
|
37
37
|
putString("userId", result.userId)
|
|
@@ -47,6 +47,6 @@ class VeryMobileSDKModule(reactContext: ReactApplicationContext) :
|
|
|
47
47
|
@ReactMethod
|
|
48
48
|
fun isSupported(promise: Promise) {
|
|
49
49
|
val context = currentActivity ?: reactApplicationContext
|
|
50
|
-
promise.resolve(
|
|
50
|
+
promise.resolve(VerySDK.isSupport(context))
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
package com.
|
|
1
|
+
package com.verysdk.rn
|
|
2
2
|
|
|
3
3
|
import com.facebook.react.ReactPackage
|
|
4
4
|
import com.facebook.react.bridge.NativeModule
|
|
5
5
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
6
|
import com.facebook.react.uimanager.ViewManager
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class VerySDKPackage : ReactPackage {
|
|
9
9
|
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
|
|
10
|
-
return listOf(
|
|
10
|
+
return listOf(VerySDKModule(reactContext))
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Foundation
|
|
2
|
-
import
|
|
2
|
+
import VerySDK
|
|
3
3
|
|
|
4
|
-
@objc(
|
|
5
|
-
class
|
|
4
|
+
@objc(VerySDKRN)
|
|
5
|
+
class VerySDKRN: NSObject {
|
|
6
6
|
|
|
7
7
|
@objc static func requiresMainQueueSetup() -> Bool { return false }
|
|
8
8
|
|
|
@@ -33,7 +33,7 @@ class VeryMobileSDKRN: NSObject {
|
|
|
33
33
|
|
|
34
34
|
let style: VeryPresentationStyle = .modal
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
VerySDK.authenticate(from: rootVC, config: veryConfig, presentationStyle: style) { result in
|
|
37
37
|
var dict: [String: Any] = [
|
|
38
38
|
"code": result.code,
|
|
39
39
|
"userId": result.userId ?? "",
|
|
@@ -55,7 +55,7 @@ class VeryMobileSDKRN: NSObject {
|
|
|
55
55
|
|
|
56
56
|
@objc func isSupported(_ resolve: RCTPromiseResolveBlock,
|
|
57
57
|
rejecter reject: RCTPromiseRejectBlock) {
|
|
58
|
-
resolve(
|
|
58
|
+
resolve(VerySDK.isSupport())
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// MARK: - Helper
|
|
@@ -9,10 +9,10 @@ const LINKING_ERROR = `The package '@veryai/react-native-sdk' doesn't seem to be
|
|
|
9
9
|
ios: "- You have run 'pod install'\n",
|
|
10
10
|
default: ''
|
|
11
11
|
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
12
|
-
const
|
|
12
|
+
const VerySDKRN = _reactNative.NativeModules.VerySDKRN ? _reactNative.NativeModules.VerySDKRN : new Proxy({}, {
|
|
13
13
|
get() {
|
|
14
14
|
throw new Error(LINKING_ERROR);
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
var _default = exports.default =
|
|
18
|
-
//# sourceMappingURL=
|
|
17
|
+
var _default = exports.default = VerySDKRN;
|
|
18
|
+
//# sourceMappingURL=NativeVerySDK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","VerySDKRN","NativeModules","Proxy","get","Error","_default","exports"],"sourceRoot":"../../src","sources":["NativeVerySDK.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,mFAAmF,GACnFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,SAAS,GAAGC,0BAAa,CAACD,SAAS,GACrCC,0BAAa,CAACD,SAAS,GACvB,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAP,OAAA,GAOSC,SAAS","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
var
|
|
6
|
+
exports.VerySDK = void 0;
|
|
7
|
+
var _NativeVerySDK = _interopRequireDefault(require("./NativeVerySDK"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
const
|
|
9
|
+
const VerySDK = exports.VerySDK = {
|
|
10
10
|
async authenticate(config) {
|
|
11
|
-
const raw = await
|
|
11
|
+
const raw = await _NativeVerySDK.default.authenticate({
|
|
12
12
|
sdkKey: config.sdkKey,
|
|
13
13
|
userId: config.userId ?? null,
|
|
14
14
|
language: config.language ?? null,
|
|
@@ -26,7 +26,7 @@ const VeryMobileSDK = exports.VeryMobileSDK = {
|
|
|
26
26
|
};
|
|
27
27
|
},
|
|
28
28
|
async isSupported() {
|
|
29
|
-
return
|
|
29
|
+
return _NativeVerySDK.default.isSupported();
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_NativeVerySDK","_interopRequireDefault","require","e","__esModule","default","VerySDK","exports","authenticate","config","raw","NativeModule","sdkKey","userId","language","themeMode","baseUrl","presentationStyle","code","signedToken","undefined","error","errorMessage","isSuccess","isSupported"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA2C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAKpC,MAAMG,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG;EACrB,MAAME,YAAYA,CAACC,MAAkB,EAAuB;IAC1D,MAAMC,GAAG,GAAG,MAAMC,sBAAY,CAACH,YAAY,CAAC;MAC1CI,MAAM,EAAEH,MAAM,CAACG,MAAM;MACrBC,MAAM,EAAEJ,MAAM,CAACI,MAAM,IAAI,IAAI;MAC7BC,QAAQ,EAAEL,MAAM,CAACK,QAAQ,IAAI,IAAI;MACjCC,SAAS,EAAEN,MAAM,CAACM,SAAS,IAAI,MAAM;MACrCC,OAAO,EAAEP,MAAM,CAACO,OAAO,IAAI,IAAI;MAC/BC,iBAAiB,EAAER,MAAM,CAACQ,iBAAiB,IAAI;IACjD,CAAC,CAAC;IACF,OAAO;MACLC,IAAI,EAAER,GAAG,CAACQ,IAAc;MACxBL,MAAM,EAAEH,GAAG,CAACG,MAAgB;MAC5BM,WAAW,EAAGT,GAAG,CAACS,WAAW,IAAeC,SAAS;MACrDC,KAAK,EAAGX,GAAG,CAACW,KAAK,IAAeD,SAAS;MACzCE,YAAY,EAAGZ,GAAG,CAACY,YAAY,IAAeF,SAAS;MACvDG,SAAS,EAAEb,GAAG,CAACa;IACjB,CAAC;EACH,CAAC;EAED,MAAMC,WAAWA,CAAA,EAAqB;IACpC,OAAOb,sBAAY,CAACa,WAAW,CAAC,CAAC;EACnC;AACF,CAAC","ignoreList":[]}
|
|
@@ -3,10 +3,10 @@ const LINKING_ERROR = `The package '@veryai/react-native-sdk' doesn't seem to be
|
|
|
3
3
|
ios: "- You have run 'pod install'\n",
|
|
4
4
|
default: ''
|
|
5
5
|
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
6
|
-
const
|
|
6
|
+
const VerySDKRN = NativeModules.VerySDKRN ? NativeModules.VerySDKRN : new Proxy({}, {
|
|
7
7
|
get() {
|
|
8
8
|
throw new Error(LINKING_ERROR);
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
export default
|
|
12
|
-
//# sourceMappingURL=
|
|
11
|
+
export default VerySDKRN;
|
|
12
|
+
//# sourceMappingURL=NativeVerySDK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","VerySDKRN","Proxy","get","Error"],"sourceRoot":"../../src","sources":["NativeVerySDK.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,MAAMC,aAAa,GACjB,mFAAmF,GACnFD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,SAAS,GAAGN,aAAa,CAACM,SAAS,GACrCN,aAAa,CAACM,SAAS,GACvB,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAOL,eAAeI,SAAS","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModule","
|
|
1
|
+
{"version":3,"names":["NativeModule","VerySDK","authenticate","config","raw","sdkKey","userId","language","themeMode","baseUrl","presentationStyle","code","signedToken","undefined","error","errorMessage","isSuccess","isSupported"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,OAAOA,YAAY,MAAM,iBAAiB;AAK1C,OAAO,MAAMC,OAAO,GAAG;EACrB,MAAMC,YAAYA,CAACC,MAAkB,EAAuB;IAC1D,MAAMC,GAAG,GAAG,MAAMJ,YAAY,CAACE,YAAY,CAAC;MAC1CG,MAAM,EAAEF,MAAM,CAACE,MAAM;MACrBC,MAAM,EAAEH,MAAM,CAACG,MAAM,IAAI,IAAI;MAC7BC,QAAQ,EAAEJ,MAAM,CAACI,QAAQ,IAAI,IAAI;MACjCC,SAAS,EAAEL,MAAM,CAACK,SAAS,IAAI,MAAM;MACrCC,OAAO,EAAEN,MAAM,CAACM,OAAO,IAAI,IAAI;MAC/BC,iBAAiB,EAAEP,MAAM,CAACO,iBAAiB,IAAI;IACjD,CAAC,CAAC;IACF,OAAO;MACLC,IAAI,EAAEP,GAAG,CAACO,IAAc;MACxBL,MAAM,EAAEF,GAAG,CAACE,MAAgB;MAC5BM,WAAW,EAAGR,GAAG,CAACQ,WAAW,IAAeC,SAAS;MACrDC,KAAK,EAAGV,GAAG,CAACU,KAAK,IAAeD,SAAS;MACzCE,YAAY,EAAGX,GAAG,CAACW,YAAY,IAAeF,SAAS;MACvDG,SAAS,EAAEZ,GAAG,CAACY;IACjB,CAAC;EACH,CAAC;EAED,MAAMC,WAAWA,CAAA,EAAqB;IACpC,OAAOjB,YAAY,CAACiB,WAAW,CAAC,CAAC;EACnC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface NativeVerySDKSpec {
|
|
2
2
|
authenticate(config: Record<string, any>): Promise<Record<string, any>>;
|
|
3
3
|
isSupported(): Promise<boolean>;
|
|
4
4
|
}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: NativeVerySDKSpec;
|
|
6
6
|
export default _default;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=NativeVerySDK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeVerySDK.d.ts","sourceRoot":"","sources":["../../src/NativeVerySDK.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACxE,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACjC;wBAE2B,iBAAiB;AAA7C,wBAA8C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEtD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAEvC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEtD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAEvC,eAAO,MAAM,OAAO;yBACS,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;mBAmBtC,OAAO,CAAC,OAAO,CAAC;CAGtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryai/react-native-sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "React Native wrapper for Very
|
|
3
|
+
"version": "1.0.20",
|
|
4
|
+
"description": "React Native wrapper for Very SDK - Palm biometrics verification",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
7
|
"types": "lib/typescript/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"verification",
|
|
30
30
|
"very"
|
|
31
31
|
],
|
|
32
|
-
"repository": "https://github.com/veroslabs/very-
|
|
32
|
+
"repository": "https://github.com/veroslabs/very-sdk",
|
|
33
33
|
"author": "Very Mobile Inc.",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"peerDependencies": {
|
|
@@ -6,8 +6,8 @@ const LINKING_ERROR =
|
|
|
6
6
|
'- You rebuilt the app after installing the package\n' +
|
|
7
7
|
'- You are not using Expo Go\n';
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
? NativeModules.
|
|
9
|
+
const VerySDKRN = NativeModules.VerySDKRN
|
|
10
|
+
? NativeModules.VerySDKRN
|
|
11
11
|
: new Proxy(
|
|
12
12
|
{},
|
|
13
13
|
{
|
|
@@ -17,9 +17,9 @@ const VeryMobileSDKRN = NativeModules.VeryMobileSDKRN
|
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface NativeVerySDKSpec {
|
|
21
21
|
authenticate(config: Record<string, any>): Promise<Record<string, any>>;
|
|
22
22
|
isSupported(): Promise<boolean>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export default
|
|
25
|
+
export default VerySDKRN as NativeVerySDKSpec;
|
package/src/index.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import NativeModule from './
|
|
1
|
+
import NativeModule from './NativeVerySDK';
|
|
2
2
|
import type { VeryConfig, VeryResult } from './types';
|
|
3
3
|
|
|
4
4
|
export type { VeryConfig, VeryResult };
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const VerySDK = {
|
|
7
7
|
async authenticate(config: VeryConfig): Promise<VeryResult> {
|
|
8
8
|
const raw = await NativeModule.authenticate({
|
|
9
9
|
sdkKey: config.sdkKey,
|
|
@@ -8,11 +8,11 @@ Pod::Spec.new do |s|
|
|
|
8
8
|
s.homepage = "https://very.org"
|
|
9
9
|
s.license = "MIT"
|
|
10
10
|
s.author = { "Very Mobile Inc." => "mail@very.org" }
|
|
11
|
-
s.source = { :git => "https://github.com/veroslabs/very-
|
|
11
|
+
s.source = { :git => "https://github.com/veroslabs/very-sdk.git", :tag => s.version }
|
|
12
12
|
s.platform = :ios, "13.0"
|
|
13
13
|
|
|
14
14
|
s.source_files = "ios/**/*.{swift,h,m}"
|
|
15
15
|
s.dependency "React-Core"
|
|
16
|
-
s.dependency "
|
|
16
|
+
s.dependency "VerySDK", "1.0.20"
|
|
17
17
|
s.swift_version = "5.0"
|
|
18
18
|
end
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","VeryMobileSDKRN","NativeModules","Proxy","get","Error","_default","exports"],"sourceRoot":"../../src","sources":["NativeVeryMobileSDK.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,mFAAmF,GACnFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,eAAe,GAAGC,0BAAa,CAACD,eAAe,GACjDC,0BAAa,CAACD,eAAe,GAC7B,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAP,OAAA,GAOSC,eAAe","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","VeryMobileSDKRN","Proxy","get","Error"],"sourceRoot":"../../src","sources":["NativeVeryMobileSDK.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,MAAMC,aAAa,GACjB,mFAAmF,GACnFD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,eAAe,GAAGN,aAAa,CAACM,eAAe,GACjDN,aAAa,CAACM,eAAe,GAC7B,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAOL,eAAeI,eAAe","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeVeryMobileSDK.d.ts","sourceRoot":"","sources":["../../src/NativeVeryMobileSDK.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,uBAAuB;IACtC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACxE,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACjC;wBAEiC,uBAAuB;AAAzD,wBAA0D"}
|