@blueid/access-capacitor 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 +21 -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/plugins/capacitor/BlueIDAccess.java +12 -28
  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
@@ -17,6 +17,14 @@ buildscript {
17
17
 
18
18
  apply plugin: 'com.android.library'
19
19
 
20
+ def BLUE_SDK_ENVIRONMENT = "BLUE_SDK_ENVIRONMENT"
21
+
22
+ def dev = "development"
23
+
24
+
25
+ // This is config variable to access BLUE_SDK_ENVIRONMENT
26
+ var BLUE_ENVIRONMENT = dev
27
+
20
28
  android {
21
29
  namespace "com.blueid.access.plugins.capacitor"
22
30
  compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
@@ -26,6 +34,19 @@ android {
26
34
  }
27
35
 
28
36
  defaultConfig {
37
+
38
+ if (project.hasProperty(BLUE_SDK_ENVIRONMENT)) {
39
+ BLUE_ENVIRONMENT = project.properties[BLUE_SDK_ENVIRONMENT].toString()
40
+ } else if (System.getProperty(BLUE_SDK_ENVIRONMENT) != null) { // for CI e.g ./gradlew clean assembleDebug -DBLUE_SDK_ENVIRONMENT=production
41
+ BLUE_ENVIRONMENT = System.getProperty(BLUE_SDK_ENVIRONMENT)
42
+ } else if (System.getenv(BLUE_SDK_ENVIRONMENT) != null) {
43
+ BLUE_ENVIRONMENT = System.getenv(BLUE_SDK_ENVIRONMENT)
44
+ }
45
+
46
+ buildConfigField("String", BLUE_SDK_ENVIRONMENT, "\"${BLUE_ENVIRONMENT}\"")
47
+
48
+
49
+
29
50
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 30
30
51
  targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
31
52
  versionCode 1
@@ -0,0 +1,7 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.68
3
+
4
+ iF4EABYKAAYFAmaO/T0ACgkQI6iaf4hmctB+kgEArpKOl25aojXqsVDWC7xdvttB
5
+ OynAOfj1f48TXFNq394BAKO0Vm6MlY8fpMnSnBzGelcazuuITDToSGlP2HM3CJ8P
6
+ =Dv7p
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ 5e70b6de0f0ef3f9b94b1d4e65f38bfb
@@ -0,0 +1 @@
1
+ 6bd9b5c3d10d5fca70571a9b56cb894b1971a496
@@ -0,0 +1 @@
1
+ 17936501829ea60837e081c018a260f6b51593aa36d51036b884fcdf0c200fdd
@@ -0,0 +1 @@
1
+ bdd53ada250cd8105970614e5ae0987308845e62dfd7624fa84f7c9b5bdcbdc08afc05d689ddad6cb1118358b68882debffbc5c31112519bf5e9d41f687dd028
@@ -0,0 +1 @@
1
+ 93eacba00d25a834efede550a60f3926
@@ -0,0 +1 @@
1
+ 5dfc18c5e146c15054a1a1699c7cf2a479f60287
@@ -0,0 +1 @@
1
+ 5d6c1ce6daf7a00c709244b69a586aedaf0ea35f1d8af833a00ed38203cd020d
@@ -0,0 +1 @@
1
+ 7efc19673a88553a59004c41e2a0bf5673713bb49decd6908a4261d6e6fb41cced2ae36f1b31f666d0f72f4ad358d18bf16a1959e54841015acb3645da74e6d2
@@ -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": 2669876,
38
- "sha512": "56b784e979a3327a7b9c88d6b87880bda5a48ccc77142e42b62e0698ab46fc0222f53ec48ec1d9a4eb5a10189e17454fdf9b43deac228dab88bad313d272a519",
39
- "sha256": "1635c8b5566685df67644dd0069c808de59c48287209cf802e5e52e62207804b",
40
- "sha1": "40b3120a60f4c9e30b1b876f16f25c2ff6626035",
41
- "md5": "b80e7bbd09f4a53ad696d9f0aedaca12"
36
+ "name": "access-1.77.aar",
37
+ "url": "access-1.77.aar",
38
+ "size": 2769252,
39
+ "sha512": "7efc19673a88553a59004c41e2a0bf5673713bb49decd6908a4261d6e6fb41cced2ae36f1b31f666d0f72f4ad358d18bf16a1959e54841015acb3645da74e6d2",
40
+ "sha256": "5d6c1ce6daf7a00c709244b69a586aedaf0ea35f1d8af833a00ed38203cd020d",
41
+ "sha1": "5dfc18c5e146c15054a1a1699c7cf2a479f60287",
42
+ "md5": "93eacba00d25a834efede550a60f3926"
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": 2669876,
299
- "sha512": "56b784e979a3327a7b9c88d6b87880bda5a48ccc77142e42b62e0698ab46fc0222f53ec48ec1d9a4eb5a10189e17454fdf9b43deac228dab88bad313d272a519",
300
- "sha256": "1635c8b5566685df67644dd0069c808de59c48287209cf802e5e52e62207804b",
301
- "sha1": "40b3120a60f4c9e30b1b876f16f25c2ff6626035",
302
- "md5": "b80e7bbd09f4a53ad696d9f0aedaca12"
314
+ "name": "access-1.77.aar",
315
+ "url": "access-1.77.aar",
316
+ "size": 2769252,
317
+ "sha512": "7efc19673a88553a59004c41e2a0bf5673713bb49decd6908a4261d6e6fb41cced2ae36f1b31f666d0f72f4ad358d18bf16a1959e54841015acb3645da74e6d2",
318
+ "sha256": "5d6c1ce6daf7a00c709244b69a586aedaf0ea35f1d8af833a00ed38203cd020d",
319
+ "sha1": "5dfc18c5e146c15054a1a1699c7cf2a479f60287",
320
+ "md5": "93eacba00d25a834efede550a60f3926"
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/T0ACgkQI6iaf4hmctCJDwEA8yyT6lSPCw/pel11YCq3RVgd
5
+ UepdoYyBLRlrnBg15csA/RHHtCB+66L8ChXg/4650LG0H4LQVPTI+eZFxJ8NdgMG
6
+ =YTlU
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ ebed6a0bc3c991e1c74579273513fe70
@@ -0,0 +1 @@
1
+ 2332bfea7592dd3e1f33979146a3e401f020241e
@@ -0,0 +1 @@
1
+ 6139e0e6bbbdc081ac6bcf7d00ea80a171f003abcc88f8c9eef3dd75cf51446b
@@ -0,0 +1 @@
1
+ c3f32c9090b9516dc679d4062740132e336d59e4ab8e74f56a0cd6de696907816387a334ff8f61248552432d3b07319bd63b6612ebcb4c2c897f25574f7490c3
@@ -0,0 +1 @@
1
+ 5ea456aaa8b03236907268d86763e8d7
@@ -0,0 +1 @@
1
+ 475e47921c3e4f8de4a36f1f28a3483a897ee9af
@@ -0,0 +1 @@
1
+ ffd424cdd8865e47ec9e6c026c9ca6b149f57200c1911cb6b13b233387ec3778
@@ -0,0 +1 @@
1
+ 9f68b78ae57da7138cb5aa7028294c4a120ff9ab1cddb35d061086ef4d58ae26d3ff7fcab3ad0b8b5b8afd8efeb332bf784301420e1bf052dce6b1447632798a
@@ -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/T0ACgkQI6iaf4hmctA3SAD7BzOoyTVSIvAWhK4qRoQLddEZ
5
+ nH+2TuilgdDdIGwnA0AA/jDmtf+Dt0D8qB8KQ8Z0f7FS8ZE03NgD/9KfB+DvoAEC
6
+ =nhs2
7
+ -----END PGP SIGNATURE-----
@@ -0,0 +1 @@
1
+ 45f342f1803fa0a4bba4f12f6cda078a
@@ -0,0 +1 @@
1
+ a0daaa953900bab643cf00e59b0e8600d62981be
@@ -0,0 +1 @@
1
+ 896114cdc1b1886417c8be2c9c9ec336b36bef842fb4851685bb0d640ad797f7
@@ -0,0 +1 @@
1
+ ccb6f9d7c40d2ae8e9a33073f486b50da63acf79dd352ae9fce1eb42340d01faf3ac32e58f2901c2259d71143869c6dbbf0458e6b10d29f1db0202ffa7a665b3
@@ -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>20240625180808</lastUpdated>
11
+ <lastUpdated>20240710212933</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 8193a571234f6a5709ff93410bfb96f4
1
+ 31ba0837301ab05963963e9a30cf8c7c
@@ -1 +1 @@
1
- c5f77182cedb21cd1b56614b6c6f8201af33b836
1
+ e8b5ed145beb1321d4f5b44ba31cda67ec24bb61
@@ -1 +1 @@
1
- 258437629a467f2203bc7f7b0386af57f180649d9b09082c7f498099bc38d83d
1
+ 001dd88ed30d850bfb1d0fed64c8ab19d370b1e5264cf67dd43777a3b0f68cc2
@@ -1 +1 @@
1
- 0e53dc506e9cb91966b3bf0a2fc93ac5338bde834589501e3220fd56ce6ee20fb750fb237a3f398944e8ecf718375157f128dfc645b4062dfd5bc5386f4f596a
1
+ 8e094d3cf6798870a8478844ded10718c7e65226594cd542844577ce118954397fb8546a2ca41a5172cf7a1651edbfb56d31eb50528700514126e413c28ceed8
@@ -7,11 +7,14 @@ import android.widget.Toast;
7
7
 
8
8
  import androidx.appcompat.app.AppCompatActivity;
9
9
 
10
+
10
11
  import java.util.List;
11
12
  import java.util.Map;
12
13
 
14
+ import blueid.access.sdk.BlueEnvironment;
13
15
  import blueid.access.sdk.BluePlugin;
14
16
  import blueid.access.sdk.BluePluginDelegate;
17
+ import blueid.access.sdk.EnvironmentConfig;
15
18
  import blueid.access.sdk.Sdk;
16
19
  import kotlin.jvm.functions.Function1;
17
20
 
@@ -24,47 +27,28 @@ public class BlueIDAccess {
24
27
  private static BluePlugin plugin = null;
25
28
  private final Application application;
26
29
 
27
- private BlueIDAccess(Application application, BluePluginDelegate delegate, AppCompatActivity activity, String remoteServerUrl) {
30
+ private BlueIDAccess(Application application, BluePluginDelegate delegate, AppCompatActivity activity) {
28
31
  this.application = application;
29
32
  Log.i("Capacitor:", "BlueIDAccess Loaded "+application.getPackageName());
30
- plugin = new BluePlugin(delegate);
31
- sdk = Sdk.INSTANCE;
32
33
 
33
-
34
- if(remoteServerUrl != null) {
35
- initSdkBasedOnRemoteServerUrl(activity, remoteServerUrl);
36
- }else{
37
- initSdkBasedOnConfig(activity);
38
- }
34
+ sdk = Sdk.INSTANCE;
35
+ initSdkBasedOnConfig(activity);
36
+ plugin = new BluePlugin(delegate);
39
37
  }
40
38
 
41
39
  private void initSdkBasedOnConfig(AppCompatActivity activity){
42
- if (BuildConfig.DEBUG) {
43
- Sdk.initDev(application, activity);
44
- } else {
45
- Sdk.initProd(application, activity);
46
- }
47
- }
48
40
 
49
- private void initSdkBasedOnRemoteServerUrl(AppCompatActivity activity, String remoteServerUrl){
50
- Sdk.init(application, remoteServerUrl, activity);
51
- }
41
+ EnvironmentConfig config = BlueEnvironment.getEnvironmentType(BuildConfig.BLUE_SDK_ENVIRONMENT);
52
42
 
43
+ Sdk.init(application, config, activity);
53
44
 
54
- public static BlueIDAccess getInstance(Application context, BluePluginDelegate delegate, AppCompatActivity activity) {
55
-
56
- if (instance == null) {
57
-
58
- instance = new BlueIDAccess(context, delegate, activity, null);
59
- }
60
-
61
- return instance;
62
45
  }
63
- public static BlueIDAccess getInstance(Application context, BluePluginDelegate delegate, AppCompatActivity activity, String remoteServerUrl) {
46
+
47
+ public static BlueIDAccess getInstance(Application context, BluePluginDelegate delegate, AppCompatActivity activity) {
64
48
 
65
49
  if (instance == null) {
66
50
 
67
- instance = new BlueIDAccess(context, delegate, activity, remoteServerUrl);
51
+ instance = new BlueIDAccess(context, delegate, activity);
68
52
  }
69
53
 
70
54
  return instance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-capacitor",
3
- "version": "1.74.0",
3
+ "version": "1.77.0",
4
4
  "description": "Capacitor JS plugin for the BlueID Access SDK",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -1 +0,0 @@
1
- b80e7bbd09f4a53ad696d9f0aedaca12
@@ -1 +0,0 @@
1
- 40b3120a60f4c9e30b1b876f16f25c2ff6626035
@@ -1 +0,0 @@
1
- 1635c8b5566685df67644dd0069c808de59c48287209cf802e5e52e62207804b
@@ -1 +0,0 @@
1
- 56b784e979a3327a7b9c88d6b87880bda5a48ccc77142e42b62e0698ab46fc0222f53ec48ec1d9a4eb5a10189e17454fdf9b43deac228dab88bad313d272a519
@@ -1 +0,0 @@
1
- b24bc3288ecf2268af87866fb9e7a44b
@@ -1 +0,0 @@
1
- fdcea9e0ae9b62649265877f83373273926f40b7
@@ -1 +0,0 @@
1
- b4e9d12163dc221232269b26e0089d0bf806188f681d5915d13f4716cc724725
@@ -1 +0,0 @@
1
- ccba2f9167843a37db0f144585f450ae9748f422ab874c3ab0733c71b9e4b9b5549f96d6a9ba4c558bf6a113665627bd5d3535d16198e190e92a449be36073bd
@@ -1 +0,0 @@
1
- a7d9a41334a863fbe0016b656b0280cf
@@ -1 +0,0 @@
1
- d2d7215da5d2c6a61130bf4bf11a57a117a5b58e
@@ -1 +0,0 @@
1
- ccd856120ed8f2284d6470c2c405d2ab115099ef6877f7ab222979e652c12024
@@ -1 +0,0 @@
1
- 413e149fb366bc350578977a67dec1e0cd94067e5648d78e6e1b88bc79e8d5289c5fa2f66ac32fc7c2ea6752da125edbef626839250fe922079e60a58d7642f5