@blueid/access-react-native 1.74.0 → 1.77.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.
Files changed (51) hide show
  1. package/android/build.gradle +19 -0
  2. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar +0 -0
  3. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.asc +7 -0
  4. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.asc.md5 +1 -0
  5. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.asc.sha1 +1 -0
  6. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.asc.sha256 +1 -0
  7. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.asc.sha512 +1 -0
  8. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.md5 +1 -0
  9. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.sha1 +1 -0
  10. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.sha256 +1 -0
  11. package/android/sdklib/com/blue-id/access/1.77/access-1.77.aar.sha512 +1 -0
  12. package/android/sdklib/com/blue-id/access/{1.74/access-1.74.module → 1.77/access-1.77.module} +43 -36
  13. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.asc +7 -0
  14. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.asc.md5 +1 -0
  15. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.asc.sha1 +1 -0
  16. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.asc.sha256 +1 -0
  17. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.asc.sha512 +1 -0
  18. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.md5 +1 -0
  19. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.sha1 +1 -0
  20. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.sha256 +1 -0
  21. package/android/sdklib/com/blue-id/access/1.77/access-1.77.module.sha512 +1 -0
  22. package/android/sdklib/com/blue-id/access/{1.74/access-1.74.pom → 1.77/access-1.77.pom} +34 -2
  23. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.asc +7 -0
  24. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.asc.md5 +1 -0
  25. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.asc.sha1 +1 -0
  26. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.asc.sha256 +1 -0
  27. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.asc.sha512 +1 -0
  28. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.md5 +1 -0
  29. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.sha1 +1 -0
  30. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.sha256 +1 -0
  31. package/android/sdklib/com/blue-id/access/1.77/access-1.77.pom.sha512 +1 -0
  32. package/android/sdklib/com/blue-id/access/maven-metadata.xml +4 -4
  33. package/android/sdklib/com/blue-id/access/maven-metadata.xml.md5 +1 -1
  34. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha1 +1 -1
  35. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha256 +1 -1
  36. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha512 +1 -1
  37. package/android/src/main/java/com/blueid/access/BlueIDAccessModule.kt +11 -7
  38. package/package.json +1 -1
  39. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar +0 -0
  40. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.md5 +0 -1
  41. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha1 +0 -1
  42. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha256 +0 -1
  43. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha512 +0 -1
  44. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.md5 +0 -1
  45. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha1 +0 -1
  46. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha256 +0 -1
  47. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha512 +0 -1
  48. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.md5 +0 -1
  49. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.sha1 +0 -1
  50. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.sha256 +0 -1
  51. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.sha512 +0 -1
@@ -21,6 +21,14 @@ def isNewArchitectureEnabled() {
21
21
  apply plugin: "com.android.library"
22
22
  apply plugin: "kotlin-android"
23
23
 
24
+ def BLUE_SDK_ENVIRONMENT = "BLUE_SDK_ENVIRONMENT"
25
+
26
+ def dev = "development"
27
+
28
+
29
+ // This is config variable to access BLUE_SDK_ENVIRONMENT
30
+ var BLUE_ENVIRONMENT = dev
31
+
24
32
  if (isNewArchitectureEnabled()) {
25
33
  apply plugin: "com.facebook.react"
26
34
  }
@@ -60,6 +68,17 @@ android {
60
68
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
61
69
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
62
70
 
71
+
72
+ if (project.hasProperty(BLUE_SDK_ENVIRONMENT)) {
73
+ BLUE_ENVIRONMENT = project.properties[BLUE_SDK_ENVIRONMENT].toString()
74
+ } else if (System.getProperty(BLUE_SDK_ENVIRONMENT) != null) { // for CI e.g ./gradlew clean assembleDebug -DBLUE_SDK_ENVIRONMENT=production
75
+ BLUE_ENVIRONMENT = System.getProperty(BLUE_SDK_ENVIRONMENT)
76
+ } else if (System.getenv(BLUE_SDK_ENVIRONMENT) != null) {
77
+ BLUE_ENVIRONMENT = System.getenv(BLUE_SDK_ENVIRONMENT)
78
+ }
79
+
80
+ buildConfigField("String", BLUE_SDK_ENVIRONMENT, "\"${BLUE_ENVIRONMENT}\"")
81
+
63
82
  }
64
83
 
65
84
  buildFeatures {
@@ -0,0 +1,7 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.68
3
+
4
+ iF4EABYKAAYFAmaO/tIACgkQI6iaf4hmctDj3QD+P9M8hrMlsKuRGhL60qH6q5KJ
5
+ jYcB6msxaqmBUnyPDKkBAK2RpibIbC6NW+0ouFgKdLuciK0jGLsExtO6vt2OJwgE
6
+ =N7EU
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ 33a74abe1553767e6bb9260313960ed1
@@ -0,0 +1 @@
1
+ 34072661d6c094aa120c8170bde50bb6acc05ae0
@@ -0,0 +1 @@
1
+ 5c40b579802f2b2f16cfebe16978aea0e3472b0f5f8b083fc233458f523ee85c
@@ -0,0 +1 @@
1
+ 62d27521b8951fde7b5227be3b4aa4519d4fcae880934af079047948212e11736629bb8bd99b94b10978e918efd5158bbe7a039587b5d8abda721b3073865747
@@ -0,0 +1 @@
1
+ fea38902e559d222538df285dfc14860
@@ -0,0 +1 @@
1
+ 5c953974f4505e62ba5f2dd1cb80445ee3a3ab39
@@ -0,0 +1 @@
1
+ d1e37e01f7f012e5e00f220d1974814231897048ef6c5088ae1ac8f929e55f0c
@@ -0,0 +1 @@
1
+ c70f626f486547890cb05ae20ee7e4de51abfa3a5418e9619d881fe3eb60446c5298c5396643a529facd86a47c66e006dee5fef35411e6ef37f27d38e24c5e7a
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.blue-id",
5
5
  "module": "access",
6
- "version": "1.74",
6
+ "version": "1.77",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -15,11 +15,12 @@
15
15
  },
16
16
  "variants": [
17
17
  {
18
- "name": "releaseApiElements-published",
18
+ "name": "releaseVariantReleaseApiPublication",
19
19
  "attributes": {
20
20
  "org.gradle.category": "library",
21
- "org.gradle.usage": "java-api",
22
- "org.jetbrains.kotlin.platform.type": "androidJvm"
21
+ "org.gradle.dependency.bundling": "external",
22
+ "org.gradle.libraryelements": "aar",
23
+ "org.gradle.usage": "java-api"
23
24
  },
24
25
  "dependencies": [
25
26
  {
@@ -32,29 +33,30 @@
32
33
  ],
33
34
  "files": [
34
35
  {
35
- "name": "access-1.74.aar",
36
- "url": "access-1.74.aar",
37
- "size": 2669878,
38
- "sha512": "78832f38c5fff2ad0ab12684346708be38bfe7cf7b576e28f928baf010c32221506b33b98a0f618ac8d97a30163116da471ff3eff628c7f0f1e328d110e7fe75",
39
- "sha256": "026eb45e080f92188e26e32323fbfb37ae03d24df02b04598fbb193b499f953e",
40
- "sha1": "433a1a612c9be0102c32dcbfc10af0b18da901b3",
41
- "md5": "29d00e294a2cd7bfcdb8838577a9da75"
36
+ "name": "access-1.77.aar",
37
+ "url": "access-1.77.aar",
38
+ "size": 2769251,
39
+ "sha512": "c70f626f486547890cb05ae20ee7e4de51abfa3a5418e9619d881fe3eb60446c5298c5396643a529facd86a47c66e006dee5fef35411e6ef37f27d38e24c5e7a",
40
+ "sha256": "d1e37e01f7f012e5e00f220d1974814231897048ef6c5088ae1ac8f929e55f0c",
41
+ "sha1": "5c953974f4505e62ba5f2dd1cb80445ee3a3ab39",
42
+ "md5": "fea38902e559d222538df285dfc14860"
42
43
  }
43
44
  ]
44
45
  },
45
46
  {
46
- "name": "releaseRuntimeElements-published",
47
+ "name": "releaseVariantReleaseRuntimePublication",
47
48
  "attributes": {
48
49
  "org.gradle.category": "library",
49
- "org.gradle.usage": "java-runtime",
50
- "org.jetbrains.kotlin.platform.type": "androidJvm"
50
+ "org.gradle.dependency.bundling": "external",
51
+ "org.gradle.libraryelements": "aar",
52
+ "org.gradle.usage": "java-runtime"
51
53
  },
52
54
  "dependencies": [
53
55
  {
54
56
  "group": "androidx.compose",
55
57
  "module": "compose-bom",
56
58
  "version": {
57
- "requires": "2024.05.00"
59
+ "requires": "2024.06.00"
58
60
  },
59
61
  "attributes": {
60
62
  "org.gradle.category": "platform"
@@ -77,15 +79,24 @@
77
79
  },
78
80
  {
79
81
  "group": "androidx.compose.ui",
80
- "module": "ui"
82
+ "module": "ui",
83
+ "version": {
84
+ "requires": "1.6.8"
85
+ }
81
86
  },
82
87
  {
83
88
  "group": "androidx.compose.ui",
84
- "module": "ui-graphics"
89
+ "module": "ui-graphics",
90
+ "version": {
91
+ "requires": "1.6.8"
92
+ }
85
93
  },
86
94
  {
87
95
  "group": "androidx.compose.ui",
88
- "module": "ui-tooling-preview"
96
+ "module": "ui-tooling-preview",
97
+ "version": {
98
+ "requires": "1.6.8"
99
+ }
89
100
  },
90
101
  {
91
102
  "group": "androidx.lifecycle",
@@ -241,6 +252,13 @@
241
252
  "requires": "2.7.0"
242
253
  }
243
254
  },
255
+ {
256
+ "group": "io.sentry",
257
+ "module": "sentry-android",
258
+ "version": {
259
+ "requires": "7.10.0"
260
+ }
261
+ },
244
262
  {
245
263
  "group": "androidx.work",
246
264
  "module": "work-runtime",
@@ -293,26 +311,15 @@
293
311
  ],
294
312
  "files": [
295
313
  {
296
- "name": "access-1.74.aar",
297
- "url": "access-1.74.aar",
298
- "size": 2669878,
299
- "sha512": "78832f38c5fff2ad0ab12684346708be38bfe7cf7b576e28f928baf010c32221506b33b98a0f618ac8d97a30163116da471ff3eff628c7f0f1e328d110e7fe75",
300
- "sha256": "026eb45e080f92188e26e32323fbfb37ae03d24df02b04598fbb193b499f953e",
301
- "sha1": "433a1a612c9be0102c32dcbfc10af0b18da901b3",
302
- "md5": "29d00e294a2cd7bfcdb8838577a9da75"
314
+ "name": "access-1.77.aar",
315
+ "url": "access-1.77.aar",
316
+ "size": 2769251,
317
+ "sha512": "c70f626f486547890cb05ae20ee7e4de51abfa3a5418e9619d881fe3eb60446c5298c5396643a529facd86a47c66e006dee5fef35411e6ef37f27d38e24c5e7a",
318
+ "sha256": "d1e37e01f7f012e5e00f220d1974814231897048ef6c5088ae1ac8f929e55f0c",
319
+ "sha1": "5c953974f4505e62ba5f2dd1cb80445ee3a3ab39",
320
+ "md5": "fea38902e559d222538df285dfc14860"
303
321
  }
304
322
  ]
305
- },
306
- {
307
- "name": "releaseSourcesElements-published",
308
- "attributes": {
309
- "org.gradle.category": "documentation",
310
- "org.gradle.dependency.bundling": "external",
311
- "org.gradle.docstype": "sources",
312
- "org.gradle.libraryelements": "jar",
313
- "org.gradle.usage": "java-runtime",
314
- "org.jetbrains.kotlin.platform.type": "androidJvm"
315
- }
316
323
  }
317
324
  ]
318
325
  }
@@ -0,0 +1,7 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.68
3
+
4
+ iF4EABYKAAYFAmaO/tIACgkQI6iaf4hmctCkSgEAiyXauDa5JB2zqE8dO+0A2E+R
5
+ V3MM2m7h6nUY0LzoT1wBALAYTOHC24zUvZ+9SUdPoOCNBNNd2iZQUimu3/TcthcF
6
+ =xPbh
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ b79b0bf8d9683eeaa0fc042262093a3c
@@ -0,0 +1 @@
1
+ 27c942d0e1995c94903e5d5e517d4829bfa32731
@@ -0,0 +1 @@
1
+ 3e93b1f9d342c356663cc85d28b7d63ca4a640658a7e51ea73ee43f76b643545
@@ -0,0 +1 @@
1
+ 1808172f2be6dc3978ff25245a2830e1d66c39f297f1ab7b5739586e3da484db8a46974d55c1aa0f8b43e825539d285f2e2c73ee0571ed14204fc283c1a32b0f
@@ -0,0 +1 @@
1
+ 230976963955fb1cdb57fb4f0ee29d70
@@ -0,0 +1 @@
1
+ 1ee733f1d966349be4ba5f5dce940f03cadccdf9
@@ -0,0 +1 @@
1
+ f32f02df43a99c88a8ec34d780ccbd10b67cf1b6e77723086de2738b02307d3a
@@ -0,0 +1 @@
1
+ 4185eed81d4f8a2bebf78351f71cd71135890df0149dd84d4f5ab4c6cbbe68c7e78bd6c3e839254799ba3d4809cf54de1b67385e4129e2fe029f16734587f820
@@ -9,14 +9,37 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>com.blue-id</groupId>
11
11
  <artifactId>access</artifactId>
12
- <version>1.74</version>
12
+ <version>1.77</version>
13
13
  <packaging>aar</packaging>
14
+ <name>BlueID Access SDK</name>
15
+ <description>Access SDK to communicate with BlueID Access Devices</description>
16
+ <url>https://github.com/blueidhq/BlueIDAccessSDKAndroid.git</url>
17
+ <inceptionYear>2024</inceptionYear>
18
+ <licenses>
19
+ <license>
20
+ <name>Proprietary Software License</name>
21
+ <url>https://www.blue-id.com/de/datenschutz</url>
22
+ <distribution>https://www.blue-id.com/de/datenschutz</distribution>
23
+ </license>
24
+ </licenses>
25
+ <developers>
26
+ <developer>
27
+ <id>BlueIDAdmin</id>
28
+ <name>BlueIDAdmin</name>
29
+ <url>https://github.com/BlueIDAdmin</url>
30
+ </developer>
31
+ </developers>
32
+ <scm>
33
+ <connection>scm:git:git://github.com/blueidhq/BlueIDAccessSDKAndroid.git</connection>
34
+ <developerConnection>scm:git:ssh://git@github.com/blueidhq/BlueIDAccessSDKAndroid.git</developerConnection>
35
+ <url>https://github.com/blueidhq/BlueIDAccessSDKAndroid</url>
36
+ </scm>
14
37
  <dependencyManagement>
15
38
  <dependencies>
16
39
  <dependency>
17
40
  <groupId>androidx.compose</groupId>
18
41
  <artifactId>compose-bom</artifactId>
19
- <version>2024.05.00</version>
42
+ <version>2024.06.00</version>
20
43
  <type>pom</type>
21
44
  <scope>import</scope>
22
45
  </dependency>
@@ -44,16 +67,19 @@
44
67
  <dependency>
45
68
  <groupId>androidx.compose.ui</groupId>
46
69
  <artifactId>ui</artifactId>
70
+ <version>1.6.8</version>
47
71
  <scope>runtime</scope>
48
72
  </dependency>
49
73
  <dependency>
50
74
  <groupId>androidx.compose.ui</groupId>
51
75
  <artifactId>ui-graphics</artifactId>
76
+ <version>1.6.8</version>
52
77
  <scope>runtime</scope>
53
78
  </dependency>
54
79
  <dependency>
55
80
  <groupId>androidx.compose.ui</groupId>
56
81
  <artifactId>ui-tooling-preview</artifactId>
82
+ <version>1.6.8</version>
57
83
  <scope>runtime</scope>
58
84
  </dependency>
59
85
  <dependency>
@@ -188,6 +214,12 @@
188
214
  <version>2.7.0</version>
189
215
  <scope>runtime</scope>
190
216
  </dependency>
217
+ <dependency>
218
+ <groupId>io.sentry</groupId>
219
+ <artifactId>sentry-android</artifactId>
220
+ <version>7.10.0</version>
221
+ <scope>runtime</scope>
222
+ </dependency>
191
223
  <dependency>
192
224
  <groupId>androidx.work</groupId>
193
225
  <artifactId>work-runtime</artifactId>
@@ -0,0 +1,7 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.68
3
+
4
+ iF4EABYKAAYFAmaO/tIACgkQI6iaf4hmctCNswD/SBVdIat2eU+1pXKvqPHIoO0h
5
+ FrmxSqfT3wEpwimorWwA/1dP17cGy/c48iw27wdlfjgPg3EzSYEZXTxUdiKkak0J
6
+ =zBXv
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ 34e3c01d804abf5aff57844fe13f22dd
@@ -0,0 +1 @@
1
+ 8edfacd5cf9985cd87beb3ddf3d5a099d9f17877
@@ -0,0 +1 @@
1
+ dec7f8c95e1fda1485002ba59b4cf16c5b71e7fe135aa210d26697f1bb1ea74b
@@ -0,0 +1 @@
1
+ 83a14650aaf40db56c90edbe7fcb48626207bb0a021dbe648e160fbf6cdb970bdfa9d5f3876c33e7561bda42a7f53af72c443d24a23d7a3fd4683551c474d543
@@ -0,0 +1 @@
1
+ 71ed34a579d576b333da4d0b3fa8c935
@@ -0,0 +1 @@
1
+ 0347d52cf58f0740268315a712d4228f24b34984
@@ -0,0 +1 @@
1
+ 664fb03b05378f89c1d1f31d377b70833d3c44a5da15b8a671e5f300a93e4296
@@ -0,0 +1 @@
1
+ 61ca657cde364b2b0cf6799cd2005f300d43dca20d8fc39d49707b03084dd1ba1b1cc868e795f3696ffb906313de602b9dc5c6c0bedf3690f8a67eeb53b8aa5b
@@ -3,11 +3,11 @@
3
3
  <groupId>com.blue-id</groupId>
4
4
  <artifactId>access</artifactId>
5
5
  <versioning>
6
- <latest>1.74</latest>
7
- <release>1.74</release>
6
+ <latest>1.77</latest>
7
+ <release>1.77</release>
8
8
  <versions>
9
- <version>1.74</version>
9
+ <version>1.77</version>
10
10
  </versions>
11
- <lastUpdated>20240625181521</lastUpdated>
11
+ <lastUpdated>20240710213618</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- e4e7ab83b5b5bc26b3b40ebf915dc501
1
+ 3957596ecc2332fbc2711d1232c25058
@@ -1 +1 @@
1
- 9127fd3a4ae2324e44bbfcd473ec06c1c1e2ba39
1
+ 720ff0b539f05e7ecf5a45c269db90460e2cd4e3
@@ -1 +1 @@
1
- fc210b8fb04ec633c50efe38b770b562ab72cf8a42ea7ca8032075d8b312bce8
1
+ 85bf9e687cc8a0e899d6711ed4ee9aeccfc3ee162b06ecd8c545fb8d0c1c0127
@@ -1 +1 @@
1
- b53e448ae1b2324aac2b9d64c2884db1844427dfed7264ebf4271b599db0606fd3a8045f253be024f691230cfb5c183750505dafd134a296c3a1c44401072290
1
+ c825e4f24f925098f5aeaf732cbbe49a83bb45d6cac6f444504ccacd3796071802f27503ae9360871ee265ac940d61309e1728f11cabbb2340b60887432f7991
@@ -6,6 +6,8 @@ import androidx.appcompat.app.AppCompatActivity
6
6
  import blueid.access.sdk.BluePlugin
7
7
  import blueid.access.sdk.BluePluginDelegate
8
8
  import blueid.access.sdk.Sdk
9
+ import blueid.access.sdk.EnvironmentConfig
10
+ import blueid.access.sdk.BlueEnvironment
9
11
  import com.facebook.react.bridge.Arguments
10
12
  import com.facebook.react.bridge.Promise
11
13
  import com.facebook.react.bridge.ReactApplicationContext
@@ -22,20 +24,22 @@ class BlueIDAccessModule internal constructor(private val context: ReactApplicat
22
24
  }
23
25
 
24
26
  private val plugin: BluePlugin
25
- private val sdk: Sdk
27
+ private var sdk: Sdk
26
28
 
27
29
  init {
28
- val appInstance: Application = context.applicationContext as Application
30
+ val application: Application = context.applicationContext as Application
29
31
  val activity: AppCompatActivity = currentActivity as AppCompatActivity
30
32
 
31
33
  plugin = BluePlugin(this)
32
34
  sdk = Sdk
35
+ initSdkBasedOnConfig(application, activity)
36
+ }
33
37
 
34
- if (BuildConfig.DEBUG) {
35
- sdk.initDev(appInstance, activity);
36
- } else {
37
- sdk.initProd(appInstance, activity);
38
- }
38
+ private fun initSdkBasedOnConfig(application: Application, activity: AppCompatActivity) {
39
+ val config: EnvironmentConfig =
40
+ BlueEnvironment.getEnvironmentType(BuildConfig.BLUE_SDK_ENVIRONMENT)
41
+
42
+ Sdk.init(application, config, activity)
39
43
  }
40
44
 
41
45
  override fun getName(): String {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-react-native",
3
- "version": "1.74.0",
3
+ "version": "1.77.0",
4
4
  "description": "React Native JS plugin for the BlueID Access SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1 +0,0 @@
1
- 29d00e294a2cd7bfcdb8838577a9da75
@@ -1 +0,0 @@
1
- 433a1a612c9be0102c32dcbfc10af0b18da901b3
@@ -1 +0,0 @@
1
- 026eb45e080f92188e26e32323fbfb37ae03d24df02b04598fbb193b499f953e
@@ -1 +0,0 @@
1
- 78832f38c5fff2ad0ab12684346708be38bfe7cf7b576e28f928baf010c32221506b33b98a0f618ac8d97a30163116da471ff3eff628c7f0f1e328d110e7fe75
@@ -1 +0,0 @@
1
- 8a98fad40b9dbf8587b9436e429290d9
@@ -1 +0,0 @@
1
- c592fb6cfc7fa27c108dd262cf50a4d64e2b500a
@@ -1 +0,0 @@
1
- adc7ba96dad979fe1ed2e9872883d23ae5792104c3908b89dfc6bac55503739c
@@ -1 +0,0 @@
1
- 581bc53ed35159963d4ebcef9ca5cdd597e2a996ca3846d58b8a50893385729686c035cb0be279a091b4a5ba8746b6dcd7ad593b2c2a4b91aac9c427a4b4e33d
@@ -1 +0,0 @@
1
- a7d9a41334a863fbe0016b656b0280cf
@@ -1 +0,0 @@
1
- d2d7215da5d2c6a61130bf4bf11a57a117a5b58e
@@ -1 +0,0 @@
1
- ccd856120ed8f2284d6470c2c405d2ab115099ef6877f7ab222979e652c12024
@@ -1 +0,0 @@
1
- 413e149fb366bc350578977a67dec1e0cd94067e5648d78e6e1b88bc79e8d5289c5fa2f66ac32fc7c2ea6752da125edbef626839250fe922079e60a58d7642f5