dynamsoft-capture-vision-react-native 3.2.5001 → 3.2.5002
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.
|
@@ -64,7 +64,8 @@ class CameraEnhancerModuleImpl(private val reactContext: ReactApplicationContext
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
override fun onHostDestroy() {
|
|
67
|
-
|
|
67
|
+
//Don't handle ON_DESTROY, which can cause problems on some devices when some apps that have started background services return to the foreground
|
|
68
|
+
//cameraLifecycleOwner.lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_DESTROY)
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
@ReactMethod
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dynamsoft-capture-vision-react-native",
|
|
3
3
|
"title": "Dynamsoft Capture Vision React Native",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.5002",
|
|
5
5
|
"description": "The Dynamsoft Capture Vision React Native SDK provides a wrapper for building barcode scanning, document scanning and MRZ scanning applications with React Native.",
|
|
6
6
|
"homepage": "https://github.com/Dynamsoft/capture-vision-react-native-samples",
|
|
7
7
|
"main": "src/index.tsx",
|