enginekit / ios-device-lib

Allows interaction with iOS devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


JavaScript library, designed to facilitate communication with iOS devices. The library’s interface is Promise-based.


In order to use ios-device-lib, just add a reference to it in your package.json:

dependencies: {
	"ios-device-lib": "*"

After that execute npm install in the directory, where your package.json is located. This command will install all your dependencies in node_modules directory. Now you are ready to use ios-device-lib in your project:

const DeviceLib = require("ios-device-lib");
const dl = new DeviceLib(d => {
	console.log("Device FOUND!", device);
}, device => {
	console.log("Device LOST!", device);

dl.install("./app.ipa", ["deviceId1", "deviceId2"])
	.forEach(promise => {
		promise.then(response => {
			console.log("INSTALL PASSED", response);
		}).catch(err => {
			console.log("An error occurred ;(", err);

API Reference

This section contains information about each public method.

ezoic increase your site revenue


Allows interaction with iOS devices.

License:Apache License 2.0


Language:C++ 99.9%Language:JavaScript 0.1%