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

0

Comments

14 comments
  • Can you send me the crash logs and how you installed the SDK.

    Thanks

    0
    Comment actions Permalink
  • There is no logs, the app just exits with no errors

    0
    Comment actions Permalink
  • 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-

    0
    Comment actions Permalink
  • 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.

    0
    Comment actions Permalink
  • Still happening, no errors are logged!

    0
    Comment actions Permalink
  • cd ios 
    pod install
    cd ..
    0
    Comment actions Permalink
  • Have you tried this?

    0
    Comment actions Permalink
  • and then re run the app?

    0
    Comment actions Permalink
  • If you run the app using xcode, it will give you error logs.

    Can you send the logs then.

    0
    Comment actions Permalink
  • Can you try our example app and see if that works / helps.

    https://github.com/Countly/countly-sdk-react-native-bridge/tree/master/example

    0
    Comment actions Permalink
  • 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

     

    0
    Comment actions Permalink
  • Where you able to get the example working?

    0
    Comment actions Permalink
  • 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 

    0
    Comment actions Permalink
  • 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

    0
    Comment actions Permalink

Please sign in to leave a comment.