1.1.0 • Published 6 years ago

react-native-ios-launch-arguments v1.1.0

Weekly downloads
157
License
MIT
Repository
github
Last release
6 years ago

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

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-ios-launch-arguments and add RNAppLaunchArguments.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNAppLaunchArguments.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import getLaunchArguments from 'react-native-ios-launch-arguments';

console.warn(getLaunchArguments()); // Array of app launch arguments