react-native-environment
v0.0.3
Published
Apps environment with evn.properties, env.plist
Downloads
8
Maintainers
Readme
react-native-environment
The react native module, will read native project .properties or .plist
Installation
First install this package
npm install --save react-native-environment
and link that by rnpm
rnpm link react-native-environment
PS. I don't want to say manually install guid, please use rnpm, it's really goods to use
Use (iOS)
- Will create plist with info.plist same level, by name: env.plist
- Input your key value datas
Use (Android)
- Will create properties in assets folder, by name: env.properties
- Input your key value datas
Use (JS)
import module:
var Env = require('react-native-environment');
or
import Env from 'react-native-environment'
call object key
console.log(Env.uid);