Skip to main content

Myket In-App Updates

Starting with Myket version 9.8.9, you can use an intent to check whether a newer version of your app is available on Myket. If one is available, Myket displays an update dialog where the user can download and install it.

Launch the intent​

Replace APP_PACKAGE_NAME with your app's package name:

myket://check-update?id=APP_PACKAGE_NAME

Behavior​

  • If a newer version is available on Myket, the user sees Myket's update dialog.
  • If the latest version is already installed, no dialog is shown.

Example​

String url = "myket://check-update?id=ir.mservices.mybook";
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);

The Myket client must be installed on the user's device for this intent to work.