The discussion Weird behavior on Android app revolves around an issue with embedding a Discourse forum thread in a popup within an Android app. Victor_Bramante reports that while this works perfectly on iOS, the Android version (built with Kotlin) only shows the header, title, and similar topics, but no text or comments, and scrolling repeats the same structure. NateDhaliwal mentions having seen this issue before, but initially thought it was theme-related. pmusaraj suggests that the problem might be due to a JavaScript error causing rendering issues, possibly related to the theme, a plugin, or the underlying webview browser version. Victor_Bramante clarifies that the app uses a web view to display the thread, and will investigate further with the developers.
I have a customer who has IOS and Android apps. He wants to promote some actions on their Discourse forum embedding the thead / discussion page on a popup inside that app.
Works perfect with IOS but has a weird behavior with the Android (Kotlin); it shows header-title-similar topics but no text or comments, and scrolling repeats the same structure.
Changing to the default theme doesn’t solve this problem.
Can you describe this a little differently, because I am not following… are you embedding a webview in your customer’s app? If so, you should be able to inspect it while you develop the app. This looks like a javascript error that is causing rendering issues. It may be coming from the theme, a plugin, possibly even core (depending on the underlying webview browser version).
Both IOS and Android apps shows popups with the thread embedded as a web page. But instead of using the default mobile browser, is shown using the app sdk (Kotlin for Android).
Never had this issue with IOS, and also didn’t had problems when the forum was on Vanilla OS.
Will try to get additional info from the devs. Thank you!