-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[WIP] android jcenter fix #1143
Conversation
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.
The change looks fine, but we need to confirm if storage if preserved after an upgrade.
I presume setting Is everything exclusively stored via local storage? I haven't tested it yet, but if so it's very likely this will dump everyone's configs. |
seems mostly like it's the language of choice, unless vscode is hiding results from me again |
We use localStorage for everything: https://github.com/Jigsaw-Code/outline-client/search?q=localStorage&type= We had to migrate uses on iOS from file:// to app://localhost once and it was a pain. You'll see the code there. I think the |
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.
Let me know when you have verified it's working with the update.
In the search you linked, the only call to Apologies on the delay, I'm trying to figure out how best to do this. |
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.
ah, I was being a bit silly - I never got the android app to build on my local mac and was trying to see if I could solve that, either with Android Studio w/ Blaze
(recency bias 😅) or manually - only to realize I can't build the old version locally because of this very issue!!
Then, of course, I remembered that the build system has been building versions of the android app this whole time 🤦 . Here are the builds of note while I struggle to figure out what how to install each apk on my emulator:
My main concern right now is - will the emulator preserve localStorage
across the different apks? Or does it treat each as its own separate app? I don't even know how that works.
@@ -0,0 +1 @@ | |||
1.8 |
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.
This was useful while trying to get the app to build on my local machine. jenv
uses it to manage which version of java it should use - our app uses v1.8 while android studio with blaze defaults to 11.0.11
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.
Maybe a question for @fortuna , shall we upgrade Java to a newer version considering we are approaching the end-of-support time of Java 8: https://endoflife.date/java.
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.
Yes, let's upgrade to the newest Java if we can. But in another PR
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.
Let's submit this as is to unblock the other stuff, with the understanding that we still need to test it.
Jcenter/bintray is broken, but our
cordova-android
fetches from there. Fix for this was introduced July of last year.cordova-android
to latest.WebViewAssetLoader
inv10.0.0
(https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html)