Solved

Errors initializing React-Native SDK

  • 17 November 2021
  • 5 replies
  • 411 views

Badge

Basically, it’s the same issue as here: https://github.com/amplitude/Amplitude-ReactNative/issues/96, while trying to run web version.

My package versions:

@amplitude/react-native": "^2.6.0"
react-native: "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz"

icon

Best answer by cesarribeiro 19 November 2021, 14:47

View original

5 replies

Userlevel 6
Badge +8

Hi @cesarribeiro ,

 

Thank you for bringing this to our attention. I have brought this up with the Engineers and I will reach out in the coming days when I get an update from them. Thank you!

Badge

Thank you very much Denis.

I found out that since this project in particular is using Expo, I should go through Expo’s installation option (https://docs.expo.dev/versions/latest/sdk/amplitude/).

Anyway, I’ll try it soon and post back the results here asap.

Badge

Yes, worked with iOS emulator. Did not try for Android yet and web version is unsupported in their library atm.

Userlevel 6
Badge +8

Hi @cesarribeiro Ah I see, it was the web version and not supported, correct? Or are you still experiencing the issue? 

Badge

Correct, since we are using Expo and need to use Expo’s package, web version is not supported there yet. Thank you for your support!

Reply