mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-12-23 12:19:19 +08:00
[Fixes #47] Add Camera permission to library Android manifest
Makes integration into host applications easier Removed the camera permission from the example to demonstrate
This commit is contained in:
parent
be9d579c7a
commit
5e50563aaf
@ -1,6 +1,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.yourcompany.barcodescan">
|
||||
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
|
||||
<application>
|
||||
<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity" />
|
||||
</application>
|
||||
|
@ -6,7 +6,6 @@
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
-->
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
||||
calls FlutterMain.startInitialization(this); in its onCreate method.
|
||||
In most cases you can leave this as-is, but you if you want to provide
|
||||
|
Loading…
Reference in New Issue
Block a user