MobileNotifications.BackgroundNotificationReceived

From Xojo Documentation

Revision as of 21:09, 9 November 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.