简体   繁体   中英

App permission settings retained in Android with React Native

I ran into a bit of trouble with a project I'm working on. I'm building out the permission logic (prompting the user in runtime) do display the user on the map, but as a response I always get never_ask_again . If I check the apps permission settings then location is enabled there. This makes it hard to build out and test some of the logic. I've tried uninstalling the app and cleaning the project, nothing seems to help.

Is there a way how I could reset the permission settings for this app on my phone or what's the solution to this?

Thanks in advance!

我找到了解决方案,此命令似乎给了我想要的结果adb shell pm clear com.appName

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM