UNPKG

@use-expo/web-browser

Version:
37 lines (34 loc) 1.74 kB
<div align="center"> <h1>web-browser hooks</h1> <p>Complementary hooks for <a href="https://docs.expo.io/versions/latest/sdk/webbrowser/">Expo Web Browser</a></p> <sup> <a href="https://github.com/bycedric/use-expo/releases"> <img src="https://img.shields.io/github/release/byCedric/use-expo/all.svg?style=flat-square" alt="releases" /> </a> <a href="https://github.com/bycedric/use-expo/actions"> <img src="https://img.shields.io/github/workflow/status/byCedric/use-expo/Packages/master.svg?style=flat-square" alt="builds" /> </a> <a href="https://exp.host/@bycedric/use-expo"> <img src="https://img.shields.io/badge/demo-expo.io-lightgrey.svg?style=flat-square" alt="demo" /> </a> </sup> <br /> <p align="center"> <a href="https://github.com/byCedric/use-expo#readme"><b>Other hooks</b></a> &nbsp;&nbsp;&mdash;&nbsp;&nbsp; <a href="https://github.com/byCedric/use-expo#usage"><b>Usage</b></a> &nbsp;&nbsp;&mdash;&nbsp;&nbsp; <a href="https://github.com/byCedric/use-expo/blob/master/CHANGELOG.md"><b>Changelog</b></a> </p> <br /> <pre>yarn add @use-expo/web-browser expo-web-browser</pre> <pre>expo install @use-expo/web-browser expo-web-browser</pre> <br /> </div> - [`useBrowsers`](./docs/use-browsers.md) &nbsp;&mdash;&nbsp; get a list of valid browser packages on Android. - [`useWarmBrowser`](./docs/use-warm-browser.md) &nbsp;&mdash;&nbsp; warm the provided browser. A list of browsers can be found by invoking `WebBrowser.getCustomTabsSupportingBrowsersAsync()`. <div align="center"> <br /> with :heart: <strong>byCedric</strong> <br /> </div>