How to deny location permission forever after first deny on Android like on IOS in Flutter?

Viewed 27

I'm building an app that asks permission to access location on different screens, the problem occurs if I deny permission on screen 1 then when I get to screen 2 it still asks permission again. This problem occurs on android and i found out that android will deny forever if denied 2 or more times. How can I make it permanently denied after only 1 first denition? Please tell me the solution. Thanks

0 Answers
Related