appupdatejson

Quickly generate cordova-plugin-appautoupdate update.json

Usage no npm install needed!

<script type="module">
  import appupdatejson from 'https://cdn.skypack.dev/appupdatejson';
</script>

README

insatll

$ npm install appupdatejson -g

init

$ aui init

input project info

  • project name (default aui)
  • android version <x.x.x> (default 0.0.1)
  • android APK download url (ex: http://xxxx.com/../android.apk)
  • iOS version <x.x.x> (defalut 0.0.1)
  • iOS ipa download url (ex: itms-services://?action=download-manifest&url=https://xxxx.com/../ipa.plist)

    iOS download address must use https protocol

help

$ aui -h

plugin Using help

Version modification

  • $ aui <platform> patch

    0.0.0 => 0.0.1

  • $ aui <platform> minor

    0.0.0 => 0.1.0

  • $ aui <platform> major

    0.0.0 => 1.0.0

update.json generation

$ aui build

  • android version infomation

    • android forced update <true|false> (default true)
    • android version information (input no exit) ...
    • android version information (input no exit) ...
  • iOS version infomation

    • iOS initial forced update <true|false>(default true)
    • ios version information (input no exit)...
    • ios version information (input no exit)...

$ aui build android

  • android version infomation
    • android forced update <true|false> (default true)
    • android version information (input no exit) ...
    • android version information (input no exit) ...

$ aui build ios

  • iOS version infomation
    • iOS initial forced update <true|false>(default true)
    • ios version information (input no exit)...
    • ios version information (input no exit)...