@formbricks/react-native
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

Formbricks React Native SDK

npm package MIT License

Please see Formbricks Docs. Specifically, Framework Guides.

What is Formbricks

Formbricks is your go-to solution for in-product micro-surveys that will supercharge your product experience! 🚀 For more information please check out formbricks.com.

How to use this library

  1. Install the Formbricks package inside your project using npm:
npm install @formbricks/react-native
  1. Import Formbricks and initialize the widget in your main component (e.g., App.tsx or App.js):
import Formbricks, { track } from "@formbricks/react-native";

export default function App() {
  return (
    <View>
      {/* Your app code */}
      <Formbricks appUrl="https://app.formbricks.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 Formbricks Configuration pages.

For more detailed guides for different frameworks, check out our Framework Guides.

Package Sidebar

Install

npm i @formbricks/react-native

Weekly Downloads

51

Version

2.1.1

License

MIT

Unpacked Size

1 MB

Total Files

8

Last publish

Collaborators

  • formbricks-com
  • matthiasnannt