hivecfm-react-native
v2.3.1
Published
HiveCFM React Native SDK allows you to connect your app to HiveCFM, display surveys and trigger events.
Maintainers
Readme
HiveCFM React Native SDK
Please see HiveCFM Docs. Specifically, Framework Guides.
What is HiveCFM
HiveCFM is your go-to solution for in-product micro-surveys that will supercharge your product experience! 🚀 For more information please check out hivecfm.com.
How to use this library
- Install the HiveCFM package inside your project using npm:
npm install hivecfm-react-native- Import HiveCFM and initialize the widget in your main component (e.g., App.tsx or App.js):
import HiveCFM, { track } from "hivecfm-react-native";
export default function App() {
return (
<View>
{/* Your app code */}
<HiveCFM
appUrl="https://app.hivecfm.com"
environmentId="your-environment-id"
/>
</View>
);
}Replace your-environment-id with your actual environment ID. You can find your environment ID in the Connections instructions in the HiveCFM Configuration pages.
For more detailed guides for different frameworks, check out our Framework Guides.
