0.0.20 • Published 6 years ago
@synctree/libimobiledevice v0.0.20
libmobiledevice node port for Synctree
Summary
We are planning to replace a project that connects to Apple's devices using open source library: http://www.libimobiledevice.org/.
Most functionality we need is supported in this port: https://github.com/mceSystems/libijs
However, they have not implemented pairing. The code to port pairing did not seem trivial (https://github.com/libimobiledevice/libimobiledevice/blob/master/src/lockdown.c#L885)
The plan is to this using node's Addon functionality to supplement libijs. https://nodejs.org/api/addons.html
TODO
We are not entirely sure what will get included by the installer so after we finished getting this working we might want to remove temporary files in order to reduce the size of the installer.
Installation Instructions
yarn add @synctree/libimobiledevice
Development Instructions
- git clone git@github.com:synctree/synctree-libimobiledevice.git
- yarn install
- sample usage
yarn pair
Output
pairing ==> fbade4dea6853f01a92a1248817e2ea2ca460517
Pairing failed error ==> LOCKDOWN_E_PASSWORD_PROTECTED[-17]
To publish to npm
yarn publish --access public