mobileapp-update-check
v1.0.0
Published
Check the latest versions available on App store and Play Store.
Downloads
8
Maintainers
Readme
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=...",
}