I use a 3rd party library from Google called ExoPlayer which adds
WRITE_EXTERNAL_STORAGE to its AndroidManifest.xml:
When I add a reference to ExoPlayer, my project inherits these permissions. I don't want that. What's the best way forward?
- Edit the ExoPlayer source before creating a binding?
- Unzip the final APK and edit AndroidManifest.xml? This gets messy, because the APK is signed.
- Edit AndroidManifest.xml in my project's obj directory, and then modify the build process to use it?
- Something else?