Update My App - Extension - Useful to app builders to update their distributed apps

UpdateMyApp - Extension created on 2020-07-11T18:30:00Z and updated on 2020-10-08T18:30:00Z

I am an enthusiastic app builder, built many apps and distributed to my friends to test them.

But It becomes so messy, once i made improvements to those apps in the later stages.
I used to send the new versions to my friends and ask them to install the new version to replace the older one.

Many app builders are facing the same problem like mine.

So, i thought that the procedure would be simple and better, if the app is updated automatically.

Then i want to built an extension which updates the app simply.

:point_right: The blocks of the extension ‘UpdateMyApp’ are…

component_method

component_event

component_component_block

A new block CustomizeUpdateDialog is added on 09th October, 2020 that allows the users to use our favourite language as the display language of update dialog.

Note: CustomizeUpdateDialog is an optional block. Without this, the Update Dialog appears in English.

We can use the function CheckForUpdate in the initialization stage of app coding like this…

To use this extension, the users has to follow these steps…

Step-1 (Do once with the first built of the app)

  • Store your APK file on Google Drive.

  • Share it as Anyone with the link can view.

  • Copy the link of it.

Step-2 (Do once with the first built of the app)

  • Create a Google Sheet and store the App Name, App Link in Google Drive (link copied in the previous step) and App Version Code of your app, in a new row under the columns A, B and C respectively.

  • Then share the sheet once as Anyone with the link can view.

  • Use the Sheet ID and Sheet Name of this sheet as inputs with the function…

  • component_method

Step-3 (Repeat for every new version of the app)

  • Every time you create a new version of your app, then…

  • Increase the VersionCode Integer in App Builder.

  • version_code

  • Copy the VersionCode Integer and paste it to Google Sheet against the app name.

  • Now, build the app and upload it to Google Drive by replacing the older version.

Working of the extension ‘UpdateMyApp’ with your app…

  • Once you open the app, it checks for the update.

  • If the new version is available, it asks you to update.

  • update_notifier

  • If you press the button update, then it will update the app.

A new block CustomizeUpdateDialog is added on 09th October, 2020. Even if it is an optional block, but with this we can customize the dialog box with our favourite language.

Then the Update Dialog appears like this…

:star:That’s it.

Download the resources here:

:point_right:Use this extension and feel free to suggest the improvements.

Thank you
Hema Srinivas
India
12.07.2020

:heart_eyes:P.S.
I should say my sincere thanks to my lovely kids Pranay and Manaswini for allowing me free for the last five days in building this extension.

28 Likes

Hi @Automate_My_Project
Thank you for your contribution.
Please remember the naming conventions, which are UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names.
Also try to avoid the usage of underscore while naming methods.

4 Likes

Thank you very much. I will follow your valuable suggestion in my future contributions.

1 Like

Really good & helpfull extention. Keep contribution :v:

1 Like

Thank you very much for your encouragement.

2 Likes

Useful Extension :smirk:

Thank you very much. :smiley:

1 Like

Good work.

1 Like

than you for your contribution
what about editing the extension and updating it right away? it takes you only 2 minutes…
Taifun

1 Like

Thankyou very much. you saved lots of logic with gdrive and Airtable. Keep updating. Good extension :golfing_man:

1 Like

I takes 7 minutes

Using Appybuilder IDE

#off-topic

Only 15 seconds if you use Extension Template :wink:

2 Likes

Dear Taifun,

I modified the blocks by following the naming conventions and uploaded the same to my post.
Thank you for your valuable suggestion.

Hema Srinivas

3 Likes

Really amazing. It very easy to update apps through this extension. Please add properties to this extension. So, we can attach sheet id and name to them.

1 Like

Ok, sure. I create properties to it.

1 Like

@Automate_My_Project

Hello friend thank you very much for this extension,
In Google Sheet i am using direct Play Store link (https://play.google.com/store/apps/details?id=com.example.com) instead of “Google Drive Link” and it is working fine. Now when i tap Update it redirects to Play Store.

2 Likes

Good. You used it in a different way.

3 Likes

yes, thanks again for your work :slight_smile:

It is possible to do it without extension but it is good to have an extension that make things easier. Specially for those who are not that good with blocks hehe

Spending a lot of time in coding basic operations leads to shortage of valuable time in implementing new ideas. So, someone has to make the things easier. That’s why I made it.

4 Likes