@ethioreview/review-widget-react-native
v0.1.1
Published
React Native WebView wrapper for EthioReview widget-frame embeds
Maintainers
Readme
@ethioreview/review-widget-react-native
React Native WebView wrapper that loads the EthioReview widget-frame.html embed.
Docs: docs.ethioreview.com
Install
npm install @ethioreview/review-widget-react-native react-native-webviewimport { ReactNativeReviewWidget } from "@ethioreview/review-widget-react-native";
<ReactNativeReviewWidget
host="https://cdn.ethioreview.com"
publicKey="pk_test_YOUR_KEY"
widgetId="YOUR_WIDGET_ID"
baseUrl="https://api.ethioreview.com"
/>Related packages
| Package | Use for |
| ------- | ------- |
| @ethioreview/review-widget-web-iframe | Frame URL / postMessage helpers |
| @ethioreview/review-widget-web-vanilla | widget.js loaded inside the frame |
