MobileNotifications.BackgroundNotificationReceived

From Xojo Documentation

Event


MobileNotifications.BackgroundNotificationReceived(userInfo As Dictionary) As MobileNotifications.RemoteFetchResults

New in 2020r2

Supported for all project types and targets.

A remote notification has been received indicating that the app should retrieve some data in the background.

Notes

According to Apple, your app is given approximately 30 seconds to download the new data. The return value is a hint to iOS so it knows whether or not to repeat the request.