Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving a Token in iOS #244

Open
BararDiHoumes opened this issue Aug 27, 2024 · 1 comment
Open

Not receiving a Token in iOS #244

BararDiHoumes opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@BararDiHoumes
Copy link

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 :

  • Recreated the App ID in Apple Dev portal, and recreated the certificate to include Push Notifications.
  • In Firebase Console I've added the same app with the same name and identificatory, and uploaded the PNS auth key.

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 DelphiWorlds self-assigned this Aug 27, 2024
@DelphiWorlds DelphiWorlds added the question Further information is requested label Aug 27, 2024
@DelphiWorlds
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants