Closed yhl0519 closed 9 months ago
Hey @yhl0519, thanks for reporting this. It looks like there's a crash in our HTTPClient code in our underlying Swift SDK. We'll need more details to be able to investigate as this isn't reproducible from our end. Could you send the following details below to our support team at support@braze.com?
Could you share a little more information on which method is causing this crash? (It should be in the side bar if you expand it a little more).
Additionally, could you also share some additional details around this crash? Does it happen 100% of the time? (i.e. are you able to reproduce this when you uninstall and reinstall?)
Finally, could you also share the URL string you configured in your Braze integration for the endpoint? There is most likely a failure to build a URL object in this piece of code, but it would help to know what URL string the app is trying to pass in.
sorry.. There was a typo in the part where the API key was received.😅 I will close this PR.
@yhl0519 Thanks for the update! Great to hear that it has been resolved.
Out of curiosity, was it a typo in the API key or the endpoint? Any additional information you can provide about what led to this issue would be a big help to prevent similar issues from happening in the future!
@jerielng
The problem was that I was not familiar with Object-C.
@"{BRAZE_API_KEY}"
-> @"BRAZE_API_KEY"
😂
Which Platforms?
iOS
Which React Native Version?
0.71.13
Which @braze/react-native-sdk SDK version?
8.1.0
Repro Rate
100%
Steps To Reproduce
Expected Behavior
real device build and running success
Actual Incorrect Behavior
app crash and not running
Verbose Logs
No response
Additional Information
xcode version: 15.0.1 devices ios version: 17.1.1