Closed drweizak closed 2 weeks ago
Hey @drweizak, thanks for raising this! We're still in the process of porting these changes over into the Braze Expo plugin, so if you are not integrating that populateInitialPayload
method in Objective-C, that payload will return null on launches from a terminated state. We will keep you updated when this has been released on Expo. Thanks!
Thank you so much for the clarification.
Should I close it? Or maybe re-title it to have expo reference, so others can come and see it?
Thanks for re-titling. That will help for visibility. We can keep this issue open as a way to keep you updated when we have released a corresponding update for the Expo plugin.
Hey @drweizak, we've released 3.0.0 of the Braze Expo plugin, so you should now be able to receive a valid payload. Feel free to reach back out if you have further questions. Thanks!
Which Platforms?
iOS
Which React Native Version?
0.75.4
Which @braze/react-native-sdk SDK version?
13.1.0
Repro Rate
100% of the time
Steps To Reproduce
Set this Code:
Create a push notification campaign with a On-click behavior to a your-app-schema://path-to-your-app
Expected Behavior
On notification click with the app killed after opened, the pushPayload should contain an object with the url key.
Actual Incorrect Behavior
On notification click with the app killed after opened, the pushPayload is undefined
Verbose Logs
No response
Additional Information
Using expo and setting up my native app via app.config file with expo `@braze/expo-plugin'. I have not done any changes to:
application:didFinishLaunchingWithOptions:launchOptions:: [[BrazeReactUtils sharedInstance] populateInitialPayloadFromLaunchOptions:launchOptions];