Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

ios-simulator-set-location

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ios-simulator-set-location

Sets the geolocation of the ios simulator

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

ios-simulator-set-location

Set the location of the ios simulator via node or the command line

Install

$ npm install ios-simulator-set-location

or if you want to use the cli

$ npm install ios-simulator-set-location -g

Usage

const setLocation = require('ios-simulator-set-location');

(async () => {
    const lat = 52.5243700; 
    const lat = 13.4105300;

    // set optional device Name, defaults to all running devices
    const deviceName = 'iphone X'; 
    await setLocation(lat, lat, deviceName);

})();

CLI

Usage
  $ ios-set-location lat lng -n deviceName

Options
  --name, -n  specify the simulator name (optional, defaults to active running devices)

Examples
  $ ios-set-location 52.5243700 13.4105300

License

MIT © Steffen Müller

FAQs

Package last updated on 26 May 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