question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Versioning and checking for updates

See original GitHub issue

Option 1: Notification from aw-qt

Pros/cons:

  • + Hard to ignore/miss
  • - Might be considered spammy/annoying

To make sure notifications aren’t spammy, we could:

  • Only notify once the installed version is >x months old and a newer release has been out for more than 1 week (to ensure the new release has been thoroughly battle tested).
  • Use something like exponential backoff for the notifications? i.e. first one, then 5 days later, then 25 days later, then 125 days later (at which point it no longer makes sense to back off).

Option 2: Banner in the webui

Pros/cons:

  • + Not intrusive
  • - If you’re a passive user you might not see it

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
billanglicommented, Aug 3, 2020

Hey @ErikBjare and @johan-bjareholt, I can start working on this issue if you guys need help with it. It seems like the other issues in the Road to 1.0 to-do list already has people working on them.

I think that these are all really good ideas. So to summarize the discussion, we need a feature that:

  • Checks if there is a newer version that is not a prerelease version
  • Reminds the user in the web UI
    • Only remind the user if the installed version is > x months old (I think since the user can disable the reminder, we don’t need to check this, we can explicitly tell the user how to disable this in the reminder itself)
    • Make sure the new release is at least a week old
    • Don’t remind the user constantly, take some time between notifications and save the status of the last check
  • Allow users to stop notifications in the web UI
  • Use an endpoint that is different from /info
  • Modify content security policy
  • Disable building this feature in aw-android

I also thought that maybe in the future the user’s end can can check with a centralized server for updates, new greeting messages, upcoming release info, etc. on startup. Is this what is meant by “phoning home”? Would this be stepping away from privacy-first?

0reactions
billanglicommented, Jul 31, 2020

@ErikBjare thanks for the explanation that makes sense 👍 I can get started on making this in the web UI.

You mentoned that we should do it in the web UI instead of aw-server-rust, it is to avoid potential merge conflicts with the migration to aw-server-rust right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check & update your Android version - Google Support
See which Android version you have · Open your phone's Settings app. · Near the bottom, tap About phone and then Android version....
Read more >
"Check for Updates" for an Application - Lost in Details
"Check for Updates" for an Application. Background. In this article I explore a simple mechanism to check if an update is available by...
Read more >
Checking for Software Updates | University Information Services
If a software update is available, tap on the link Download and Install. Follow the prompts to complete the update. Android. (Note: These...
Read more >
Checking for Updates - Dragonfly
Checking for Updates. You should check for new program releases on a regular basis to ensure that your version of Dragonfly has the...
Read more >
Update macOS on Mac - Apple Support
Use Software Update to install updates and upgrades for macOS and its ... Then click the Updates tab in the App Store to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found