1

How to make in-app browser in react-native?

Basically we are opening our website in default browser like so Linking.openUrl.

But i need to implement in-app browser ( Web Page within an app ).
How do i can do it? example

2 Answers 2

3

What i did in my app is couple a Modal with a WebView

So your user do not leave the app

Sign up to request clarification or add additional context in comments.

Comments

0

You can use the new InAppBrowser system for React Native, using SafariViewController and ChromeTabs to support both platforms (iOS and Android).

2 Comments

How can I control this with something like onNavigationStateChange which is available for a simple webview?
You can't do that with Native code using the browser, sorry

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.