Google Play - 7 Day warning Device Admin permission

252 views
Skip to first unread message

Dave Smart

unread,
Aug 15, 2017, 7:49:32 AM8/15/17
to DroidScript
Hi Guys,

If you receive a warning from Google Play Support titled "7 Day warning for unsupported use of Device Admin permission" complaining about your use of BIND_DEVICE_ADMIN permission.. Don't panic, but read on...

Google has been clamping down on security recently and this rarely used DroidScript permission is not required for normal DroidScript apps, so I've removed it entirely from the latest APKBuilder (it was used for undocumented and experimental kiosk mode functionality)

Please make sure you re-build your app with version 1.56 of the APKBuilder and re-publish it ASAP or Google might remove your app from the Play Store!.  Please, don't leave it till the last day of the 7 days because you might have some unforeseen issues building or uploading!

The new APKBuilder will appear on Google Play within the next couple of hours (Make sure you restart DroidScript before installing it and check that it says 1.56 on the installer page)

For those that require the new APKbuilder more urgently, I've posted it here:-  androidscript.org/Plugins/apkbuilder.zip (drop it into your DroidScript/Plugins folder and restart DroidScript)

Note: This permission was introduced just after version 1.50 of DroidScript was released.  Anything built with 1.50 or before will not have the problem.

You can check if your app has the BIND_DEVICE_ADMIN permission by installing it and then using the following manifest viewer tool to check for the text "android.permission.BIND_DEVICE_ADMIN" (It would appear near the bottom just after the com.smartphoneremote.ioioscript.IOIOScript$AdminReceiver receiver).


Sorry for the short notice and inconvenience guys... we only found out ourselves a few hours ago when Google sent us the warning about some of our recently published apps (I wish they had given us more notice!)

Regards
David

davefinney

unread,
Aug 15, 2017, 10:15:44 AM8/15/17
to DroidScript
Thanks Dave,
I've updated DS, now says v1.54
Redownloaded APK builder
Remade APK
Submitted to Google Play Beta, passed all.
Uploaded to Production

Now I wait ......

Hopefully there won't be another "7 Day warning ..." and my app will still be there 8 days from now.

Let's see ...

Dave Smart

unread,
Aug 15, 2017, 12:12:14 PM8/15/17
to DroidScript
Did you check that the APK builder said 1.56 when you installed it?

Did you try installing your APK to your phone and using this app to check your manifest?   https://play.google.com/store/apps/details?id=jp.susatthi.ManifestViewer

davefinney

unread,
Aug 15, 2017, 3:03:27 PM8/15/17
to DroidScript
Hi Dave,
Yes and yes/no.
Yes, APK builder is v1.56
Yes, installed app on phone, seems to work.
No, don't have ManifestViewer

Not sure which DS v I had before (said it was v1.5), but I believe it was the first to have ".time" for GPS Rx enabled (which my app does use).

Thanks for the fast fix, BTW!

Leandro P

unread,
Aug 18, 2017, 6:58:31 PM8/18/17
to DroidScript
Thanks Dave!

Success here!

Thanks again!

Reply all
Reply to author
Forward
0 new messages