So recently we made a version of our game that is paid and not free. This of course means that we removed both ads and IAP capabilities. Now I'm sure that I have removed every single peice of code that references ads or IAP from scripts that get built into the apk but Unity still keeps adding the billing permision to the manifest. Apart from exporting a google android project and then modifying the manifest and then buidilng to apk what other options do I have to solve this ?
\$\begingroup\$
\$\endgroup\$
1
-
\$\begingroup\$ Have you tried looking in Unity's staging folder where the build is happening? Maybe the older manifest is cached there and it is being reused because it isn't detecting anything new to merge into a new manifest. \$\endgroup\$– Tartle WizardCommented Sep 29, 2017 at 18:18
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
At least in my case it turns out that under the services tab the IAP option was still ticked on. So even when no scripts reference it that are getting build I guess unity still adds the permision to the manifest.