Hi,
I'm using Google Mobile Ads Plugin in Unity 5.3.4.f1. It is working ok for now but I tried to add Google Analytics V4 plugin. At first it didn't work (it needs old gpgs lib which gets removed by jar resolver) but I then added manually play-services-analytics-9.0.2.aar and play-services-analytics-impl-9.0.2.aar and it work great. But one problem, it adds optional permission WAKE_LOCK. Inside Unity I can't do anything to reove it because it pulls it from Manifest located in .aar file. I tryed this method (
http://stackoverflow.com/a/34933166) but then I get Manifest merge error.
Then I removed this permission from AndrdroiManifest located in two .aar files (extracted it, modifed it and returned it back to .aar file). Now I don't have this permission and everything works.
Am I allowed to do this? To tamper with .aar file. I don't want to get ban because of detection that .aar files were modifed.
This is maybe a bit offtopic but analytics git forum is abandoned.
Thank you on your help and sorry for my bad english.