@regulaforensics/react-native-document-reader-api 7.6.35-beta → 7.6.39-beta

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.
@@ -524,9 +524,9 @@ fun startForegroundDispatch() {
524
524
  filters[0]!!.addAction(NfcAdapter.ACTION_TECH_DISCOVERED)
525
525
  filters[0]!!.addCategory(Intent.CATEGORY_DEFAULT)
526
526
  val techList = arrayOf(arrayOf("android.nfc.tech.IsoDep"))
527
- val intent = Intent(context, context.javaClass)
527
+ val intent = Intent(activity, activity.javaClass)
528
528
  val flag = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) PendingIntent.FLAG_MUTABLE else 0
529
- val pendingIntent = PendingIntent.getActivity(context, 0, intent, flag)
529
+ val pendingIntent = PendingIntent.getActivity(activity, 0, intent, flag)
530
530
 
531
531
  if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED))
532
532
  enableForegroundDispatch(pendingIntent, filters, techList)
@@ -10,7 +10,7 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "7.6.35-beta",
13
+ "@regulaforensics/react-native-document-reader-api": "7.6.39-beta",
14
14
  "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.893",
15
15
  "react-native-progress": "5.0.0",
16
16
  "react-native-radio-buttons-group": "3.0.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "7.6.35-beta",
3
+ "version": "7.6.39-beta",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {