1.0.1 • Published 5 years ago

over-the-air v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

OTA

🚀 Distribute yours apk and ipa files over the air. Uses ngrok for public distribution urls. Just scan the qrcode from the terminal to install the app.

Installation

npm install over-the-air --save-dev
# or install it globally
npm install over-the-air --global

Args

NameDescription
app_nameApp Name
app_versionApp version. Use the semantic version (major.minor.patch).
package_nameApp package name
apkLocation of the .apk file to distribute
ipaLocation of the .ipa file to distribute

When 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

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

// 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

node index.js

Scan the QR Code

Captura de Tela 2019-04-16 às 17 31 46