New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-native-environment

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-environment

Apps environment with evn.properties, env.plist

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

react-native-environment

npm version

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);

Keywords

react-component

FAQs

Package last updated on 05 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts