-
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
[Bug]: iOS not hitting any push notification listeners #22
Comments
Hi @mvolonnino, couple of questions to clarify:
With this
I'm not sure I fully understand this part. Do you mind clarifying what you mean by sending to your email? |
@jerielng - thank you for responding! I do apologize, i actually figured out the issue last night and forgot to update this post. It was related to the development environment selected with that picture you sent above! To answer your last question (sorry about being so vague, was a long day of testing & building yesterday🤣)
I do have a couple follow up questions thought:
|
|
@jerielng - Thank you I appreciate the response! so I am a little confused. I have set up the deep linking and enabled it on Android like so
with the for iOS though, i went through the docs and over the sample app and set this up
The push notification is setup the same as the Android push notification in the braze dashboard, with the same link and the only thing the push notification does is open the app. None of the listeners fire either on the iOS side that are setup just like in the sample app. Is there anymore work I am not seeing in through the docs for the Expo Plugin to deep link or get access to the notification like in some of those listeners? *edit - added a platform check, as with the router.push(url), it was continuously pushing Android and stuck in an infinite loop of always logging & pushing the route in Android. Still no luck in getting the iOS listeners to fire at all |
@jerielng - here are some more findings that I have found! Hopefully these make sense, I tried to document each listener as best I could. These were tested in a
Let me know if you would like to discuss anything further / are curious about anything else. Going to try another build without |
Which Platforms?
iOS
Which React Native Version?
Which @braze/expo-plugin version?
Which @braze/react-native-sdk SDK version?
Repro Rate
100%
Steps To Reproduce
Followed the developer guides to implement the braze expo plugin
I also have braze.changeUser() when logging in.
I keep getting
BadDeviceToken
for iOS push notifications. I have FCM setup through EAS credentials as well. Android is working just fine when sending push notifications from braze campaigns. Also should note that when i test FCM push notifications throughcurl
, i receive them just fine on iOS.I should note as well that i have received
In App Messaging
on both iOS and Android, so i know the keys and baseUrl is setup correctly.Expected Behavior
To receive the Test push notifications sending to my iOS device
Actual Incorrect Behavior
No braze push notification comes through, and sometimes ill get a
BadDeviceToken
show up in the message activity logs.I should note that everytime i send it to my email that is signed into app on iOS, i get a success message on the push notification sending.
Verbose Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: