I’ve been looking around online trying to research how to set up a push notification to go off after x number of seconds or a set time. I haven’t been able to find anything to help me out though. I’ve found numerous good tutorials like this, however they don’t seem to state how to set up when the alerts will go off.
Also, please could someone tell me what would happen if the user had the app open when the alert is due to go off? Will it just be ignored or will it still be shown?
Have you considered using local notifications instead? You can schedule it to go off at a certain time without having to make the server round-trip