-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issues when integrated with Amplify push notifications #286
Comments
Hi @AleksandrTermenzhy. Thanks for reaching out and sharing the details. Sorry to hear about the issue you're facing. This is probably similar to the one reported on Expo? If yes, we are aware of it and do have plans to improve experience for such use cases. While the fix might not be available very soon, there is a workaround that should help you solve the issue. To make it work, you need to follow these steps:
Let me know if this doesn't solve the issue or if you have more questions. Have a great day. |
Hey @mrehan27 Also, should adding |
Sorry if this has caused any confusion @AleksandrTermenzhy. I checked with team to confirm, and you don't need to make other changes. Only disabling auto-fetching of token by adding following code in
Do let us know if this solves the problem for you or not. We can dive deeper and help if this doesn't fix the problem for you. Please feel free to ask any more questions you have. Have a great day. |
Setting Thanks for your help @mrehan27 ! |
Thanks for the confirmation @AleksandrTermenzhy. Glad it worked out. Happy to help! |
SDK version: 3.7.2
React Native version: 0.73.8
Are logs available?
No
Describe the issue
In our app we use AWS Amplify for sending push notifications. But it fails to work when used alongside with Customer.IO SDK. Essentially, it seems that the app never registers for push notifications.
The main reason seems to be due to this line:
Commenting this line allows for the app to work as expected and push notifications to arrive successfully. However, I assume it might cause some issue with tracking metrics for CustomerIO side.
I'll appreciate any thoughts on how to fix this.
--
Here is AppDelegate.mm and notifications handler for reference:
The text was updated successfully, but these errors were encountered: