expo-version-updater

1.0.1 • Public • Published

expo-version-updater

Ảnh chụp Màn hình 2022-06-25 lúc 18 51 32

Install:

npm i -g expo-version-updater

Usage:

In Expo project root (where app.json file exists)

exup # for update all versions of ios, android and version field

updating version for platform: all
┌─────────┬─────────┬──────────────────────────┬──────────────────────┐
│ (index) │ version │           ios            │       android        │
├─────────┼─────────┼──────────────────────────┼──────────────────────┤
│  expo   │  '7.0'  │ { buildNumber: '7.0.5' } │ { versionCode: 705 } │
└─────────┴─────────┴──────────────────────────┴──────────────────────┘
🎉 DONE !
exup -p ios --minor

updating version for platform: ios
┌─────────┬─────────┬──────────────────────────┬──────────────────────┐
│ (index) │ version │           ios            │       android        │
├─────────┼─────────┼──────────────────────────┼──────────────────────┤
│  expo   │  '7.1'  │ { buildNumber: '7.1.0' } │ { versionCode: 705 } │
└─────────┴─────────┴──────────────────────────┴──────────────────────┘
🎉 DONE !

API:

  • -p or --platform=ios | android | all(default)
  • --patch(default), --minor, --major

/expo-version-updater/

    Package Sidebar

    Install

    npm i expo-version-updater

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.99 kB

    Total Files

    3

    Last publish

    Collaborators

    • thanh_classfunc