Humberto Active Member Licensed User Longtime User Jan 20, 2017 #1 When I send a post notification and the app is : - in foreground the "Application_RemoteNotification" is fired. - in background and I receive a push notication and click at the message my program open and show. - but when a push notification arrives and I don´t click and just open the app, the "Application_RemoteNotification" doesn´t fire and I don´t see the message. Why ?
When I send a post notification and the app is : - in foreground the "Application_RemoteNotification" is fired. - in background and I receive a push notication and click at the message my program open and show. - but when a push notification arrives and I don´t click and just open the app, the "Application_RemoteNotification" doesn´t fire and I don´t see the message. Why ?
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2017 #2 This is the expected behavior. This is how it works in iOS. You shouldn't rely on the push notification data. You should instead connect to your server and pull the required data when the app starts. If you do want to rely on the push data then you can use silent notifications and store the data yourself. Upvote 0
This is the expected behavior. This is how it works in iOS. You shouldn't rely on the push notification data. You should instead connect to your server and pull the required data when the app starts. If you do want to rely on the push data then you can use silent notifications and store the data yourself.