4
\$\begingroup\$

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 ?

\$\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 Wizard Sep 29 '17 at 18:18
1
\$\begingroup\$

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.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.