React Native
Installation​
Requirements
- React Native version 60 or above:
- iOS 10+
- NPM
- Yarn
npm i @airsnap/react-native
yarn add @airsnap/react-native
- iOS
- Android
Install the Pod library:
pod install
Unfortunately we do not support Android at the moment. 😢
Please contact us if you'd like to see support here.
Initialize the library​
After getting the API key, initialize AirSnap.
import AirSnap from '@airsnap/react-native';
AirSnap.start('<api-key>');