Airship Location React Native
A React Native location module for Airship's iOS and Android SDK.
Resources
Issues
Please visit https://support.airship.com/ for any issues integrating or using this module.
Requirements:
- Xcode 11+
- iOS: Deployment target 11.0+
- Android: minSdkVersion 16+, compileSdkVersion 28+
- React Native >= 0.60.0
- React Native cli >= 2.0.1
Install
using yarn
yarn add urbanairship-location-react-native
using npm
npm install urbanairship-location-react-native --save
iOS Setup
- Install pods
cd ios && pod install
Usage
import AirshipLocation from 'urbanairship-location-react-native';
Version 12.1.0 - October 18, 2021
Minor release adding opt-in changes.
- Update the iOS method
isUserNotificationsOptedIn
to use the UAPush
method. - Add the new method
isSystemNotificationsEnabledForApp
to check if the app notifications are enabled at a system level or not. - Add the new Android method
getNotificationChannelStatus
to get the status of the specified Notification Channel. The status can be: enabled, disabled, or unknown(if the channel id not created yet).