Tns release always add android.permission.CAMERA


#1

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" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />

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


#2

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


#3

yes i use it. how to upgrade it??


#4

Just wait for the 6.1.0 release.


#5

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


#6

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


#7

thanks for #740 i got it.

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