Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: null is not an object (evaluating 'ClientModule.init') #142

Open
theartificialguy opened this issue Jan 27, 2022 · 4 comments
Open

Comments

@theartificialguy
Copy link

So, I was trying to migrate my react-native-cli project to expo managed project, and I encountered this error. Any solution to this problem? does it not work with expo?

@pe1ros
Copy link
Contributor

pe1ros commented Jan 31, 2022

Hello @Yash-007

Expo provides two workflows (Managed and Bare).
Voximplant React Native SDK uses native modules, that’s why React Native application (based on Expo) should use only Bare workflow. It means you need to “eject”.

If you are using Expo SDK 40 or below, please follow the instruction on this page: https://docs.expo.dev/expokit/eject/
For Expo SDK 41, please follow the instruction on this page: https://docs.expo.dev/workflow/customizing/

Please consider that moving to the bare workflow may cause the issues such as:

  1. You need Xcode and Android Studio to develop or build the native code.
  2. React native version should be upgraded manually.
  3. and others described here: https://docs.expo.dev/expokit/eject/#should-i-eject-to-expokit

@elvinmeza
Copy link

Hey @theartificialguy were you able to make it work with Expo? I have a similar scenario and I'm considering to give it a try.

@SuperPablo987
Copy link

I am also trying to implement in Expo if anyone ever figured out how to do it...

@SuperPablo987
Copy link

breaking out to the 'bare-workflow' does not help. as if you wish to continue testing in expo you will still run into the issue of

"Cannot read property 'init' of null" when trying to run your app in expo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants