Keeping your application updated is key to providing an exceptional user experience. In this article, we’ll guide you through the process of releasing a new update, ensuring your users stay engaged with new features and bug fixes. Whether you prefer to use the web portal or the DevTools API, we’ll outline the steps necessary to get your updates to your users smoothly.
Before you start the update process, it’s important to ensure that your new artifact file is ready. Here are a few points to keep in mind:
- The version number should be higher than the existing version in the market.
- The package name should be the same as the existing version in the market.
- The new artifact should be signed with the same key as the existing version in the market.
Indus App Bazaar supports APK, AAB, and APK-s file formats for your artifact.
Ways to Update Your App on Indus App Bazaar
Option A: Releasing an Update via Web Portal
To release a new update via the web portal, follow these steps:
1) Select the app you want to update from the “Manage App” section.
2) Under the “App Information” tab, click the “Update App” button.
3) Select your preferred file format and upload the artifact file.
4) You will receive a notification when the upload starts, and a banner when the app has been successfully uploaded to the portal.
Option B: Releasing an Update via DevTools API
For a more automated and faster update process, you can use the DevTools API. Here’s how:
1) Enable API: To use the DevTools API, you need a secret key, which you can obtain by enabling the DevTools API on the “Dev Tools” tab on the dashboard.
2) Get an authorization token: The DevTools API issues a short-lived authorization token when you request it with the secret key. This token is valid for 1 hour each time you issue it.
3) Upload the APK: You can upload your APK using a POST request, including the authorization token in the headers, the package name as a query parameter, and the artifact file in the request body.
4) Upon successful upload, you will receive a 200 status response.
You can find a sample Node.js script for uploading an APK file at https://gist.github.com/kaaroIndus/fdf0120a9bf9b95b57cf2ca8c1aaf64c.
Using the DevTools API provides several benefits, such as a faster cycle from build environment to release, automation through CI/CD integration, reduced human error, and increased coverage for your App Bazaar user base.
We hope this blog has given you a clear understanding of how to release updates for your application on the App Bazaar platform. Our team is always here to help, whether it’s through email@example.com or our chatbot. You can also refer to the DevTools API documentation (https://developer.appbazaar.com/tools) and the DevTools error code document for more information.
Your success is our success, and we’re here to make sure you have everything you need to release updates with ease.