react-native-gleapsdk
v18.0.0
Published
Know exactly why and how a bug happened. Get reports with screenshots, live action replays and all of the important metadata every time.
Readme
Gleap ReactNative SDK

The Gleap SDK for ReactNative is the easiest way to integrate Gleap into your apps!
You have two ways to set up the Gleap SDK for ReactNative. The easiest way ist to use the maven repository to add Gleap SDK to your project. (it's super easy to get started & worth using 😍)
Installation
npm install react-native-gleapsdkUsage
// Import the SDK
import Gleap from "react-native-gleapsdk";
// Initialize it
Gleap.initialize('YOUR_API_KEY');Data regions
Gleap projects are hosted in the EU by default. If your project lives in the US region, set the region before calling initialize:
Gleap.setRegion("us"); // "eu" (default) | "us"
Gleap.initialize('YOUR_API_KEY');setRegion sets the API, websocket and realtime hosts at once. For dedicated servers you can still override a single host afterwards with setApiUrl, setWSApiUrl or setRealtimeHost.
Need help?
Checkout our full documentation or contact us - we are always here to help 👋.
