@blueid/access-react-native 1.72.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 +19 -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.72/access-1.72.module → 1.75/access-1.75.module} +24 -17
  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.72/access-1.72.pom → 1.75/access-1.75.pom} +9 -3
  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/BlueIDAccessModule.kt +11 -7
  23. package/package.json +1 -1
  24. package/android/sdklib/com/blue-id/access/1.72/access-1.72.aar +0 -0
  25. package/android/sdklib/com/blue-id/access/1.72/access-1.72.aar.md5 +0 -1
  26. package/android/sdklib/com/blue-id/access/1.72/access-1.72.aar.sha1 +0 -1
  27. package/android/sdklib/com/blue-id/access/1.72/access-1.72.aar.sha256 +0 -1
  28. package/android/sdklib/com/blue-id/access/1.72/access-1.72.aar.sha512 +0 -1
  29. package/android/sdklib/com/blue-id/access/1.72/access-1.72.module.md5 +0 -1
  30. package/android/sdklib/com/blue-id/access/1.72/access-1.72.module.sha1 +0 -1
  31. package/android/sdklib/com/blue-id/access/1.72/access-1.72.module.sha256 +0 -1
  32. package/android/sdklib/com/blue-id/access/1.72/access-1.72.module.sha512 +0 -1
  33. package/android/sdklib/com/blue-id/access/1.72/access-1.72.pom.md5 +0 -1
  34. package/android/sdklib/com/blue-id/access/1.72/access-1.72.pom.sha1 +0 -1
  35. package/android/sdklib/com/blue-id/access/1.72/access-1.72.pom.sha256 +0 -1
  36. package/android/sdklib/com/blue-id/access/1.72/access-1.72.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 @@
1
+ 1e3963174f183ef4b4bb1c239eb68f4c
@@ -0,0 +1 @@
1
+ 2ec64c8b934aee0e79f430ae4444f9bc3696b658
@@ -0,0 +1 @@
1
+ 4cbfdb0546a24cb8b9e414b055f6516b0ee87f505b44478719073667c7aae4bb
@@ -0,0 +1 @@
1
+ c2da70e5a38641463b979f9717b6d5a39d6fcbc82a403768ce84f99a8e3636367665fc75acfa97cad93ab1d6200e340fedf984c030beda143b1652c9754cc91f
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.blue-id",
5
5
  "module": "access",
6
- "version": "1.72",
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.72.aar",
36
- "url": "access-1.72.aar",
37
- "size": 2669882,
38
- "sha512": "6ff82d62e91cc0fc589a76a29d6e11ff8cd3bbd935b2b754130c9294ecabc5628fb1e600dd5edd4a94b28ae01582a119aba1d1c174dbb52ffde2ba7cce4321e4",
39
- "sha256": "90c0eea60880b81d85f31b8adb07e19353850c6075b07afb67bbc8f3cddc74e3",
40
- "sha1": "c79568f07a76244179164d775c6a8010b0210520",
41
- "md5": "2d33cc16b204fac03079226538d35828"
35
+ "name": "access-1.75.aar",
36
+ "url": "access-1.75.aar",
37
+ "size": 2771176,
38
+ "sha512": "c2da70e5a38641463b979f9717b6d5a39d6fcbc82a403768ce84f99a8e3636367665fc75acfa97cad93ab1d6200e340fedf984c030beda143b1652c9754cc91f",
39
+ "sha256": "4cbfdb0546a24cb8b9e414b055f6516b0ee87f505b44478719073667c7aae4bb",
40
+ "sha1": "2ec64c8b934aee0e79f430ae4444f9bc3696b658",
41
+ "md5": "1e3963174f183ef4b4bb1c239eb68f4c"
42
42
  }
43
43
  ]
44
44
  },
@@ -182,14 +182,14 @@
182
182
  "group": "com.google.protobuf",
183
183
  "module": "protobuf-java",
184
184
  "version": {
185
- "requires": "4.26.1"
185
+ "requires": "4.27.1"
186
186
  }
187
187
  },
188
188
  {
189
189
  "group": "com.google.protobuf",
190
190
  "module": "protobuf-java-util",
191
191
  "version": {
192
- "requires": "4.26.1"
192
+ "requires": "4.27.1"
193
193
  }
194
194
  },
195
195
  {
@@ -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.72.aar",
297
- "url": "access-1.72.aar",
298
- "size": 2669882,
299
- "sha512": "6ff82d62e91cc0fc589a76a29d6e11ff8cd3bbd935b2b754130c9294ecabc5628fb1e600dd5edd4a94b28ae01582a119aba1d1c174dbb52ffde2ba7cce4321e4",
300
- "sha256": "90c0eea60880b81d85f31b8adb07e19353850c6075b07afb67bbc8f3cddc74e3",
301
- "sha1": "c79568f07a76244179164d775c6a8010b0210520",
302
- "md5": "2d33cc16b204fac03079226538d35828"
303
+ "name": "access-1.75.aar",
304
+ "url": "access-1.75.aar",
305
+ "size": 2771176,
306
+ "sha512": "c2da70e5a38641463b979f9717b6d5a39d6fcbc82a403768ce84f99a8e3636367665fc75acfa97cad93ab1d6200e340fedf984c030beda143b1652c9754cc91f",
307
+ "sha256": "4cbfdb0546a24cb8b9e414b055f6516b0ee87f505b44478719073667c7aae4bb",
308
+ "sha1": "2ec64c8b934aee0e79f430ae4444f9bc3696b658",
309
+ "md5": "1e3963174f183ef4b4bb1c239eb68f4c"
303
310
  }
304
311
  ]
305
312
  },
@@ -0,0 +1 @@
1
+ 8c784df558e50d10f76547d09cddbc58
@@ -0,0 +1 @@
1
+ b4365ff5f0b2031148ef7e289ec75e2aee34730b
@@ -0,0 +1 @@
1
+ b7bc738f9088f043772073763492923c25085fb57122ea080dd986156a7b5535
@@ -0,0 +1 @@
1
+ 10209ce3ec3440fd6d9d59a643b0f51e8a9cc2a7d9af9ef3825ab9e30586c9ecdb47f7fe9858262d239de8778340a6385261737da6951b4e0458a3f07c986bd5
@@ -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.72</version>
12
+ <version>1.75</version>
13
13
  <packaging>aar</packaging>
14
14
  <dependencyManagement>
15
15
  <dependencies>
@@ -137,13 +137,13 @@
137
137
  <dependency>
138
138
  <groupId>com.google.protobuf</groupId>
139
139
  <artifactId>protobuf-java</artifactId>
140
- <version>4.26.1</version>
140
+ <version>4.27.1</version>
141
141
  <scope>runtime</scope>
142
142
  </dependency>
143
143
  <dependency>
144
144
  <groupId>com.google.protobuf</groupId>
145
145
  <artifactId>protobuf-java-util</artifactId>
146
- <version>4.26.1</version>
146
+ <version>4.27.1</version>
147
147
  <scope>runtime</scope>
148
148
  </dependency>
149
149
  <dependency>
@@ -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.72</latest>
7
- <release>1.72</release>
6
+ <latest>1.75</latest>
7
+ <release>1.75</release>
8
8
  <versions>
9
- <version>1.72</version>
9
+ <version>1.75</version>
10
10
  </versions>
11
- <lastUpdated>20240625075049</lastUpdated>
11
+ <lastUpdated>20240704194423</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 610493f6511afe6fe8d028597a701c2d
1
+ aa5caadd18a5986b0bc4d2993779b75a
@@ -1 +1 @@
1
- f6306ad669f4fcb8a02f31412d3b140793f2da1c
1
+ c9fcaec28a43157c6d0e96192fc7f448109b933e
@@ -1 +1 @@
1
- fc94abc821e7e08dc12facb2c9ff29e1f2c411a34a99c36a2e0bbe9e1478eb8b
1
+ a88f91ea323c8482ef32216fb91c003aaa4a588c647e39e791a2e2c1f722675c
@@ -1 +1 @@
1
- 9db215c9ca463d38676aab85044b67729715a51ed711e0f8faaca64397ec1bb6bb888d82aefb6045d01156e17ae7f154c4768515eb9af75a7eccb42104428167
1
+ 950d365d8084bbf0237efb9be5205fa145d8e340dd392c815cf52a2b4e0d24935e6893a1f30d26e81a484b57198588a3e82e827955881c4a871d9788eafa314d
@@ -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.72.0",
3
+ "version": "1.75.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
- 2d33cc16b204fac03079226538d35828
@@ -1 +0,0 @@
1
- c79568f07a76244179164d775c6a8010b0210520
@@ -1 +0,0 @@
1
- 90c0eea60880b81d85f31b8adb07e19353850c6075b07afb67bbc8f3cddc74e3
@@ -1 +0,0 @@
1
- 6ff82d62e91cc0fc589a76a29d6e11ff8cd3bbd935b2b754130c9294ecabc5628fb1e600dd5edd4a94b28ae01582a119aba1d1c174dbb52ffde2ba7cce4321e4
@@ -1 +0,0 @@
1
- e614d46981beea4dfecd311e89299770
@@ -1 +0,0 @@
1
- b08e2b8c37e0b94919422bf61e7873e82c627c5f
@@ -1 +0,0 @@
1
- 79f7fc4d3d74f373e622eb6fc96d08e987bff1f35403dd0d543236a89498bba2
@@ -1 +0,0 @@
1
- a647be6c2deb1af178f20f49edcb727241d30733f4356c951a2e15ab928d00abc72b9d12f113c5aa3074d7b3766d0c1cb28d0070b63dce2848efcf4a2bbd3329
@@ -1 +0,0 @@
1
- 9119f3e37e7e9a0941297b1a50114631
@@ -1 +0,0 @@
1
- 8f1092310a9aa475e9d22bed009e1abfc958328a
@@ -1 +0,0 @@
1
- 04d649e759efd48c7bf8665240785ecfe93e9d3dd29b852e237e97008a422256
@@ -1 +0,0 @@
1
- 80216b0d73cbfa2db8a4fe6428767f0a51701eac0e4226a98d1de9723879dc455ac633e46d78770ab884bef1820796fa56675e82522e711d3d82fd5d1a9df7ba