1.0.0 • Published 3 years ago

mobileapp-update-check v1.0.0

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

Basics Usage

Import

import Check from 'mobileapp-update-check';

Usage

For common app id
await Check.versions("COMMON_APPID");
For different appIds for android and ios
await Check.versions("IOS_PACKAGENAME", "ANDROID_APPID");
Android only
await Check.androidVersion("ANDROID_APPID");
iOS only
await Check.iosVersion("IOS_PACKAGENAME");

Response

{
  "androidVersion": "X.X.X",
  "appStoreLink": "https://apps.apple.com/us/app/...",
  "iosVersion": "X.X.X",
  "playStoreLink": "https://play.google.com/store/apps/details?id=...",
}