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

How can I load the native SDK's into an expo project? #188

Closed
shamoons opened this issue May 17, 2020 · 3 comments
Closed

How can I load the native SDK's into an expo project? #188

shamoons opened this issue May 17, 2020 · 3 comments

Comments

@shamoons
Copy link

I know I have to expo eject, but then what?

@LichKing-2234
Copy link
Collaborator

I think you can run expo project at a physical device but it does not support web because it can not load the native plugin.

@LichKing-2234
Copy link
Collaborator

LichKing-2234 commented Oct 22, 2020

1.Expo only supports the native library on bare workflow.
a.Init Project —— run expo init --template bare-minimum and select the bare workflow.
b.Existing Apps with Managed Workflow —— run expo eject to switch to the bare workflow.
2.run npm i react-native-agora
3.run npx react-native run-ios npx react-native run-android to run application.

@EkaanshArora
Copy link
Collaborator

With the release of Expo SDK 42, it’s now possible to customize the native runtime of your apps using custom development clients, this means that you can now use libraries that contain native code (like this one) with Expo without having to resort to the bare workflow.

You can read this blog to learn how to build a video calling app with Agora using Expo custom development clients.

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

3 participants