Closed dhanuvanth closed 4 years ago
Add permission in Android and run on real mobile
can you please let us know which permission we need to give and where? @chadathanainta @ricnaaru
@Abhishek01039
`
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.front" />
<uses-feature android:name="android.hardware.camera2" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-feature android:name="android.hardware.camera.flash" android:required="false" />`
ok thanks @chadathanainta
no error in the code but it is not showing any preview. I tried with both android emulated and also real device. but its showing only the progress bar. I used the latest version (adv_camera: ^1.1.1+1). android version - 7,8,9
![Capture2](https://user-images.githubusercontent.com/43810498/85927241-67088800-b8c2-11ea-920b-7dbdba4541da.PNG)
please help...