moises@coderbox.com.br 0 Posted December 3, 2024 Hello, Masters. I appreciate your help in advance. All of my production apps have stopped receiving notifications on iOS. They only start working again when the user uninstalls and reinstalls the app, which generates a new token that works correctly, both in Firebase Messaging tests and in notifications sent from my server. It seems that the previously generated tokens are no longer valid. Is there a way to force the app to generate a new token without requiring it to be uninstalled? Additionally, what is the best approach to handle users who already have the app installed in production, considering there are several hundred of them? Share this post Link to post
Patrick PREMARTIN 117 Posted December 3, 2024 Hi, Perhaps you can ask to Apple directly if they had a problem with your account ? Share this post Link to post
Dave Nottage 604 Posted Monday at 01:00 AM On 12/3/2024 at 11:10 PM, moises@coderbox.com.br said: All of my production apps have stopped receiving notifications on iOS After a conversation I have had with someone with the same problem, it seems it is due to a bug in earlier versions of the Firebase iOS SDK. The implementation in Delphi uses v6.28, and the latest version is v11.11, so it is quite a way "behind". Due to a linker issue in Delphi 12.1 and earlier, the latest version of the Firebase iOS SDK that can be used with it is v10.8. Delphi 12.2 can use at least v11.2, however I believe the linker starts failing again sometime before v11.11 (I'd have to check this). Having said all that, even if you download one of the later versions of the Firebase iOS SDK, there's a number of changes that would need to be made to Delphi source code in order to make it work. Alternatively, the FCM implementation in Kastri could be used, which is known to work with Firebase iOS SDK v11.2. Share this post Link to post
Dave Nottage 604 Posted Monday at 01:11 AM 9 minutes ago, Dave Nottage said: I believe the linker starts failing again sometime before v11.11 (I'd have to check this) Looks like I was wrong about that. Compiling the FCMBaseDemo in Kastri, using the Firebase iOS SDK v11.11 succeeds using Delphi 12.3. Might have been another SDK I was thinking of 🙂 1 Share this post Link to post