简体   繁体   中英

iOS AppDelegate didReceiveRemoteNotification not triggered with silient push on cellular network in background

I have an application that receives silent push notifications from Firebase and triggers upload by URLSession with background configuration. Everything works well on WiFi network, application woke up in the background, didReceiveRemoteNotification triggered and upload request is preparing. But after disabling WiFi, on the cellular network it's not happened and continues immediately after WiFi-enabled and connected...

Make sure you have turn on background refresh for cellular data too. You can turn on from following:

Settings > General > Background App Refresh: Off Wi-Fi Wi-Fi & Cellular Data

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM