Skip to main content

React Native Expo Guide

The Gleap SDK for React Native Expo is the easiest way to integrate Gleap into your apps. Communicate with your users directly and build better software by discovering their everyday pain points. Gleap is your all-in-one customer feedback tool for apps and websites.

For the SDK to work, you need an API key, which you can get for free at app.gleap.io.

Supported platforms

✅ iOS✅ Android✴️ Web (see setup)

🏗 Installation

Install the Gleap ReactNative SDK through npm .

npm install react-native-gleapsdk --save

👷‍♂️ Initialize the SDK

Open your preferred development tool and add the following to your index.js.

import Gleap from 'react-native-gleapsdk';

After importing the Gleap SDK add the following line to your index.js. Please make sure that it gets executed only once.

Gleap.initialize('Your_TOKEN');

You don't have an API key? Get one for free here.

🛠 Build your Expo application

caution

Gleap won't work with Expo Go out of the box as Gleap requires native dependencies. Please use one of the following two methods to build and run your apps.

Expo build

Use expo prebuild or expo run:android/expo run:ios to update your native projects.

EAS Build

Use EAS Build to build your development client.

tip

You are all set now! Run the app and report your first bug 🎉.

🤝 Need help?

We are here to help, simply drop us an email at [email protected].