I need to build the same application 5 times with 5 packages. I'm using , it's working, all the apps can be on one phone.
But I need to use C2D_MESSAGE permission I tried this answer
<uses-permission android:name="${xxx.package}.permission.C2D_MESSAGE" />
It's not working as the androidManifest is moved before the renameManifestPackage action. My app's not compiling, because the filtered manifest is use, and renameManifestPackage work for the other manifest.
Is there any way to modify androidManifest before renameManifestPackage, to set uses-permission ?