I have one service where I can put new apk file.For example, (https://myweb.com/newversion.apk).My project is not in play store and I would to update my app remote,without play store.
I search about this in google,found some examples and articles,but I don't know witch is a best practice to solve my problem
In your option,how I can solve my problem most optimal way?
Thanks
To implement auto update you can manage with your server with version details but for that you have to checked with application as well.
But there are another option from where you can manage auto-update.
You can use custom class provide by below URL.
http://www.auto-update-apk.com/
One of the most optimal ways is to store APP version somewhere in web (for example in JSON file) with your APK file. And when running your app check if app version is not lower than stored in web JSON. If current app version is lower than stored in web - download new APK in background and and prompt user with notification and dialog about successful download and offer him to launch installation. For more details check this and this threads.
Related
hello there i want to ask about updating flutter app in play store
for example if i have a flutter app already published in play store and i have done some changes on it and now i have uploaded it to play store as an update.
so the question is :
1 - how may i notify the user that there is an update for my app ?
2 - and if i have unpublished app and i want to add links like rate my app and links related to my app in play store (it is unpublished yet) how can i get these links so that i may put them in my application before releasing it in play store
Generally speaking, you have to implement a custom solution for each case you asking about.
For example, to notify users you can:
Send push notifications to app users with information about an update being available. Clicking on such notification should lead to Play Market page with your application presented.
Or you can implement one more API route to your backend from which your app will request information about updates, e.g. a text file with the latest version of your app available. That version can be compared to the version of the application installed. If the new version is higher - show a popup notifying a user about the new update.
What relates to having links in your app that lead to the store page of your app - I think the second option I described above will also handle this issue. Custom API that returns a link in simple text format that if not empty could be opened. If you are just trying to avoid additional update - this solution will work.
Use the flutter package upgrader. will serve you well
I have altered our androidManifest.xml to the new name of our uri scheme (to match branches UI), and deeplinks now work great if the app is installed from the play store. But when our app is already installed and just updates it isn't having the correct behavior.
Is there a way to make android playstore updates reinstall the app, or force the app to update the xml on an update?
From what I read it should already be doing that but I'm getting weird behavior.
Thank you!
When we update the app via the play store the entire APK or bundle is downloaded and installed. Play store does not update the app in bits and pieces.
You can either force the users for an app update via your app code in order to continue usage. Alternatively, you can share a pop-up message on all outdated versions to update the app in order to access all features.
These will be viable options to proceed on as Play Store does not have any functionality to make it mandatory for the app to be updated.
Also, requesting you to perform a sanity check on your end to see what is the percentage of the error you are facing. On an update, the app should be on the new production build and everything should be working as expected to.
I hope the above helps here.
I am developing an application for android with ionic, it will be an app which will not get to Play Store, I will generate the apk and my client will install it on his devices.
My first question is: I will use SQLite to store some informations, will these informations be lost if I need to update the app through generation of new apk and install it manually?
Second: There is another way to update the app remotely? Since it won't be on Play Store, how can I make the app update himself since I don't want to use any third party service for this?
I will use SQLite to store some informations, will these informations be lost if I need to update the app through generation of new apk and install it manually
Any data stored in database is kept between app updates.
You can alter (delete rows by example) this data in your new version if you want using the SQLiteOpenHelper#onUpgrade() method (link)
Second: There is another way to update the app remotely? Since it won't be on Play Store, how can I make the app update himself since I don't want to use any third party service for this?
There are some good services for this but I recommend to check HockeyApp.
I have an idea about updating App without through AppStore:
After publishing, the app has two main functions, loader function and app content function. If I want to fix some little bug, which is only one line code sometimes, or just need to change the background of APP UI, even some logic codes. In tradition solution that is updated the APP to APP store and notify the user to update it.
Is it possible, using the loader function to download changed app content from server?
Does Apple and Android allow to do it?
Thanks a lot.
You can't do that in iOS app. You should submit your next version app to access the new features. If you try to download codes or any other runtime content. Your App should be rejected.
Please refer the apple-review guideline here.
Thanks!
According to the google play Developer-Content-Policy:
An app downloaded from Google Play may not modify, replace or update its own APK binary code using any method other than Google Play's update mechanism.
No, you can not do it. If you want to make any change in the application, you will have to pass through store formalities to distribute the application to end client.
For iOS, you can go with enterprise distribution option, but using that you cant distribute the application outside your Organisation.
For customisable background or UI customisable, you can take help of server to receive configuration from server.
First of all I am sorry this is not exactly programming related question but want a solution.
I am designing an application which is not on Play Store and I don't even own a server. I want to check once a week for application update. If an update is available I want to show a dialog, on click of which, my app will download the new apk which is stored on say Dropbox.
So can I do that?
A simple way to do this would be to add a text file to Dropbox containing the versionCode of your new APK.
You can download that and compare it to the currently installed version.
PS Version details can be retrieved from PackageManager.
Without your own Server it really is weird.
You either have to create a Dropbox Account for your App, and then use dropbox api to connect to that Account and check the Lastmodified Date of your apk uploaded there - or use a service + library like parse.com where you can send Message to all your App Users.