Giter Club home page Giter Club logo

Comments (5)

chitainguyen avatar chitainguyen commented on July 21, 2024

it through error "NotReadableError"

from react-qr-reader2.

tahv0 avatar tahv0 commented on July 21, 2024

@chitainguyen For helping rsolving this issue, could you tell more specific information how to reproducre it.

Which OS and OS version did you use?
Which browser and browser version did you use?
Was it normal website (SPA) or PWA App?

How did you "close the screen"? Can you tell me about your component lifecycles when this error occured? How mean how did you use it.

Giving me some example code can help me find the problem sooner.
Thanks.

from react-qr-reader2.

chitainguyen avatar chitainguyen commented on July 21, 2024

Dear,
Thanks for your respond,

  • Which OS and OS version did you use?
    Answer: OS is android, version 6.0. And on iOS, it is not working too.

  • Which browser and browser version did you use?
    Answer: browser is chrome.

Was it normal website (SPA) or PWA App?
Answer: i build with cordova android.

How did you "close the screen"? Can you tell me about your component lifecycles when this error occured? How mean how did you use it.

  • Open it on first time -> it work ok
  • Turn off screen OR switch to another app OR device idle for the couple of time.
  • Switch to app again. -> open QR reader -> throw this error

Giving me some example code can help me find the problem sooner.
My Code:
<QrReader
delay={delay}
onError={this.handleError}
onScan={this.handleScan}
style={{width: '100%'}}
/>

from react-qr-reader2.

chitainguyen avatar chitainguyen commented on July 21, 2024

What information can i supply for this case, is there any result?.
Thanks alot

from react-qr-reader2.

tahv0 avatar tahv0 commented on July 21, 2024

Sorry I haven't had any time to look into Cordova. I think this is Cordova specific problem. I'll try to find time to look into this. Example codes and PRs are also welcome.

from react-qr-reader2.

Related Issues (5)

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.