So far I have successfully requested notification permission from the user, received the APNS token and registered it with send bird (up to step 3 in the guide):
And your catch block is not about registering token to SB but firebase getToken. I doubt getting an error from SB register token would fall into catch block
I have refactored my code and getting success messages for sending the APNS token to SB, same for FCM token. I can also see them in the User section in the Sendbird dashboard.
I am still not receiving messages from SB to my device. I have the certificates in the Notification settings and the FCM server key too.
Do you have any other ideas? Is it possible to see the logs from SB server to check the messages are being sent?
@emmad Can you show me how you register token to SB? success from register method is nothing more than register a key to the server. There are three possibilities: