Unity Game App asking to make call or access location - android

Im new on Unity game developing and I made a simple game i installed a Admob plugin for ads but it is asking now the user that this app will make calls or access location.
I check the Admob manifest xml and I found this.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES" />
I understand that this is nesssary for the ads but Im not sure why my app is asking those information. Other apps that have ads dont ask for those.
Im not sure if im missing something.. How can I remove the prompt on installation?
Thanks

Just to answer the question in case somebody is also having the same problem.
I just commented the following code
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--<uses-permission android:name="android.permission.READ_PHONE_STATE" />-->
<uses-permission android:name="android.permission.INTERNET" />
<!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />-->
<!--<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />-->
<!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />-->
<!--<uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES" />-->
And admob is still working without these permission and no issues so far.

Related

The Play Console asks me to remove the location permission in every version

I have a special application for kids on the Play Console. I'm trying to update with the new version. However, I keep getting the following error.
I'm even trying to submit a pre-approved version from the library for review, but it shows the same error without submitting for review.
If your target audience only includes children under 13, you should remove the request for location permission from your app. Please go to the app content section.
I searched for my application code and sub-libraries, but location information is not accessed in any way.
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" />
This is the case with permissions perceived for apk in the app package explorer on the Play Console.
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"
tools:node="remove" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
tools:node="remove"/>
add this to your manifest then try it will solve your problem.

Play Store rejects my app for sensitive permissions

I'm submitting my app today, with the same permissions of one week ago, but Play Store rejects it with message:
Error
Your app cannot be released because the following APKs use sensitive permissions that have not been declared: 2. If you wanted to do a gradual implementation, you will need to do a full implementation.
The permissions are these (from one year):
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
I don't understand what permission is, and why I have this message.

App rejected (React native android app play store submission)

I need help regarding app store submission for my android app, when I try to submit they said like following always.
Your recent app submission was rejected for violating the Permissions policy. Before submitting your app for another review, read through the policy and make sure your app is in compliance. We've sent more details to admin#xxxxxx.com.
now I had used following permissions only
FYI,
In my previous submission i had SMSRead and SMS receive permission only
but i tried to submit app login credentials and also app video uploaded too..
but that case also same issue i had received..
they ask permissions reg following link
https://play.google.com/about/privacy-security-deception/permissions/
still they asking same find in above screen shot...
my code is following to remove all permissions
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission tools:node="remove" android:name="android.permission.READ_SMS"
/>
<uses-permission tools:node="remove" android:name="android.permission.RECEIVE_SMS"
/>
<uses-permission tools:node="remove" android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"
/>
<uses-permission tools:node="remove" android:name="android.permission.SEND_SMS"
/>
<uses-permission tools:node="remove" android:name="android.permission.WRITE_SMS"
/>
<uses-permission tools:node="remove"
android:name="android.permission.RECEIVE_WAP_PUSH"
/>
<uses-permission tools:node="remove"
android:name="android.permission.RECEIVE_MMS"
/>
<uses-permission tools:node="remove"
android:name="android.permission.READ_CALL_LOG"
/>
<uses-permission tools:node="remove"
android:name="android.permission.WRITE_CALL_LOG"
/>
<uses-permission tools:node="remove"
android:name="android.permission.PROCESS_OUTGOING_CALLS"
/>
<uses-permission tools:node="remove" android:name="android.permission.WAKE_LOCK"
/>
<uses-permission tools:node="remove" android:name="android.permission.ACCESS_WIFI_STATE"
/>
<uses-permission tools:node="remove" android:name="com.android.vending.CHECK_LICENSE"
/>

Permissions not showing when installing generated APK

I have an issue where I can't install the APK.
I have built an APK in Android Studio and sent it to a user.
However, the user is unable to install the APK, it reaches the screen where it shows the list of permissions, but none of the permissions is displayed (empty screen with "Cancel" and "Next" options) and the user can't click on next as well.
However, the user was able to install a generated APK with none permission (comment out all the permissions), and this issue specific to "Sony X F5121" with the latest Android OS.
List of permissions used by my App.
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<permission
android:name="lb.app.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="lb.app.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Google Maps Stuff -->
<permission
android:name="lb.app.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="lb.app.permission.MAPS_RECEIVE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
1- Why permission not showing up.
2- Why user unable to install
in which Android device you are running you app..?
Beginning in Android 6.0 (API level 23), users grant permissions to apps while the app is running, not when they install the app. This approach streamlines the app install process, since the user does not need to grant permissions when they install or update the app. It also gives the user more control over the app's functionality; for example, a user could choose to give a camera app access to the camera but not to the device location. The user can revoke the permissions at any time, by going to the app's Settings screen.

Android Media/Photo/Files Permission when Installing the application

I just uploaded my SMS application on Google play store but the problem is that whenever user install the application the app needs access to Photo/Media/Files too. However i donot write this permission in my manifest. please tell me whats the issue
I write following permissions in my app:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.RECEIVE_WAP_PUSH"/>
<uses-permission android:name="android.permission.RECEIVE_MMS"/>
But it still wants to access to media/photo/files
What is the issue?
However i donot write this permission in my manifest.
Yes, you do:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
What is the issue?
You are asking for a permission (WRITE_EXTERNAL_STORAGE) from the STORAGE permission group.

Categories

Resources