I am using parse.com for my backend database. My app is already published and I am adding a push notifications from parse. First I need to keep track of my installations. But I have many users already that do not have an installation object saved for their device.
My question is: when the user updates the app, will this count as an install?
The reason I wonder, is cause I had an older version on my emulator, and updated it (with android studio) and it did not create an installation object for it.
This is how I save my installations:
ParseInstallation.getCurrentInstallation().saveInBackground();
On a fresh install, it will save the install object without a problem. Any suggestions? Let me know if you need any more info.
After updating my app on google play and my users that updated the app are being considered as a new install to parse. So there is no need to worry about specifically handling users with older versions. Hope this helps someone.
Related
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'm sure it's a dumb question. But still. User activity is saved to storage (Internal/External) and SharedPreferences. Will it be available after update of the app?
Thanks for answers!
Welcome to SO!
On an update all app data remains. That's for updates that you install manually with adb or updates that get rolled out from PlayStore. This also means that if you have changes in your data model from one version to the next you'll have to make sure the new version can handle the old data.
If the app get uninstalled and reinstalled the data is usually lost but there are some instances where the OS can create backups of app data and it reappears even when an app gets uninstalled and reinstalled. See allowBackup for this.
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 created an Android application, published an initial version on Google Play Store and installed the APK on a test device.
How can i update new version without prompting?
I have seen sometimes Play store send notification for update
available and user can update after click on that notification but
some application is updating automatically.
hows it possible.?
I want that user get update automatically.
Your help would be highly appreciated.
No, it's not possible (unless the user clicked on the checkbox update automatically).
The only thing you could do is build yourself a shell of an application that would update itself from the internet when it gets run (but that would be quite an undertaking on your part and probably not worth your time).
No. Google Play cannot update applications automatically without user permission.
I have android app, that version is 1.0. There are some updates so changed the version number to 1.1. I did not upload into android market.
It's a private application.
Normally update app happens like this: If there is version number which differs from installed app, then I should update. That time It don't delete my database contents
is it?
How we can update into version without publishing into android market?
because my applications sales person going use.when there are in the fields(on way to go shop or anywhere their-self want to update)
If there are new version is available then In sql server database also we mention the flag "1" (bacause of sales person can identify there are update version is available)then It should download apk & need to update the system automatically?
OR
when we launch the app,It should check the version number or update available, then should update automatically..
How we can do it?
OR give me a idea of update the android apps..
How we can do this?
Please help me..
Thanks in advance
You'll need a versioning system on your server.
Check the current version by calling your servers and checking if there's an update.
If there is an update, download the new APK from your servers through the app by calling the browser on the APK's URL.
This will start a download automatically.
A few problems:
1) Some devices rename the APK to txt for some unexplained reason, I think it has something to do with mime-types
2) The installation won't happen automatically. The user will have to click on the finished downlaod to start the installation.
3) You'll have to check the "Unknown Sources" in the Settings -> Applications menu to allow apps to be installed from outside sources (not the Android Market)