DelphiWorlds / Kastri

Cross-platform library for Delphi
MIT License
497 stars 119 forks source link

Not receiving a Token in iOS #244

Open BararDiHoumes opened 2 months ago

BararDiHoumes commented 2 months ago

NOTE If you just have a question about a programming problem, please ask in an online forum or chatroom. There are some suggestions here.

This area is ONLY for reporting issues for Kastri

If your issue is for a particular feature (e.g. Camera, Connectivity, Biometric etc), please prefix the issue title with the feature in square brackets, e.g. "[Camera] Crash when image is captured"

Description Guys - I am really stuck, and I am unable to find step-by-step information about Delphi XE12.1 with the new API v1 of Google Cloud Messaging. What it need to be done and what to be configured in order to receiving back notification on the application. So far I did the follow :

Error messages I am not receiving any token

Please indicate Delphi Version: XE12.1 Platform(s) that the issue occurs on (i.e. iOS, Android etc): iOS If mobile, device model and OS version (e.g. Pixel 3a, Android 11): iPhone 8

Steps To Reproduce Concise steps to reproduce the behaviour: I am trying with the Demo included in this repo - Demos\FCMRebooted\FCMBaseDemo changed the bundle identifier and the name

DelphiWorlds commented 2 months ago

If you're not receiving a token, the most likely cause is that you've not patched FMX.PushNotification.FCM.iOS.pas correctly, or the correct profile is not being used. For patching, see this section of the readme. For whether or not the correct profile is being used, see the troubleshooting section.