Giter Site home page Giter Site logo

Comments (6)

bento-n-box avatar bento-n-box commented on July 17, 2024

iOS 10 update requires audio permission alert. It would be great if we could disable the audio.

from react-native-barcode-scanner-universal.

ackdav avatar ackdav commented on July 17, 2024

ok - will do a pr later today

from react-native-barcode-scanner-universal.

ackdav avatar ackdav commented on July 17, 2024

@rochestb I don't really have the time to make the barcode-scanner-universal don't ask for microphone independently of the react-native-camera module... so I just forked the camera module and updated the dependency of my barcode-scanner-universal fork. So if you need it fast -> update your package.json barcode-scanner-universal to "derdav3/react-native-barcode-scanner-universal"

from react-native-barcode-scanner-universal.

bento-n-box avatar bento-n-box commented on July 17, 2024

Thanks @derdav3 !

from react-native-barcode-scanner-universal.

bento-n-box avatar bento-n-box commented on July 17, 2024

Just took a look at the code. The problem is the objective-C code, with the addition of ios 10 now requires a Permission Request for Audio. Your code disabled the audio through JS but it still requires permissions.

from react-native-barcode-scanner-universal.

ackdav avatar ackdav commented on July 17, 2024

It does? I forgot to update the package.json dependency on github... corrected it 1-2hours ago on my fork It didnt ask me on react-native 0.30 with iphone 6 ios10.. what did you test it on?
Saw that there's an explanation on react-native-camera to disable the mic.. will do it tonight - if you do it earlier let me know

On Mo., Sep. 19, 2016 at 5:30 PM, Benton Rochester [email protected] wrote:
Just took a look at the code. The problem is the objective-C code, with the addition of ios 10 now requires a Permission Request for Audio. Your code disabled the audio through JS but it still requires permissions.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [https://github.com//issues/11#issuecomment-248027260] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AF0zCbZ0vjgFRF_kPuhp6f2UiH66mkgtks5qrqqrgaJpZM4J9LHE] .

from react-native-barcode-scanner-universal.

Related Issues (18)

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.