-
-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Chrome <= 69 (default WebView on Android <= 9.0) #2453
Conversation
… 9.0), fixes johannesjo#2451 Signed-off-by: Stephen L. <lrq3000@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello there lrq3000! 👋
Thank you and congrats 🎉 for opening your first PR on this project! ✨ 💖
We will try to review it soon!
With older Chrome versions, To get the binaries to test an older Chrome version, search a build here: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html I used build 390249 (corresponds to a v52 branch release). So this PR is still useful to increase compatibility with older browsers but not all older browsers. |
Incidentally found a fix for johannesjo/super-productivity-android#34 , now /EDIT: I thought so but it ended up being a false positive, the bug is not fixed, I rollbacked the unnecessary change. |
All done. PR ready to be merged. |
Thank you very much once more!! I'm alright with ditching support for android versions 8 and below. The market share is not that huge and we have to focus our limited resources :) |
Yes but only out of the box android <= 8.0 don't work, but if chrome is updated then the webapp is compatible down to Android 6.0 and maybe even below that too! What matters most is the browser version, so that it supports a modern javascript instructions set.
6 févr. 2023 21:02:30 Johannes Millan ***@***.***>:
… Thank you very much once more!! I'm alright with ditching support for android versions 8 and below. The market share is not that huge and we have to focus our limited resources :)
—
Reply to this email directly, view it on GitHub[#2453 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAIRFXVNXADAQUXDTWWL2HDWWFKFLANCNFSM6AAAAAAURWLXLE].
You are receiving this because you authored the thread.[Image de pistage][https://github.com/notifications/beacon/AAIRFXWOIILPHTQECY7M4VTWWFKFLA5CNFSM6AAAAAAURWLXLGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSUTZZDQ.gif]
|
Description
Add a polyfill in
src/polyfills.ts
for compatibility with Chrome <= 69 (default WebView on Android <= 9.0). This bug also happens with desktop versions of Chrome, not only mobile.In practice, this PR adds compatibility for Android 9.0 and 8.1 out of the box (whereas before, only Android 10+ were compatible out of the box, without updating Chrome first). This PR does not change anything for Android 6.0+ with an updated Chrome browser, as updating Chrome always restore compatibility with
super-productivity
(tested on Android 7.0+ in AVD emulator, could not test Android 6.0 because of a lack of Play Store but it should be the same).Issues Resolved
Fixes #2451, fixes johannesjo/super-productivity-android#34 .
Check List
Tested on (AVD emulator, default Chrome browser):
super-productivity-android
app) - FAIL (same as Android 8.0)Note that updating Chrome allows
super-productivity
alone or combined withsuper-productivity-android
to work on all older Android versions, the failure above are only with the default Chrome version as supplied with the older Android release.