Tns release always add android.permission.CAMERA


i do release for new feature in my android apps when i wanna upload to google play store. Google play console said that i need to see privacy policy because my apps user android.permission.CAMERA.
i check all AndroidManifest.xml in platform/android and yes AndroidManifest.xml in path platform/android/app/build/intermediates/manifest/full/release/AndroidManifest.xml add
two permission that i dont add on App_resources/android/AndroidManifest.xml

Release always add

  <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />

        android:required="false" />

so how i can solve it. i dont want to use camera and flashlight??
thanks a lot for any advance.


Are you perhaps using version 6.0.x of nativescript-plugin-firebase? Version 6.1.0 will no longer add those to your app.


yes i use it. how to upgrade it??


Just wait for the 6.1.0 release.


oh i got because there are ML KIT in plugins so it will request camera and flashligh permission??


Yes, but I removed automatically adding those, and rely on documentation instead (with 6.1.0).


thanks for #740 i got it.

looking forward for 6.1.0. so dont need to use some tricky