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

react-native-setdevserver

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-setdevserver

Set development server in react native

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-setdevserver

React-Native plugin to set the IP/hostname of the development server to host the RN JS and asset bundle.

Usage

From the project directory:

yarn install react-native-setdevserver
react-native setdevserver 192.168.1.1

Where "192.168.1.1" is the IP address (usually) or hostname (more rarely) of the machine you want to use for development

To undo the change, and go back to default behavior, where the current machine is the development server, run the plugin without the server argument:

react-native setdevserver

Note that the devserver is saved in your package.json, for replicability.

Note this version only supports changing the development server in IOS. To change in Android, use the developer menu like you would before.

FAQs

Package last updated on 15 Dec 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