Set Android Permissions


I’m trying to add new permissions to my app this way on mobile-config.js

    <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="">
      <uses-permission android:name="android.permission.CAMERA" />
      <uses-permission android:name="android.permission.RECORD_AUDIO" />
      <user-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

Unfortunately, it gets stuck when running my app at:

Starting app on Android Emulator

Any idea on how to set permissions that would go to AndroidManifest.xml?

Thank you!

Try encapsulating the config inside the platform tag <platform name="android">[config here]</platform>

1 Like

Thanks, I will definitely try that