Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thorgate/react-native-ios-launch-arguments
React Native Module to get app launch parameters on IOS
https://github.com/thorgate/react-native-ios-launch-arguments
Last synced: about 1 month ago
JSON representation
React Native Module to get app launch parameters on IOS
- Host: GitHub
- URL: https://github.com/thorgate/react-native-ios-launch-arguments
- Owner: thorgate
- License: other
- Created: 2018-03-23T15:36:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T09:21:10.000Z (over 6 years ago)
- Last Synced: 2024-11-21T12:47:21.301Z (about 2 months ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-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 Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<## Usage
```javascript
import getLaunchArguments from 'react-native-ios-launch-arguments';console.warn(getLaunchArguments()); // Array of app launch arguments
```