mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-11-22 21:39:23 +08:00
Merge pull request #48 from dustin-graham/master
[Fixes #47] Add Camera permission to library Android manifest
This commit is contained in:
commit
dff8905f7c
@ -1,6 +1,8 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.yourcompany.barcodescan">
|
package="com.yourcompany.barcodescan">
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.CAMERA" />
|
||||||
|
|
||||||
<application>
|
<application>
|
||||||
<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity" />
|
<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity" />
|
||||||
</application>
|
</application>
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
|
||||||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
||||||
calls FlutterMain.startInitialization(this); in its onCreate method.
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
||||||
In most cases you can leave this as-is, but you if you want to provide
|
In most cases you can leave this as-is, but you if you want to provide
|
||||||
|
Loading…
Reference in New Issue
Block a user