Code Monkey home page Code Monkey logo

Comments (6)

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

Hi @chernandez-bunnings

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.

chernandez-bunnings avatar chernandez-bunnings commented on July 19, 2024

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.

  1. I understand currently it is unknown, but would you have a rough estimate when you would hope for this be solved?

  2. Are the implementation changes of the pod libraries DynamsoftBarcodeReader - 9.6.10 and DynamsoftCameraEnhancer - 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.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

Hello @chernandez-bunnings

  1. 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.

chernandez-bunnings avatar chernandez-bunnings commented on July 19, 2024

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.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

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.

chernandez-bunnings avatar chernandez-bunnings commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.