How to fix placeholder permissions problem AND add Admob module at the same time?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By warlockF13

Google Play is no longer allowing placeholder permissions as better explained here: Fixing Godot games published in Google Play
The solution involves changing the export template or using a custom export apk.

The problem is that I also need to recompile the export templates to add the Adbob modules. Those two things don’t fit well together. It seems I have to choose either one or the other but I want to have both.

What should I do?
If it’s not too much too much to ask, could someone give me a download link to a re-compiled export template that fits what I want for 2.1.4 or 2.1.5rc2?

:bust_in_silhouette: Reply From: eons

Getting the fixed editor wont be useful if you need to add a module, you can use 2.1/HEAD (which already removed placeholders) or remove manually the placeholders and anything you do not use from the manifest template in your version’s source code.

And yes, these things fit, just remove the permissions you are not using.

The template is platform/android/AndroidManifest.xml.template

Here are details on how to fix it:

There is also a “permission fixer” tool, but I have not tried it:

That won’t fix all the issues, though, Play Store may require a privacy policy mentioning all the things you use, maybe you can find some generic policies somewhere.