Name Date Size #Lines LOC

..26-Sep-2023-

android/H26-Sep-2023-1,219895

build/H26-Sep-2023-1,126591

ios/H26-Sep-2023-323246

src/H26-Sep-2023-1,131665

.eslintrc.jsH A D26-Sep-2023103 31

.npmignoreH A D26-Sep-2023183 128

CHANGELOG.mdH A D26-Sep-20238.7 KiB222116

README.mdH A D26-Sep-20231.8 KiB4226

babel.config.jsH A D26-Sep-2023104 31

expo-module.config.jsonH A D26-Sep-2023190 109

package.jsonH A D26-Sep-20231.6 KiB4948

tsconfig.jsonH A D26-Sep-2023217 109

README.md

1<p>
2  <a href="https://docs.expo.dev/versions/latest/sdk/webbrowser/">
3    <img
4      src="../../.github/resources/expo-web-browser.svg"
5      alt="expo-web-browser"
6      height="64" />
7  </a>
8</p>
9
10Provides access to the system's web browser and supports handling redirects. On iOS, it uses SFSafariViewController or SFAuthenticationSession, depending on the method you call, and on Android it uses ChromeCustomTabs. 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.
11
12# API documentation
13
14- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/webbrowser.mdx)
15- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/webbrowser/)
16
17# Installation in managed Expo projects
18
19For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/webbrowser/).
20
21# Installation in bare React Native projects
22
23For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
24
25### Add the package to your npm dependencies
26
27```
28npx expo install expo-web-browser
29```
30
31### Configure for iOS
32
33Run `npx pod-install` after installing the npm package.
34
35### Configure for Android
36
37No additional set up necessary.
38
39# Contributing
40
41Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
42