-
Notifications
You must be signed in to change notification settings - Fork 9
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
Incompatibility with expo notifications and get native token is hanging. #68
Comments
+1 on that. Experiencing the exact same issue and it’s currently blocking us from using this |
+1 also experiencing this - we use expo-notifications to allow us to request push notification permissions as well as retrieve the device token we send to Customer.IO. We also use expo-notifications for non-marketing push notifications. Looks like others are struggling to get Customer.io working with and without expo-notifications as well: And also to access the device token without expo-notifications: |
+1 - it'll be blocking us from using customer.io until there's a fix |
Hello everyone |
Managed here |
Also managed. |
Managed |
Managed here too |
Managed workflow |
Thanks for looking into this. Are you able to give an update? We need to decide if we wait for a fix or look for alternative solutions. |
Same here. The issue is that this plugin is rewriting the app delegates methods for push notifications instead of using Expos app delegate subscription that is supported for Expo modules. |
Btw I am also on managed workflow. The issue is that CIO is rewriting the app delegate methods, but does not call This what the resulting code looks without CIO:
This is what it looks like with CIO:
There is the |
I apologize for the delay in response, it is currently being worked on and would be released as soon as possible |
One option we're considering is to not utilise Customer.IO's SDKs at all and instead integrate with their API from the app to register device tokens. Initial testing suggests that we can see all the same functionality (via utilising expo-notifications) except the use of images in iOS push notifications. I'm hoping that this fix will release before we pull the plug on that approach - but figured it'd be good to share this information for anyone else on this thread who is also somewhat time-pressured on getting a working solution here. |
@xtreem88 any update on the progress? :) |
The issue has been resolved and the fix is available in the latest release 1.0.0-beta.8. Please let us know if you encounter any further issues. |
I just would like to point out, that only thing you have actually fixed is the push notification registration, but the other delegate methods remain unchanged. For example if user receives or taps on push notification which is not CustomerIO notification, theres no way for handle those scenarios right now. |
The fix seems to working locally, but without adding the capability manually in xcode it will return this error.
Even though expo-notifications add the entitlements file it does seem to register the capability. In a managed workflow this will still be unusable at this stage. |
Thank you for pointing this out. The current release only addresses the issue with receiving the device token, as per the requirements of the ticket. The other delegate methods have not been updated yet. We apologize for any confusion that may have caused. . Please note that the other delegate methods have not been updated yet, and the specific scenario you mentioned has not been tested yet. If you are experiencing any other issues, we suggest opening a new ticket to avoid any confusion. Our team will be happy to investigate further. |
@deantes We are working on adding the capability to our plugin to automatically enable push notifications, so that you won't have to perform any manual steps. While we do not have a specific timeline to share at this moment, we will keep you updated on any progress or developments. |
Our application has the need to run both expo-notifications and Customerio rich push notifications.
We have been running into an issue over the last few days where when either requesting the device token with
getDevicePushTokenAsync
or customerio sending an add device token will hang. The promise neither rejects nor resolves.After some investigation it seems that add this function to app delegate seems to be causing the issue.
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: