FAST icon indicating copy to clipboard operation
FAST copied to clipboard

Redesign the app (un)install receiver

Open SebiderSushi opened this issue 8 years ago • 11 comments

Issues covered: closes #94 closes #113 closes #114 PRs included: closes #110 Feature branches included: SebiderSushi:fix_installtime_froyo_catchblock

SebiderSushi avatar Nov 13 '17 02:11 SebiderSushi

Okay i've tested this once now for Oreo and it did't work right; Probably something concerning Broadcasts & JobSheduler. Should also give an option to reenable refreshing onCreate or even onResume.

SebiderSushi avatar Nov 25 '17 10:11 SebiderSushi

This commit could be applied as is and work correctly if you would be ready to roll back to targeting SDK Version 25 again @ligi. If there are any implications in that (e.g. Google Play related) or if you just really want to target android 8 then let me know and I'll update my patches to work with oreo.

Otherwise I don't see any reason to target Oreo and since it's majorly breaking app refreshing functionality as it is implemented right now (even on master) so rolling back and merging this would really be better in my opinion. [The lazy solution]

SebiderSushi avatar Feb 22 '19 23:02 SebiderSushi

Unfortunately I need to target 26 now if I want to upload to google play: https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html

ligi avatar Feb 22 '19 23:02 ligi

Just saw it in Android Lint too .-.

I see three options:

  • Release this to F-Droid and push a Version to Google Play that updates in onResume() untli Oreo compliance is implemented
  • Release this to F-Droid and skip one release on Google Play until Oreo compliance is implemented
  • Implement Oreo compliance right away for everything

SebiderSushi avatar Feb 23 '19 00:02 SebiderSushi

I would really like to let f-droid version and google play not drift apart - this only makes problems in the long run. I only see option #3 as the way to go

ligi avatar Feb 23 '19 00:02 ligi

Okay, digging into it.

SebiderSushi avatar Feb 23 '19 00:02 SebiderSushi

If anyone can, please test this patch so it will prove to be stable enough for merge.

SebiderSushi avatar May 11 '19 14:05 SebiderSushi

I consider this patch complete now. This means it is not ready for merge but should be fully functional and that any changes from this point will only be code cleanup and bug fixes. Once the testing build has been thoroughly tested and once someone has reviewed my changes, possibly spotting bad practices or code mess, i will go on and polish it up for merge.

SebiderSushi avatar Jul 01 '19 04:07 SebiderSushi

Another thing: As you can see in the change listing, some changes in my commit result from using the "Reformat Code" action in Android Studio (with default settings). Of course this is out of scope of this commit and will be removed before merge. I would nontheless welcome it if generally all FAST code would be reformatted in a dedicated commit to follow at least some code style. After all, it should make life easier for everyone working with FAST source code.

What do you think @ligi? Is this a good suggestion or do you want to keep all existing code as is and only apply style guidelines to newly contributed code?

SebiderSushi avatar Jul 01 '19 19:07 SebiderSushi

Side note... I F*in love this app, and now SebiderSushi too for all your efforts! :D

nerd190 avatar Apr 22 '20 01:04 nerd190

Branch is supposed to be ready for review now. Feel free to exclude or cherry-pick commits as you see fit.
Please do not merge this PR until i've had a chance to do a final rebase and squash everything i.e. if there still are commits that start with fixup or wip

I've put together some release notes for this branch for a quick summary.

Remaining issues:

  • A lot of Dependencies are deprecated or updating would incur additional work. or raise the minSdkLevel

SebiderSushi avatar Oct 25 '22 08:10 SebiderSushi