First time ask for some permission if don’t allow then exit app

You can use this plugin for permission

Plus you can store a bool value in your shared preference to know if the user has performed this step.

As per you problem:- Step 1:- Ask permisssion Step 2:- Check permission status Step 3:- Store bool value in you shared preference to check if it is user’s first time Step 4:- If permission status is success, take user to the home screen or dashboard. If permission status is failure, exit the app

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top