简体   繁体   中英

Add user permissions to an already authorized Android application?

I've been testing my app for several days now, but now I want to add new functionalities and I need more permissions from the user. How can I do this if the user already authorized the old permissions? If I add the new permissions to my permissions array, the application stops working.

PD: why am I always getting a -1? Is someone doing that just for fun? :(

If I add more permissions to my permissions array, I get an error when trying to log in:

An error ocurred, Please try again later

If I delete the new added permissions, the application works again.

Answer:

I found out I was using the wrong permissions, now I am using the right ones, that was the solution.

Adding new permissions to an active application isn't a problem. Simply add it. When users download the application, they need to again accept the permissions, like first time.

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