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

Support for Expo #5

Open
karlvd opened this issue Sep 7, 2021 · 2 comments
Open

Support for Expo #5

karlvd opened this issue Sep 7, 2021 · 2 comments

Comments

@karlvd
Copy link

karlvd commented Sep 7, 2021

Since react-native-inappbrowser-reborn requires you "pod install" etc. it´s not possible to use this library with Expo without Ejecting.

A potential solution would be to replace the current InAppBrowser with the Webbrowser from Expo
https://docs.expo.dev/versions/latest/sdk/webbrowser/

The expo-web-browser is a standalone package so this would work for both Expo and non-Expo builds. The Webbrowser component is pretty stable and well used in a lot of similar scenarios requiring browser functionality in the app, it´s platform-independent and supports redirects which I think you need.

Instructions for using the package in a bare React Native app can be found here
https://github.com/expo/expo/tree/master/packages/expo-web-browser

@alexsalido
Copy link
Collaborator

@karlvd There's no plans to add support for Expo at the moment. We initially built the SDK using the expo-web-browser but ran into other issues.

@pawel3ala
Copy link

Bumping up the question. It would be really nice to create an Expo Plugin. I can help you with that

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