@getuserfeedback/react-native
v5.1.8
Published
getuserfeedback React Native SDK
Maintainers
Readme
@getuserfeedback/react-native
In-product surveys for React Native apps, from getuserfeedback.com.
Get started
Install the SDK and its WebView peer dependency:
npm install @getuserfeedback/react-native react-native-webviewAdd the provider near the root of your app. You can find your Public API key in Widget settings.
import { GetUserFeedbackProvider } from "@getuserfeedback/react-native";
export function App() {
return (
<GetUserFeedbackProvider clientOptions={{ apiKey: "YOUR_API_KEY" }}>
<YourApp />
</GetUserFeedbackProvider>
);
}That's it. Flows configured for automatic Widget delivery now appear based on the targeting rules you set in the dashboard.
For user identity, manual flow controls, and troubleshooting, read the React Native SDK guide.
