react-native-sandbox-checker

1.0.0 • Public • Published

react-native-sandbox-checker

react-native-sandbox-checker is module for recognizing Sandbox environment at iOs platform only.

Getting started

$ npm install react-native-sandbox-checker --save

Mostly automatic installation

$ react-native link react-native-sandbox-checker

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-sandbox-checker and add RNSandboxChecker.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSandboxChecker.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import { isSandbox } from 'react-native-sandbox-checker';
 
// ...
 
if (isSandbox()) {
    // Do your business here
}

Package Sidebar

Install

npm i react-native-sandbox-checker

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

11.9 kB

Total Files

9

Last publish

Collaborators

  • milankyncl