Post

Replies

Boosts

Views

Activity

Comment on Silent Background Push Notification not working in Release build.
Yes, I was opening the app switcher and swiping my app away to force quit. Then using a cloud function to deliver FCM background pushes, which would then launch my app in the background (not visible to the user). I'm not building this natively though, but using a cross-platform React Native library so it abstracts away some of the implementation details. The docs claim to support handling messages in background/quit states. https://rnfirebase.io/messaging/usage#background-application-state
Oct ’23
Comment on Silent Push not received when app is in background / dismissed iOS 14.4
Do these relaxed rules for the delivery of silent push notifications also apply to TestFlight builds? I have been testing on a few different devices, but I'm seeing inconsistent results. On one device, the silent pushes are able to successfully launch my app in the background, even after the app has been force killed by the user. This had me hopeful that I could get this working for all app states (foreground, background, killed).
Oct ’23
Comment on Connecting to a bluetooth device while app is terminated
Thanks for the clarification. Could OP use something like iBeacon region monitoring to wake up the app from a killed state?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Silent Background Push Notification not working in Release build.
Yes, I was opening the app switcher and swiping my app away to force quit. Then using a cloud function to deliver FCM background pushes, which would then launch my app in the background (not visible to the user). I'm not building this natively though, but using a cross-platform React Native library so it abstracts away some of the implementation details. The docs claim to support handling messages in background/quit states. https://rnfirebase.io/messaging/usage#background-application-state
Replies
Boosts
Views
Activity
Oct ’23
Comment on Silent Push not received when app is in background / dismissed iOS 14.4
I also noticed that OP forgot to include the "apns-push-type" header field that is described in the developer docs. Maybe that was added later. "Additionally, the notification’s POST request should contain the apns-push-type header field with a value of background, and the apns-priority field with a value of 5."
Replies
Boosts
Views
Activity
Oct ’23
Comment on Silent Push not received when app is in background / dismissed iOS 14.4
Do these relaxed rules for the delivery of silent push notifications also apply to TestFlight builds? I have been testing on a few different devices, but I'm seeing inconsistent results. On one device, the silent pushes are able to successfully launch my app in the background, even after the app has been force killed by the user. This had me hopeful that I could get this working for all app states (foreground, background, killed).
Replies
Boosts
Views
Activity
Oct ’23