-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Android: fixes http-url image render #2562
Conversation
What was the previous code doing, and what is the new code doing? What's the impact of this change for debugging with the the Android and iOS emulators? Can the app still connect to the packager? |
This change basically allows to use http traffic at all times (even in the app in the Play Store). But I agree, the OP should test debugging. |
@laurent22 @tessus earlier the block of code inside the allowed the http request from the specific domain and the reason why we were not able to render the images with http-url and after removing the code it just means we don't want to load any specific http domain requests. I also thought after removing the code will I be able to connect to the debugger or not ?, but I tested the packager after removing the code it still connects successfully. The test debugging connects and has no problem. |
No, what I meant was that people can now use http, even when they download the app from the PlayStore. It's just my personal opinion, but all http traffic should be banned. Even in a local network... it's not rocket science to get TLS working. Anyway, this PR will make a lot of people happy! |
@PackElend label me, please |
@PackElend, I don't think people are getting what you mean :D I guess it achieves what you want anyway, but maybe that could be reformulated in the doc. |
--> Mention @PackElend label me please, so that I can track your PRs by adding the label GSoC-2020 better? |
Yes sure, that's clear now. |
Ok thanks for the explanation @amitsin6h, and indeed it's good if it's now possible to use plain http images. I wonder if that would enable WebDAV http URLs too. |
Yes, this will enable http webdav addresses too |
"Android" Joplin app
This change allows the image with http-url to be rendered
Reference of issue #2496
below block of code from network_security_config.xml file was causing the problem