mobile-devices-manager

1.5.8 • Public • Published

Serves to control simulatos, emulators and real devices.

Purpose of this tool is to manage all devices on а machine.
This is very convinience when a multiple builds are triggered.

Provides basic mathods as:

    -subscribeForDevice for device. Accepts:
        { platform :platformName, name: name, info: info, apiLevel:apiLevel }
        { platform :platformName, token: token, info: info, apiLevel:apiLevel }
        { type :deviceType, name: name, info: info, apiLevel:apiLevel }
    -unsubscribeFromDevice for {token: device.token}.
    -boot device.
    -kill device.

Basically works with query of type IDevice exposed in mobile-devices-controller 

    export interface IDevice {
        name: string,
        token: string,
        type: DeviceType,
        platform: Platform,
        status?: Status,
        startedAt?: number,
        busySince?: number,
        pid?: number,
        apiLevel?: string,
        info?: string,
        config?: any,
    }

Install

Install the node packages via:

$ npm install

Using local storage

By default mobile-device-manager uses local storage to store device info using files. 
Default folder location is in home folder of the user.
To override it, set env variable `DEVICE_INFO_STORAGE`=path to storage.

Using remote storage

Set evn variable `USE_MONOGDB_STORAGE`=true

Install mogodb

$ brew update $ brew install mongodb

Create database default folder

mkdir -p data/db

Run mongodb

mogod

Use as command line tool.

Call mobileD to see all available options.
    --subscribe
    --unsubscribe
    --useMongoDB
    --verbose

Dependents (0)

Package Sidebar

Install

npm i mobile-devices-manager

Weekly Downloads

0

Version

1.5.8

License

none

Unpacked Size

53.7 kB

Total Files

22

Last publish

Collaborators

  • tns-bot
  • rosen-vladimirov
  • stoskov
  • lini
  • walkerrunpdx
  • rigor789
  • nativescript-bot
  • bradmartin
  • tdermendjiev
  • sis0k0