Completed
React Native IOS app crashes on startup
brand new react native app crashes on startup after calling Countly.init in IOS emulator react native 0.62 and works perfectly on android
Comments
Can you send me the crash logs and how you installed the SDK.
Thanks
There is no logs, the app just exits with no errors
I followed the guide in the docs and it works fine on android https://support.count.ly/hc/en-us/articles/360037813231-React-Native-Bridge-
Can you install dev-nicolson branch
yarn add https://github.com/Countly/countly-sdk-react-native-bridge.git#dev-nicolson
And see if the error persists,
Also unlink and link again.
Still happening, no errors are logged!
Have you tried this?
and then re run the app?
If you run the app using xcode, it will give you error logs.
Can you send the logs then.
Can you try our example app and see if that works / helps.
https://github.com/Countly/countly-sdk-react-native-bridge/tree/master/example
i'm sorry for the late reply, i tried starting the app using xcode but i ran into other problems
i'll try to follow the example again
Where you able to get the example working?
I'm not sure if that what fixed it, but i tried passing a deviceId instead of null like the example and it worked.
even after switching back to null it still working. other than that i didn't change anything.
@... thank you for your support
It may happen sometimes that you wait for a day and it fixes tomorrow on it's own.
Please keep me posted, if there is any bugs you encounter.
Thanks
Please sign in to leave a comment.