@waml/react-native
v0.1.0
Published
WAML address screening sheet for React Native
Readme
WAML SDK for React Native
npm install @waml/react-native react-native-webview@^13.17.0Install the native WebView dependencies in your application (including Pods
on iOS), then import WamlSheet or WamlView from @waml/react-native.
import { WamlSheet } from '@waml/react-native';
<WamlSheet
visible={visible}
configuration={configuration}
onClose={() => setVisible(false)}
onEvent={event => { /* completed, open-report, error, close */ }}
/>Pass your application's user access token, HTTPS API URL, chain identifier,
and permitted report origins in configuration. The local form is bundled
with the package; the package does not depend on @waml/web or download its UI.
See docs/api.md for configuration and the API contract, and docs/performance.md for the supported native behavior.
This package has an independent release version. The additional
@waml/web/react-native entry point is versioned with the web package.
Proprietary software; all rights reserved. Use requires a separate agreement. See LICENSE.
