Over The Air distribution for Android and iOS
npm install over-the-airapk` and `ipa` files over the air. Uses ngrok for public distribution urls. Just scan the qrcode from the terminal to install the app.Installation
`bash
npm install over-the-air --save-dev
or install it globally
npm install over-the-air --global
`Args
| Name | Description |
| ---- | ----------- |
| app_name | App Name
| app_version | App version. Use the semantic version (`major.minor.patch`).
| package_name | App package name
| apk | Location of the .apk file to distribute
| ipa | Location of the .ipa file to distributeWhen distributing
`.ipa` files it will copy the default `manifest.plist` file from the `static` folder so iPhone/iPad could show the installation dialog after qrcode scan.Using the cli
`bash
over-the-air --app_name "MyAppName" \
--app_version 1.0.0 \
--package_name "com.myapp.package.name" \
--apk path/to/file.apk \
--ipa path/to/file.ipa
`Using node script
`javascript
// index.js
const ota = require('over-the-air');ota({
name: 'MyAppName',
version: '1.0.0',
package: 'com.myapp.package.name',
ipa: '/path/to/file.ipa',
apk: '/path/to/file.apk'
});
`then
`bash
node index.js
``