Skip to content

formbricks/react-native

Repository files navigation

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"
        workspaceId="your-workspace-id"
      />
    </View>
  );
}

Replace your-workspace-id with your actual workspace ID. You can find your workspace ID in the Connections instructions in the Formbricks Configuration pages.

Note: The environmentId prop is still supported as a backward-compatible alias for workspaceId, but it is deprecated and will be removed in a future major release. New integrations should use workspaceId.

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

About

Formbricks React-Native SDK

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors