react-native-ios-launch-arguments
v1.1.0
Published
React Native Module to get app launch parameters on IOS
Downloads
1,790
Readme
react-native-ios-launch-arguments
Getting started
$ npm install react-native-ios-launch-arguments --save
Mostly automatic installation
$ react-native link react-native-ios-launch-arguments
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-ios-launch-arguments
and addRNAppLaunchArguments.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNAppLaunchArguments.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import getLaunchArguments from 'react-native-ios-launch-arguments';
console.warn(getLaunchArguments()); // Array of app launch arguments