Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto Update of application using HockeyApp SDK

Tags:

android

I am using Android HockeyAppSDK to deploy updates to an application. I am trying to use the docs to customise the default UpdateManager class to allow updates to be installed automatically, without prompting the user to accept the update.

I am quite unsure of how to handle this. The obvious way (in my mind anyway) is to do the following:

private void checkForUpdates () {

    UpdateManager.register (this, Constants.HOCKEY_API_KEY, new UpdateManagerListener() {

        public void onUpdateAvailable() {
           //I assume stuff will need to be handled here    
         }
    });     
}

Has anyone done this before, or can find a way to do it?

Many thanks

like image 555
Ed George Avatar asked Oct 07 '13 09:10

Ed George


1 Answers

After emailing the support team for Hockey, they believe that within their current compiled API it is not possible to perform an update without prompting users to accept.

The whole source would require modification and compilation before working as expected it seems.

like image 150
Ed George Avatar answered Oct 26 '22 15:10

Ed George