@blueid/access-capacitor 1.74.0 → 1.75.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 (36) hide show
  1. package/android/build.gradle +21 -0
  2. package/android/sdklib/com/blue-id/access/1.75/access-1.75.aar +0 -0
  3. package/android/sdklib/com/blue-id/access/1.75/access-1.75.aar.md5 +1 -0
  4. package/android/sdklib/com/blue-id/access/1.75/access-1.75.aar.sha1 +1 -0
  5. package/android/sdklib/com/blue-id/access/1.75/access-1.75.aar.sha256 +1 -0
  6. package/android/sdklib/com/blue-id/access/1.75/access-1.75.aar.sha512 +1 -0
  7. package/android/sdklib/com/blue-id/access/{1.74/access-1.74.module → 1.75/access-1.75.module} +22 -15
  8. package/android/sdklib/com/blue-id/access/1.75/access-1.75.module.md5 +1 -0
  9. package/android/sdklib/com/blue-id/access/1.75/access-1.75.module.sha1 +1 -0
  10. package/android/sdklib/com/blue-id/access/1.75/access-1.75.module.sha256 +1 -0
  11. package/android/sdklib/com/blue-id/access/1.75/access-1.75.module.sha512 +1 -0
  12. package/android/sdklib/com/blue-id/access/{1.74/access-1.74.pom → 1.75/access-1.75.pom} +7 -1
  13. package/android/sdklib/com/blue-id/access/1.75/access-1.75.pom.md5 +1 -0
  14. package/android/sdklib/com/blue-id/access/1.75/access-1.75.pom.sha1 +1 -0
  15. package/android/sdklib/com/blue-id/access/1.75/access-1.75.pom.sha256 +1 -0
  16. package/android/sdklib/com/blue-id/access/1.75/access-1.75.pom.sha512 +1 -0
  17. package/android/sdklib/com/blue-id/access/maven-metadata.xml +4 -4
  18. package/android/sdklib/com/blue-id/access/maven-metadata.xml.md5 +1 -1
  19. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha1 +1 -1
  20. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha256 +1 -1
  21. package/android/sdklib/com/blue-id/access/maven-metadata.xml.sha512 +1 -1
  22. package/android/src/main/java/com/blueid/access/plugins/capacitor/BlueIDAccess.java +12 -28
  23. package/package.json +1 -1
  24. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar +0 -0
  25. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.md5 +0 -1
  26. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha1 +0 -1
  27. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha256 +0 -1
  28. package/android/sdklib/com/blue-id/access/1.74/access-1.74.aar.sha512 +0 -1
  29. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.md5 +0 -1
  30. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha1 +0 -1
  31. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha256 +0 -1
  32. package/android/sdklib/com/blue-id/access/1.74/access-1.74.module.sha512 +0 -1
  33. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.md5 +0 -1
  34. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.sha1 +0 -1
  35. package/android/sdklib/com/blue-id/access/1.74/access-1.74.pom.sha256 +0 -1
  36. 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 @@
1
+ b8811bdc4501aef2cd641efacb5a9b8f
@@ -0,0 +1 @@
1
+ e22be09b8c5a3b62d3ba8667d63e44f2be2cb5bc
@@ -0,0 +1 @@
1
+ 9b961e56ec8b8b76a54f4b1cb654ff1174dfbeb6fdfc68ee68b3efc0fabda77e
@@ -0,0 +1 @@
1
+ 753d8b35efaf6707f02d5f43ffa262f38b111f5924494d8c19fd01985f63e75ca6033c907f2514f49dc5ee6da0984c7a573114b04961da78b7e82427b47fd37f
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.blue-id",
5
5
  "module": "access",
6
- "version": "1.74",
6
+ "version": "1.75",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -32,13 +32,13 @@
32
32
  ],
33
33
  "files": [
34
34
  {
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"
35
+ "name": "access-1.75.aar",
36
+ "url": "access-1.75.aar",
37
+ "size": 2771182,
38
+ "sha512": "753d8b35efaf6707f02d5f43ffa262f38b111f5924494d8c19fd01985f63e75ca6033c907f2514f49dc5ee6da0984c7a573114b04961da78b7e82427b47fd37f",
39
+ "sha256": "9b961e56ec8b8b76a54f4b1cb654ff1174dfbeb6fdfc68ee68b3efc0fabda77e",
40
+ "sha1": "e22be09b8c5a3b62d3ba8667d63e44f2be2cb5bc",
41
+ "md5": "b8811bdc4501aef2cd641efacb5a9b8f"
42
42
  }
43
43
  ]
44
44
  },
@@ -241,6 +241,13 @@
241
241
  "requires": "2.7.0"
242
242
  }
243
243
  },
244
+ {
245
+ "group": "io.sentry",
246
+ "module": "sentry-android",
247
+ "version": {
248
+ "requires": "7.10.0"
249
+ }
250
+ },
244
251
  {
245
252
  "group": "androidx.work",
246
253
  "module": "work-runtime",
@@ -293,13 +300,13 @@
293
300
  ],
294
301
  "files": [
295
302
  {
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"
303
+ "name": "access-1.75.aar",
304
+ "url": "access-1.75.aar",
305
+ "size": 2771182,
306
+ "sha512": "753d8b35efaf6707f02d5f43ffa262f38b111f5924494d8c19fd01985f63e75ca6033c907f2514f49dc5ee6da0984c7a573114b04961da78b7e82427b47fd37f",
307
+ "sha256": "9b961e56ec8b8b76a54f4b1cb654ff1174dfbeb6fdfc68ee68b3efc0fabda77e",
308
+ "sha1": "e22be09b8c5a3b62d3ba8667d63e44f2be2cb5bc",
309
+ "md5": "b8811bdc4501aef2cd641efacb5a9b8f"
303
310
  }
304
311
  ]
305
312
  },
@@ -0,0 +1 @@
1
+ 4c799cb9d544be8ff3e73bc5ba652625
@@ -0,0 +1 @@
1
+ 52c5696dbc89d722db3a6724ad96afb72dd1d13a
@@ -0,0 +1 @@
1
+ 7cac78cd9b0af397d3769358bc0f79b2ae751eebc16ec155d785a925130858b7
@@ -0,0 +1 @@
1
+ 03b162e282f4393f76e1a1edec14be2850e933674b322add62bac8ccc632e2a884a3d64ab1acea66f360ffa67633b0a41c3cb0717160c751311780354b2c48f6
@@ -9,7 +9,7 @@
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.75</version>
13
13
  <packaging>aar</packaging>
14
14
  <dependencyManagement>
15
15
  <dependencies>
@@ -188,6 +188,12 @@
188
188
  <version>2.7.0</version>
189
189
  <scope>runtime</scope>
190
190
  </dependency>
191
+ <dependency>
192
+ <groupId>io.sentry</groupId>
193
+ <artifactId>sentry-android</artifactId>
194
+ <version>7.10.0</version>
195
+ <scope>runtime</scope>
196
+ </dependency>
191
197
  <dependency>
192
198
  <groupId>androidx.work</groupId>
193
199
  <artifactId>work-runtime</artifactId>
@@ -0,0 +1 @@
1
+ 63b6d7ff88db011cf4c38b34e83f837f
@@ -0,0 +1 @@
1
+ 080416d93c6ae5442717895a060aa9e24121b676
@@ -0,0 +1 @@
1
+ afbd0920ae76124f17ed74afb923d2fc23a4908c33258f575a265ace1a7e4280
@@ -0,0 +1 @@
1
+ 651350ae7839b0752aeba739330d49eb005c9fd790c4c3399a43805101056723c621105860443e7b2be45b87992cc0120d1f0f7808792645c6349b5f5f84fd87
@@ -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.75</latest>
7
+ <release>1.75</release>
8
8
  <versions>
9
- <version>1.74</version>
9
+ <version>1.75</version>
10
10
  </versions>
11
- <lastUpdated>20240625180808</lastUpdated>
11
+ <lastUpdated>20240704193807</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 8193a571234f6a5709ff93410bfb96f4
1
+ 2d52228e4c50836d60637b85da23fddb
@@ -1 +1 @@
1
- c5f77182cedb21cd1b56614b6c6f8201af33b836
1
+ 8a05a069f5733899647ec8450421b1bb1dc4f1fd
@@ -1 +1 @@
1
- 258437629a467f2203bc7f7b0386af57f180649d9b09082c7f498099bc38d83d
1
+ 9d2e0b8fb3a5dcb39a47d5f3da93f49258ab0e9ee2148a6c0b49ea6a25d03b77
@@ -1 +1 @@
1
- 0e53dc506e9cb91966b3bf0a2fc93ac5338bde834589501e3220fd56ce6ee20fb750fb237a3f398944e8ecf718375157f128dfc645b4062dfd5bc5386f4f596a
1
+ a48786334c8bf7e9a983b71b42a2d031e8f13c902396820ea0d616e3fea98052e1257beed9fb152bea212c93740f9c6627fd66d65dd1c15351d3be1a70cbeb1b
@@ -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.75.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