In my settings tab:
- I have a special switch that can be disabled or enabled based on the API response.
- From the website only the administrator has the right to enable / disable.
- I can go to the API every time during the setup to check the current settings for the user, but there are a couple of drawbacks, for example, if the user is already installed, then he will not update the user interface and each time call the api in the settings tap doesn 't is the perfect solution.
I think the best solution is to send a quiet push notification, which I can use to trigger an API call to update the settings UI when necessary.
But if the user has disabled the push notification, do I still get silence? What is the recommended approach for handling such situations?
ios objective-c push-notification notifications
Tariq Jun 04 '15 at 12:50 2015-06-04 12:50
source share