exponea / exponea-ios-sdk

MIT License
19 stars 27 forks source link

BadDeviceToken on eventlogs #56

Closed litephilip closed 4 months ago

litephilip commented 7 months ago

I am encountering a persistent issue when attempting to send push notifications to my iOS device. Every time I try to send a notification, I receive a response with the error comment: "BadDeviceToken" in my event logs.

I have thoroughly checked and confirmed that the device tokens used are correct. I've tried using both production and development (test) environment tokens, ensuring they are properly encoded. Despite these efforts, the issue remains unresolved.

Could you please provide guidance on what might be causing this "BadDeviceToken" error and how to resolve it? Is there a specific format or configuration that I might be missing,

Ankmara commented 5 months ago

Hi, could you send us your implementation please? Thank you

rameshmicapg commented 5 months ago

Hi @Ankmara i also facing same issue.

Ankmara commented 4 months ago

Hi, is this issue still relevant? Did you use method Exponea.shared.handlePushNotificationToken(deviceToken: deviceToken)?