Android, sideloading applications and keep them up to date via Google Play

前端 未结 4 1048
梦毁少年i
梦毁少年i 2021-02-18 18:45

My company would like to give an Android device to a group of our selected customers.

Doing that, we would like to provide users with our mobile app. The app is already

相关标签:
4条回答
  • 2021-02-18 19:15

    To get a MANUALLY INSTALLED APK to show up in the Google Play Store in the UPDATES or INSTALLED section, do either of the following:

    1.) Manually install the APK with the SAME APK filename that Google knows the app as (i.e. from the APK download site like APKMirror.com).

    2.) If you CHANGED the APK name when you saved it, it will NOT show up in Google Play Store as an installed app.

    However, IF there is an update to the app, you will have to do a ONE-TIME search for that app in the store and update it. It will give you the UPDATE option on the app's store page. Once updated via the store, it will show up in the store's Installed / Updates section from now on.

    Why does this work? Because the UPDATE will be done thru the store and the APK name it's using during the update process is what Google knows the app as.

    If there is NO update, do option #1.

    I always add the App name and version info to the front of the filename so I know what it is for later use (because if I'm manually installing, I'll probably be saving it for multiple / future devices). I also keep the original name at the end, so I can rename it back to the original name if needed. Android is the only O/S I've seen where the filename matters during the install process.

    0 讨论(0)
  • 2021-02-18 19:26

    To summarize the answer from @Android-Developer and OP's comment discussion:

    Google Play recognizes the app signature of APKs regardless of the installation source. As long as you use the same package name and keystore when generating your APK, Google Play will be able to detect newer versions and trigger an update.

    To install the app without logging in to a Google account, enable the "Install from unknown sources" option in Settings. You can disable it once the installation is complete.

    0 讨论(0)
  • 2021-02-18 19:33

    As per January 2015, this appears to be impossible. Here is the response I got from Google Play Developer support:

    Side-loaded apps do not update via the Play Store. If you would like the app to update, you will need to uninstall the app on your phone and reinstall the app via the Play Store.

    I wonder if anyone found a way around this?

    0 讨论(0)
  • 2021-02-18 19:33

    You may install Titanium Backup if your phone is rooted, then long press on your side loaded app package and select "Attach to market" option. Now you may receive updates via Google Play.
    I don't recommend this, I mean never install cracked or patched apps because of copyright or security risks, but installing a Modded version of Google Play can make patched side loaded apps to be upgraded after attaching them to market via Titanium Backup. This is not needed for purchased apps because they are registered in your Google account, so attaching to market will be enough.

    0 讨论(0)
提交回复
热议问题