Installation
To add MoEngage Geofence SDK to your application run the below command from a terminalreact-native-moengage plugin. Make sure you have installed the react-native-moengage plugin as well.
Android Installation
For location triggered push to work, ensure your Application has:
- Location permission
- Play Services Location Library
- Device’s location should be enabled
iOS Installation
Install the iOS dependencies for thereact-native-moengage-geofence plugin with either CocoaPods or Swift Package Manager (SPM).
- CocoaPods
- Swift Package Manager (SPM)
-
Navigate to the
iosdirectory. -
Run the following command:
Bash