Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Larry3 · Feb 25, 2014 at 03:00 PM · androidadmobpermission

Unity Android READ_PHONE_STATE permission

Hello.

I've created a mobile game for iOS and Android and it uses chartboost plugin to show advertisement and AdMob as well.

The thing is that I've created some permissions in the AndroidManifest in order to make this plugins work and one of this permissions is READ_PHONE_STATE which is asking for permission to read the call information to those who install the game. I don't like this because could generate distrust among users.

I've tried to delete the line that ask for this permission but when I do it the game crash at the beginning, so, is there any way to remove this permission? Or I have to keep it if I want to show advertisement?

Sorry if there are some grammar mistakes, I'm not english native and thank you for your help.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dblfstr · Feb 25, 2014 at 03:16 PM 0
Share

I use admob, and do not need this permission. I looked into the chartboost plugin, and I do not see where this permission is required. Are you sure you deleted it from the manifest properly?

Chartboost manifest:

 <!-- ACTIVITIES -->
     
 <activity android:name="com.chartboost.sdk.CBImpressionActivity"
         
 android:excludeFromRecents="true" 
 android:theme="@android:style/Theme.Translucent.NoTitleBar" />
 
 <activity android:name="com.chartboost.sdk.unity.CBUnityPlayerProxyActivity"
 
 android:label="@string/app_name"
 
 android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|ui$$anonymous$$ode|touchscreen">
         <intent-filter>
             <action android:name="android.intent.action.$$anonymous$$AIN" />
             <category android:name="android.intent.category.LAUNCHER" />
         </intent-filter>
     </activity>
     <activity android:name="com.chartboost.sdk.unity.CBUnityPlayerActivity"
               android:label="@string/app_name"
               android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|ui$$anonymous$$ode|touchscreen">
     </activity>
     <activity android:name="com.chartboost.sdk.unity.CBUnityPlayerNativeActivity"
               android:label="@string/app_name"
               android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|ui$$anonymous$$ode|touchscreen">
         <meta-data android:name="android.app.lib_name" android:value="unity" />
     
 <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
 
 </activity>
 
 
 <!-- PER$$anonymous$$ISSIONS -->
     
 <uses-permission android:name="android.permission.INTERNET" />
     
 <uses-permission android:name="android.permission.ACCESS_NETWOR$$anonymous$$_STATE" />
     
 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     
 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   
 <uses-permission android:name="com.android.vending.BILLING" />

avatar image Larry3 · Feb 25, 2014 at 07:15 PM 0
Share

I think that this is related to admob but I don't know what you mean when you say if I'm sure that I deleted it properly. I deleted the line that say:

uses-permission android:name="android.permission.READ_PHONE_STATE"

and thats all.

Am I forgetting anything?

avatar image Dblfstr · Feb 25, 2014 at 07:31 PM 0
Share

Just thinking you might have left the < or /> in the manifest. What are you using for admob?

avatar image Larry3 · Feb 25, 2014 at 08:17 PM 0
Share

I have rechecked and it's properly deleted. I am not sure about what I am using for admob because it was my partner the one who integrated it and I can't talk to him right now, sorry, I would updated with that info as soon as I talk to him.

Thank you for your interest.

Edit: The plugin that we used is this one: http://forum.unity3d.com/threads/173292-Admob-Unity-Package-that-work-with-Unity-3-2-amp-above

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to place Adv Vertically 1 Answer

Reloading the scene causes ads to reload. Is this ok ? 3 Answers

Missing AdActivity with android:configChanges in AndroidManifest.xml 0 Answers

After updating android sdk getting error “Package name is not a valid java package name” 0 Answers

Admob banner is not showing 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges