Phone and Storage permissions [Unity]

82 views
Skip to first unread message

Benj

unread,
Feb 5, 2018, 4:22:52 AM2/5/18
to Google Mobile Ads SDK Developers
Hi there,

After importing GoogleMobileAdsInMobiMediation.unitypackage in my unity project, the compiled Android app is requesting for Phone and Storage permissions.

Before this package I was using AdMob successfully (through GoogleMobileAds.unitypackage) without the app requesting for those permissions. (Banner Ads only)
I found out that com.google.unity.mediation.inmobi package is the one responsible for the permissions requests, but I cannot find any more information.

I'm trying to avoid needing those permission, my app does not require any permissions originally.
Any insight or advise would be greatly appreciated.

Regards,
Benj

mobileadssdk-a...@google.com

unread,
Feb 5, 2018, 11:31:35 AM2/5/18
to Benj, Google Mobile Ads SDK Developers
Hello Benj, 

Thank you for contacting us. It is recommended that you add the permissions mentioned here in your AndroidManifest.xml file. If you continue to have an issue with this, I'd also recommend that you take a look at the required permissions mentioned in this guide for the InMobi network. Let me know if you have any other questions. 

Regards,
Bharani Cherukuri,
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Message has been deleted

Benj

unread,
Feb 5, 2018, 11:42:34 PM2/5/18
to Google Mobile Ads SDK Developers
Thanks for your reply.

I have read those docs several times, and that is not the point. Please let me try to clarify.

Bottom line is: On a unity project, adding the package GoogleMobileAdsInMobiMediation.unitypackage makes the app ask for the following permissions: Phone and Storage

The 2 documentation pages you are sending me to are not related, they advise to add optional permissions. I did so, just to test, and unsurprisingly the app requests for the additional permissions: Phone Storage, Calendar and Location.

Which does not solve my issue: why adding GoogleMobileAdsInMobiMediation.unitypackage alone makes my app request for Phone and Storage permissions?

Thanks in advance

mobileadssdk-a...@google.com

unread,
Feb 6, 2018, 2:21:26 PM2/6/18
to Benj, Google Mobile Ads SDK Developers
Hello Benjamin, 

For InMobi mediation, the only required permissions are mentioned in this guide, which are also optional. It is possible that your application is requesting these permissions for any other features. Could you provide us a sample project of your implementation, so I can take a look for myself? You could respond via Reply privately to author option. 

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

Benj

unread,
Feb 7, 2018, 11:09:36 AM2/7/18
to Google Mobile Ads SDK Developers
I can reproduce with a new project

1- Create a new project in Unity
2- Set the platform to Android
3- Import GoogleMobileAds.unitypackage
4- GoogleMobileAdsInMobiMediation.unitypackage
5- Run

It ask for Storage and Phone permissions. I'm sending you privately a link to download a test project. Though I'll be curious to know if you can reproduce on your side with a new project following my step-by-step above.

Regards,
Benj
Reply all
Reply to author
Forward
0 new messages