Android permissions not requested after reinstall -


i testing android app on own phone. when first run on phone, asks permission user gmail account. when reinstall app, no longer that? make re-requests permission every time reinstall app testing purposes. if, on other hand, change package name, re-requests permission. know how that? appreciated!

thanks!

note: reinstall, mean both pressing run button , resinstalling application first uninstalling via settings.

this not actual android permission, it's account access grant specific accountmanager. technically, when uninstall app grants should cleared, appears broken on devices. if have rooted device or using emulator, can find accounts.db (usually in /data/system/users/0/accounts.db on newer versions) , clear grants , extras tables (that affect other apps, handle care). if don't, clearing data google account manager , google play services help.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -