Installation
Install the web extension package using your preferred package manager:Shell
Setup
- Import the WebExtension from the package
- Create your Dynamic client
- Extend it with the WebExtension
dynamicClient
is ready to be used on any web application.
Example
This example demonstrates how to use a Dynamic Client with web support to prompt users for authentication in a React app.ExpoWeb integration
The@dynamic-labs/web-extension
package is fully compatible with Expo Web applications.
To support both react-native and web you can simply extend the dynamic client with both react-native and web extensions.
Make sure to complete the React Native setup