Skip to content

Repository files navigation

Formbricks React Native SDK

npm packageMIT 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):
importFormbricks,{track}from"@formbricks/react-native";exportdefaultfunctionApp(){return(<View>{/* Your app code */}<FormbricksappUrl="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

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages