React Native openBrowserAsync() Method
Expo-web-browser
provides access to the system's web browser and supports handling redirects. On Android, it uses ChromeCustomTabs
and on iOS, it uses SFSafariViewController
or SFAuthenticationSession
, depending on the method you call. As of iOS 11, SFSafariViewController
no longer shares cookies with Safari, so if you are using WebBrowser
for authentication you will want to use WebBrowser.openAuthSessionAsync
, and if you just want to open a webpage (such as your app privacy policy), then use WebBrowser.openBrowserAsync
NPM Package :
https://www.npmjs.com/package/expo-web-browser