pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.56k stars 134 forks source link

Improve Markdown Rendering when using Webview (Android) #132

Open Rud156 opened 3 years ago

Rud156 commented 3 years ago

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:

pd4d10 commented 3 years ago

Thanks for the feedback.

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

CodeCracker-oss commented 3 years ago

@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.

linsui commented 3 years ago

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

pd4d10 commented 3 years ago

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 3 years ago

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