@finos_sdk/sdk-ekyc 0.0.19 → 0.0.22

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.
@@ -0,0 +1,38 @@
1
+ plugins {
2
+ id "com.android.library"
3
+ id "org.jetbrains.kotlin.android"
4
+ }
5
+
6
+ android {
7
+ namespace "com.sdkekycrn"
8
+ compileSdkVersion 35
9
+
10
+ defaultConfig {
11
+ minSdkVersion 24
12
+ targetSdkVersion 34
13
+ consumerProguardFiles "consumer-rules.pro"
14
+ }
15
+
16
+ buildFeatures {
17
+ buildConfig false
18
+ }
19
+ }
20
+
21
+ repositories {
22
+ google()
23
+ mavenCentral()
24
+ mavenLocal()
25
+ maven {
26
+ url "https://maven.pkg.github.com/vnfinosdevops/finos.ekyc.sdk.android"
27
+ credentials {
28
+ username = project.findProperty("gpr.user") ?: System.getenv("GPR_USER")
29
+ password = project.findProperty("gpr.key") ?: System.getenv("GPR_KEY")
30
+ }
31
+ }
32
+ }
33
+
34
+ dependencies {
35
+ implementation("com.facebook.react:react-android")
36
+ implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.25")
37
+ implementation("finos.sdk.ekyc:ekyc:1.1.9")
38
+ }
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.sdkekycrn">
4
+
5
+ <!-- Library manifest. No application/components are required here. -->
6
+
7
+ </manifest>
8
+
9
+
@@ -0,0 +1,3 @@
1
+ // ... existing code ...
2
+
3
+
@@ -0,0 +1,21 @@
1
+ package com.sdkekycrn
2
+
3
+ import com.facebook.react.ReactPackage
4
+ import com.facebook.react.bridge.NativeModule
5
+ import com.facebook.react.bridge.ReactApplicationContext
6
+ import com.facebook.react.uimanager.ViewManager
7
+
8
+ class EKYCPackage : ReactPackage {
9
+
10
+ override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
11
+ return listOf(EKYCModule(reactContext))
12
+ }
13
+
14
+ override fun createViewManagers(
15
+ reactContext: ReactApplicationContext
16
+ ): List<ViewManager<*, *>> {
17
+ return emptyList()
18
+ }
19
+ }
20
+
21
+
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@finos_sdk/sdk-ekyc",
3
- "version": "0.0.19",
3
+ "version": "0.0.22",
4
4
  "description": "SDK React Native EKYC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
- "dist"
8
+ "dist",
9
+ "react-native.config.js",
10
+ "android/src",
11
+ "android/build.gradle",
12
+ "android/src/main/AndroidManifest.xml"
9
13
  ],
10
14
  "repository": {
11
15
  "type": "git",
@@ -18,9 +22,10 @@
18
22
  },
19
23
  "homepage": "https://github.com/finos/sdk-ekyc#readme",
20
24
  "keywords": [
21
- "react-native",
25
+ "finos-sdk",
22
26
  "ekyc",
23
- "sdk"
27
+ "sdk",
28
+ "finos"
24
29
  ],
25
30
  "scripts": {
26
31
  "android": "react-native run-android",
@@ -30,6 +35,7 @@
30
35
  "npm-install": "npm install",
31
36
  "build": "tsc",
32
37
  "prepare": "npm run build",
38
+ "pulish-sdk-local": "npm run build && npm publish --access public",
33
39
  "pulish-sdk": "npm run build && npm version patch --force && npm publish --access public"
34
40
  },
35
41
  "dependencies": {
@@ -0,0 +1,12 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ android: {
5
+ sourceDir: 'android',
6
+ },
7
+ ios: null,
8
+ },
9
+ },
10
+ };
11
+
12
+