Merge pull request #48 from dustin-graham/master

[Fixes #47] Add Camera permission to library Android manifest
This commit is contained in:
Matthew Smith 2018-09-27 16:19:10 -07:00 committed by GitHub
commit dff8905f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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