getlantern / firetweet

FireTweet for Android powered by Lantern
272 stars 73 forks source link

Add in-app update mechanism #117

Open atavism opened 9 years ago

atavism commented 9 years ago

Hey @Derekf5, could you come up with a design for this? Basically, whenever the user opens the app, if we detect a new version of FireTweet is available, we'll display a small window overlay with an upgrade now (or whatever) button. Whenever the user clicks on it, the new SDK is downloaded and the app restarts. There could also be an X in the upper corner of the window or a cancel button if the user doesn't want to upgrade at that moment. The text could be something like "A new version of FireTweet (version number) is available. Do you want to upgrade now?"

atavism commented 9 years ago

I have an initial version of this working on the updater branch. After you agree to download the new APK, from within the app, the following screen appears asking for confirmation to install the update:

image

All that's left is actually presenting a window or some notification whenever a new version is available. This will be super useful for keeping users synchronized with the latest release without having to go through the Google Play store.

Derekf5 commented 9 years ago

Hey @atavism let me know how this looks to you. Do you need all screen sizes? let me know i can knock it out quickly if so. notification-upgrade

atavism commented 9 years ago

@Derekf5 Thanks! This looks great to me!! Very similar to what I had in mind. Could you e-mail me that smaller version of the FT logo for every screen size actually? That should be all I need.

atavism commented 9 years ago

I'm almost finished with this. We might not need the logo in favor of a progress bar that appears when you click "Update":

image

image

Then after the download finishes, you arrive at the screen that prompts you to install and restart.

Derekf5 commented 9 years ago

Sounds good to me. Just make sure the fonts are the same On those buttons as on the register and sign in buttons.

On Jun 17, 2015, at 5:39 PM, atavism notifications@github.com wrote:

I'm almost finished with this. We might not need the logo in favor of a progress bar that appears when you click "Update":

Then after it finishes download, you arrive at the screen that prompts you to install and restart.

— Reply to this email directly or view it on GitHub.

atavism commented 9 years ago

Actually, we could still display that icon and just replace it with the progress bar when "Update" is clicked on. Might be good to increase the size of this window to cover the "Register" and "Sign In" buttons too.

atavism commented 9 years ago

Yeah, I really like how this looks! What do you think? I fixed the font, @Derekf5

image

image

Derekf5 commented 9 years ago

Awesome! Let's go with it

On Jun 17, 2015, at 6:00 PM, atavism notifications@github.com wrote:

Yeah, I like how this looks! I fixed the font, @Derekf5

— Reply to this email directly or view it on GitHub.