You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a problem that I don't know how to solve. In an app developed for iOS a while ago, I use Push Notifications in the "old-fashioned way," similar to the EMBTFCM demo, with DW.PushNotification and Firebase 8.7. It has always worked well, and I would really prefer not to update it to the new Firebase version.
The issue is that after updating the app from Delphi XE12 to Delphi XE12.1, it doesn't work properly anymore.
Let me explain the problem: In the OnTokenReceived process, I have set it up to log the returned device token, and I see that when it runs for the first time, it returns a device token, instantly changes to another one, and later, when I close and reopen the app, it changes the token again.
The problem is that if I send a push notification immediately after installing to the last returned token, the app receives it without issues. However, if I close and reopen the app, and send the push to the newly generated token, Firebase reports that the push has been sent successfully, but no notification is displayed on the device.
Does anyone know what could be causing this?
I hope I explained myself well.
Thank you.
The text was updated successfully, but these errors were encountered:
Sorry, but it will take me a few days to send the example. Please don’t close the thread; something unexpected came up, and it will take me a bit longer.
Hello, I have a problem that I don't know how to solve. In an app developed for iOS a while ago, I use Push Notifications in the "old-fashioned way," similar to the EMBTFCM demo, with DW.PushNotification and Firebase 8.7. It has always worked well, and I would really prefer not to update it to the new Firebase version.
The issue is that after updating the app from Delphi XE12 to Delphi XE12.1, it doesn't work properly anymore.
Let me explain the problem: In the OnTokenReceived process, I have set it up to log the returned device token, and I see that when it runs for the first time, it returns a device token, instantly changes to another one, and later, when I close and reopen the app, it changes the token again.
The problem is that if I send a push notification immediately after installing to the last returned token, the app receives it without issues. However, if I close and reopen the app, and send the push to the newly generated token, Firebase reports that the push has been sent successfully, but no notification is displayed on the device.
Does anyone know what could be causing this?
I hope I explained myself well.
Thank you.
The text was updated successfully, but these errors were encountered: