Reputation: 609
I was facing a issue while uploading my apk. Play console was not allowing me to upload the apk and was giving this error "You can't edit this app until you create a new app release declaring sensitive permissions.".
I faced this issue after upgrading my app's minimum API level from 16 to 19. I did this to support a library which I integrated before uploading i.e. RazorPay.
So, I rechecked if my merged Manifest added any unwanted permission, but it didn't. Just to be safe, I added the code to remove merged manifest permission. Still it didn't work.
I tried to trigger the declaration form by intentionally adding sms permission and filled it by anti-SMS phishing (randomly).
I am able to roll-out my app but since then, whenever I try to upload my app even without sms or call log permission, Google Play keeps on rejecting the app. There's no way to resubmit the declaration form with no permission selected.
Here are my manifest permission :
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission
android:name="android.permission.RECEIVE_SMS" tools:node="remove" />
<uses-permission
android:name="android.permission.READ_SMS" tools:node="remove" />
<uses-permission
android:name="android.permission.READ_CALL_LOG" tools:node="remove" />
<uses-permission
android:name="android.permission.WRITE_CALL_LOG" tools:node="remove" />
<uses-permission
android:name="android.permission.CALL_PHONE" tools:node="remove" />
Upvotes: 4
Views: 3538
Reputation: 609
After a long wait for Google Play Support team's response, they finally gave me a solution which worked.
Here is the E-mail from Google which solved my issue :
Hi,
Thanks for contacting Google Play Developer Support.
While the relevant team conducts an investigation on your issue, please follow the next steps and let us know about the result.
If anyone comes around this problem, this can help.
Upvotes: 3
Reputation: 773
Any android library needs to have an AndroidManifest.xml. So the issue may be that your library is making use of any permission that violates the google permission policy.
Upvotes: 0
Reputation: 597
Since you are using build variant then define it inside your highest priority manifest file
Upvotes: 0
Reputation: 29783
First, you need to check if all the nasty
permissions already removed. You need to check your current permissions by running the following command in your terminal/console:
aapt d permissions your.company.name.apk
see the Permissions in Google Play.
Then, mark them as removed.
Last, (this once happened to me), check your Application page in Google Play and try to find if you have Alpha
or Beta
version of the App. Remove them by making a release for Alpha
or Beta
without adding an apk to it. Then save and create the release. This should make the Alpha
or Beta
being overrided by the Production version.
Upvotes: 0