Skip to main content

mobileAppUpdateStatus

Public: no authentication required.

Tells a mobile app whether it is up to date, can be updated, or must be updated, with the latest version, store link and release notes. Needs no sign-in. When no release is recorded or the version cannot be read, the app is reported as up to date.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MobileAppUpdateStatus($bundleId: String!, $currentVersion: String!, $platform: MobileAppPlatform!) {
mobileAppUpdateStatus(
bundleId: $bundleId
currentVersion: $currentVersion
platform: $platform
) {
latestVersion
releaseNotes
state
storeUrl
}
}

Variables:

{
"bundleId": "string",
"currentVersion": "string",
"platform": "ANDROID"
}

Response:

{
"data": {
"mobileAppUpdateStatus": {
"latestVersion": "string",
"releaseNotes": "string",
"state": "UPDATE_AVAILABLE",
"storeUrl": "string"
}
}
}
mobileAppUpdateStatus(
bundleId: String!
currentVersion: String!
platform: MobileAppPlatform!
): MobileAppUpdateStatus!

Arguments​

mobileAppUpdateStatus.bundleId ● String! non-null scalar​

The app's bundle identifier.

mobileAppUpdateStatus.currentVersion ● String! non-null scalar​

The version the app is running.

mobileAppUpdateStatus.platform ● MobileAppPlatform! non-null enum​

The platform the app runs on.

Type​

MobileAppUpdateStatus object​

Whether the calling app needs updating.