Comments (6)
Thanks for reporting. We have found the reason but is it still not solved. When running on iOS, the library will initialize the camera module when the app starts. Since the simulator doesn't support a camera, it reports the issue. Also, this is the reason why you receive a camera permission request when the app start.
We are still working on this issue. It might take some time. I will let you know if we find a solution.
One more question. Do you have requirements to read barcodes on a simulator or just testing?
from capture-vision-react-native-samples.
Hello @Dynamsoft-Henry,
Thank you for addressing this. We don't have a requirement to read barcodes in the simulator, but we do have a requirement to have the app working correctly in the simulator (as there are other team members that do not use device to develop or maintain other features in the app). The fact that the app is stuck in the SplashScreen is a big blocker for our development environment and will cause headaches amongst the team.
It is good to know that as soon as you solve this, both issues we currently experience in iOS will go away.
-
I understand currently it is unknown, but would you have a rough estimate when you would hope for this be solved?
-
Are the implementation changes of the pod libraries
DynamsoftBarcodeReader - 9.6.10andDynamsoftCameraEnhancer - 2.3.1
a good place to look for the fix? Prior to these versions the simulator worked fine.
from capture-vision-react-native-samples.
Hello @chernandez-bunnings
- Our plan is to fix this issue at the latest before the end of next week.
2.1 Our SDK has code on both native iOS and React Native. I am not sure whether we need to change any code on React Native side. If there is no change on the React Native side, it will be fine to update the pod file only.
2.2 I'm sorry that we have never tested it on a simulator before. I don't know whether the previous versions work fine with simulators either. From now on, we will add simulators to the test items.
from capture-vision-react-native-samples.
Hello @Dynamsoft-Henry
Thank you again. I can assure the app would run fine in the simulator in version 1.1.7 (probably prior as well). I downgraded to confirm this. Of course the simulator cannot be used to ensure the camera sdk
works correctly as you require the camera, but that's another topic.
Fingers crossed there is a fix soon, so I'm not forced to downgrade :)
from capture-vision-react-native-samples.
Hello @chernandez-bunnings
Sorry for delay. We fixed the above issues and released a new version, v1.1.11.
We have changes on both React Native and iOS side. As a result, please upgrade the dependency of dynamsoft-capture-vision-react-native.
from capture-vision-react-native-samples.
Hello @Dynamsoft-Henry
Apologies for the late reply, we just resumed development on the scanner feature.
I can confirm that version 1.1.11
addresses the simulator issue and the camera permission workflow for iOS
I will proceed with closing this issue as well as #35
However, the TS conflict (#32) is still occurring. For now, we are re-patching this new version, but ideally the conflict should be addressed in the sdk typing definitions directly.
Thank you so much for looking into all these issues.
from capture-vision-react-native-samples.
Related Issues (13)
- Task :app:mergeDebugAssets FAILED
- DCVCameraView component not working HOT 10
- CocoaPods could not find compatible versions for pod "DynamsoftBarcodeReader" HOT 2
- DCVCameraView styling support HOT 10
- Document scanner HOT 4
- dynamsoft-capture-vision-react-native/js/DynamsoftCameraView.tsx typescript definition incompatible with RN 0.70.6 HOT 7
- Camera permission on launch - ios HOT 1
- App frozen HOT 13
- Error with Severe hang after multiple barcode readers HOT 15
- DCVCameraView will get stuck after multiple times of render HOT 9
- Dynamsoft library not built for ARM64 HOT 6
- Adding beep sound to react-native Dynamsoft library HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capture-vision-react-native-samples.