My problem is that , i have 2 permission request for the user upon installing the app.
First: Location Permission
Second: Push Notifications
Problem: When the user installed the app, it will show the location notification first, then after miniseconds, it will show the push notification premission. after we select from the options in push notification, it will then show the location notification.
How can i delay showing the push notification permission so that the user can select on the location permission request first?
Sample pseudo code
-> Normal Location Request [CLLocationManager] without if / else
-> Normal push notification request
I want it to be like
if (**user selects option in location request**) //either allow or not
show push notification request