Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formbricks/react-native

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formbricks/react-native

Formbricks React Native SDK allows you to connect your app to Formbricks, display surveys and trigger events.

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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() {
  const config = {
    environmentId: "your-environment-id",
    apiHost: "https://app.formbricks.com",
    userId: "hello-user", // optional
    attributes: {
      // optional
      plan: "free",
    },
  };

  return (
    <View>
      {/* Your app code */}
      <Formbricks initConfig={config} />
    </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.

Keywords

FAQs

Package last updated on 30 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc