Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can I remove android.permission.PHONE_STATE in my AndroidMainfest.xml created by admob?

Discussion in 'Documentation' started by IKgod, Jul 12, 2017.

  1. IKgod

    IKgod

    Joined:
    Jun 14, 2017
    Posts:
    2
    Hi, I'm trying to put some ads(admob, unity) in my application

    problem is that, when I try to upload apk on my google play console, my apk is rejected because it requires

    android.permission.PHONE_STATE under <!-- Google Mobile Ads Permissions -->, in AndroidManifest.xml..

    I tried writing tools:node="remove" in that line, but got rejected again.

    So I removed that line and It was uploaded without any problem.

    But I'm worried about side-effects caused by such removement.

    Is it OK to remove that permission?
     
  2. erictr

    erictr

    Joined:
    Nov 18, 2016
    Posts:
    7
    did you get an anwser same problem rigth here.