ios – Can background fetch be triggered by push notifications or app open?

[ad_1]

I’ve a background activity dealt with in performFetchWithCompletionHandler and it has advanced logic together with API request and iCloud sync. It is working tremendous by itself however in accordance with consumer feedbacks/occasions generally it runs within the foreground and it causes some information corruption and concurrency issues.

cloud_sync_bg_started -> Background fetch begins.

splash_view -> First ViewController when the app begins.

ic_document_open -> Occasion about associated background fetch logic.

I am assuming that the applying is awaking with a push notification and Working System decides to run the background activity at the moment and it continues to run after the app opens however I could not discover something that proves this.

Can background fetch (performFetchWithCompletionHandler) be triggered by push notifications or app open?

[ad_2]

Leave a Reply