Improve Markdown Rendering when using Webview (Android) #93

Open
opened 2025-10-31 17:05:28 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @Rud156 on GitHub (Dec 16, 2020).

Opening Repos with a lot of Markdown content in its Readme.md file crashes the app. Also in a lot of cases even if the Markdown is not huge it is unable to render it completely.

Examples:

Originally created by @Rud156 on GitHub (Dec 16, 2020). Opening Repos with a lot of Markdown content in its Readme.md file crashes the app. Also in a lot of cases even if the Markdown is not huge it is unable to render it completely. Examples: - https://github.com/transloadit/uppy - https://github.com/mdn/content - https://github.com/openpgpjs/openpgpjs
Author
Owner

@pd4d10 commented on GitHub (Feb 14, 2021):

Thanks for the feedback.

Could you please provide more device info, for example, Android or iOS, System version?

@pd4d10 commented on GitHub (Feb 14, 2021): Thanks for the feedback. Could you please provide more device info, for example, Android or iOS, System version?
Author
Owner

@CodeCracker-oss commented on GitHub (Feb 21, 2021):

@pd4d10 I am having the same issue, on latest fdroid build 1.11.1.

Device: Google Pixel 4 non-xl, Android 11 Janurary 2021 security update.

The other application, OctoDroid which I was looking to switch from as this integrates other services like Gitlab, also had similar issue was was addressed in an earlier update.

@CodeCracker-oss commented on GitHub (Feb 21, 2021): @pd4d10 I am having the same issue, on latest fdroid build 1.11.1. Device: Google Pixel 4 non-xl, Android 11 Janurary 2021 security update. The other application, OctoDroid which I was looking to switch from as this integrates other services like Gitlab, also had similar issue was was addressed in an earlier update.
Author
Owner

@linsui commented on GitHub (Feb 27, 2021):

I have the same issue. How about setting the flutter render engine as default before this issue is properly solved?

@linsui commented on GitHub (Feb 27, 2021): I have the same issue. How about setting the flutter render engine as default before this issue is properly solved?
Author
Owner

@pd4d10 commented on GitHub (Feb 27, 2021):

Yep, it seems that the Android webview widget may have some problems, for example #123 and #194

setting the flutter render engine as default

Makes sense. We could make Flutter render engine as default on Android.

@pd4d10 commented on GitHub (Feb 27, 2021): Yep, it seems that the Android webview widget may have some problems, for example #123 and #194 > setting the flutter render engine as default Makes sense. We could make Flutter render engine as default on Android.
Author
Owner

@pd4d10 commented on GitHub (Feb 27, 2021):

The reason we prefer Webview previously is that inline HTML is not supported in the Flutter markdown widget.

BTW, this issue could be submitted to the official repo: https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22p%3A+webview%22

@pd4d10 commented on GitHub (Feb 27, 2021): The reason we prefer Webview previously is that inline HTML is not supported in the Flutter markdown widget. BTW, this issue could be submitted to the official repo: https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22p%3A+webview%22
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#93