I have changed my ios-app to firebase-push service and I'm using silent push and fetch download. I understood the silent-push, that the
is also raised, when the app is in the background and not killed from the user over the taskmanager.
But I have now mentioned, that my app doesn't receive silent-push messages, when it is in the background. For some times (not always), it is possible to send a push for max one minute after the app was set to background, but after that, the app is again not reachable. The app is always in the user-list.
After activating the app, every push-message arrives, so that no message is lost.
Im using the
and the newest main-file from fetch-download.
Is it possible, that apple changed something in the last updates?
I have also checked it with the releaselogger, but no result...
Edit: If i call fm.fcmdisconnected in application_background, no push will arrive, if the app is in the background. If i don't use fcmdisconnect, i will receive push for a few seconds, i think as long, as the os kills the app. It seems, that with killing the app by os, the fm is disconnected and the firebase-push doesn't launch the app. Under apn, it was no problem...
B4X:
Sub Application_RemoteNotification (Message As Map, CompletionHandler As CompletionHandler)
But I have now mentioned, that my app doesn't receive silent-push messages, when it is in the background. For some times (not always), it is possible to send a push for max one minute after the app was set to background, but after that, the app is again not reachable. The app is always in the user-list.
After activating the app, every push-message arrives, so that no message is lost.
Im using the
B4X:
#PlistExtra: <key>UIBackgroundModes</key><array><string>fetch</string><string>remote-notification</string></array>
and the newest main-file from fetch-download.
Is it possible, that apple changed something in the last updates?
I have also checked it with the releaselogger, but no result...
Edit: If i call fm.fcmdisconnected in application_background, no push will arrive, if the app is in the background. If i don't use fcmdisconnect, i will receive push for a few seconds, i think as long, as the os kills the app. It seems, that with killing the app by os, the fm is disconnected and the firebase-push doesn't launch the app. Under apn, it was no problem...
Last edited: