@regulaforensics/cordova-plugin-document-reader-api 6.7.3 → 6.7.5
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.
package/example/package.json
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"cordova-android": "^10.1.1",
|
|
17
17
|
"cordova-ios": "^6.2.0",
|
|
18
18
|
"cordova-plugin-add-swift-support": "^2.0.2",
|
|
19
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "6.7.
|
|
20
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "6.7.
|
|
19
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "6.7.5",
|
|
20
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "6.7.1",
|
|
21
21
|
"cordova-plugin-file": "^6.0.2",
|
|
22
22
|
"cordova-plugin-telerik-imagepicker": "^2.3.5",
|
|
23
23
|
"cordova-plugin-android-permissions": "1.1.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/cordova-plugin-document-reader-api",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.5",
|
|
4
4
|
"description": "Cordova plugin for reading and validation of identification documents (API framework)",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/cordova-plugin-document-reader-api",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-plugin-document-reader-api" version="6.7.
|
|
2
|
+
<plugin id="cordova-plugin-document-reader-api" version="6.7.5"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
4
4
|
<name>DocumentReaderApi</name>
|
|
5
5
|
<description>Cordova plugin Document reader api</description>
|
|
@@ -464,11 +464,8 @@ public class DocumentReader extends CordovaPlugin {
|
|
|
464
464
|
new String[]{"android.nfc.tech.IsoDep"}
|
|
465
465
|
};
|
|
466
466
|
Intent intent = new Intent(activity.getApplicationContext(), activity.getClass());
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
|
|
470
|
-
flags = PendingIntent.FLAG_IMMUTABLE;
|
|
471
|
-
PendingIntent pendingIntent = PendingIntent.getActivity(activity.getApplicationContext(), 0, intent, flags);
|
|
467
|
+
int flag = Build.VERSION.SDK_INT >= Build.VERSION_CODES.S ? PendingIntent.FLAG_MUTABLE : 0;
|
|
468
|
+
PendingIntent pendingIntent = PendingIntent.getActivity(activity.getApplicationContext(), 0, intent, flag);
|
|
472
469
|
NfcAdapter.getDefaultAdapter(getActivity()).enableForegroundDispatch(activity, pendingIntent, filters, techList);
|
|
473
470
|
}
|
|
474
471
|
|