๐ 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.
npm install over-the-air --save-dev
# or install it globally
npm install over-the-air --global
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 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.
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
// 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