rovo89 / XposedInstaller

3.9k stars 1.51k forks source link

Show "updates available" notification after repo refresh #259

Open pylerSM opened 9 years ago

pylerSM commented 9 years ago

Show "updates available" notification after repo refresh (every one day) if there are updates for modules. I think it is good feature.

I could do it but I need your opinion, especially @rovo89 's one.

rovo89 commented 9 years ago

I think it would only make sense if the repo was refreshed in the background. But that's not the case, it's refreshed only when the UI is displayed, and showing a notification for a foreground app doesn't sound very appealing.

As the question probably comes up: As long as the XMLs are still loaded from my server, I have to veto against background updates as they are likely to create a much higher server load/traffic. Also, for many users, this would have unwanted side-effects, so if this is ever implemented, it should be accompanied by settings to disabled it, limit it to WiFi, ...

pylerSM commented 9 years ago

How "refresh one per day" works?

  1. day - refresh repo
  2. day - repo should be refreshed again.

We could make background refresh & respect "one refresh per day" rule.

pylerSM commented 9 years ago

Sidenote: Since Xposed database is probably "your home" :) you may help me how to get number (count) of module updates?