Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to update mobile games?

A topic by RadarTheBat created Aug 22, 2020 Views: 1,508 Replies: 3
Viewing posts 1 to 2

I see that it requires an application for only computers. I would merely delete the old ver. and install the next one but it is a visual novel. My save would be deleted.

Moderator(+2)

For android, every time you build your project, make sure to use the same package name. It looks something like “com.mycompany.mygame”. Somewhere on the metadata, there is a variable that determines the version code, called “versionCode”. Every time you make a new version of your game, increment that value.

On a device, when a new application is being installed, android looks at the package name and the version code. If the package name exists, android knows that this app is already installed. If the version code of the new build is smaller than the installed one, the user gets a message like “A newer version of this app is installed” and refuses to continue the installation. If the version codes are the same, the user gets a message “The app is already installed” and will not allow the installation to continue (probably what you are experiencing).

If the version code of the new build is bigger, then the user will get the message “Update existing app?” and will be given the option to update their app. This does not erase any saved data by the app.

For more information, you can check Android Developers - Version your app.

I hope that answers your question. There is a similar functionality for iOS apps, but I’m not familiar enough to provide details.

(+1)

So, just redownload and install it on top of the previous app? Do I have that right?

Moderator(+3)

Yes, basically every time you make a version of the app you’d have to increment the version code, and the users would have to re-download the app, and run the “.apk” file, and they’ll be able to update their app.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.