Comments (6)
iOS 10 update requires audio permission alert. It would be great if we could disable the audio.
from react-native-barcode-scanner-universal.
ok - will do a pr later today
from react-native-barcode-scanner-universal.
@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.
Thanks @derdav3 !
from react-native-barcode-scanner-universal.
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.
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)
- undefined is not an object(evaluating 'NativeModule.CameraManager.Aspect') HOT 8
- Close on BarCodeRead HOT 2
- error undefined is not an object(evaluating cameramanage.aspect) HOT 2
- 扫描界面 HOT 1
- 报错:找不到符号 HOT 2
- android 7.0 above the full screen will become blurred
- barcodescanner.js undefined is not an object (evaluating 'proptypes.string')
- undefined is not an object(evaluating '_react2.Proptypes.oneOfType')
- Camera has no propType for native prop RCTCamera.ToPreview of native type BOOL ios
- getting error when run in android HOT 4
- Not working for VIN(vehicle identification number barcode.......) HOT 1
- Warning: Native component for "RNBarcodeScannerView" does not exist HOT 4
- app crashes in ios version 9.3.2 HOT 3
- Camera not opening up HOT 2
- Help: cropping the view on android w/o compressing the view HOT 1
- Dependencies greatly out of date HOT 16
- iOS 10 kills the module HOT 2
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 react-native-barcode-scanner-universal.