Open bojankaurin opened 10 months ago
Hi folks, any update on this, is there any workaround to make this work, or I have to wait for the fix, and if so, any estimate on that?
I am trying to make .NET version of https://hotwired.dev/
And this part is required to be able to provide native mobile app experience for web apps, with progressive native enhancements as needed. Here's some documentation on that: https://turbo.hotwired.dev/handbook/native
This particular request is about making native navigation for web app, so that it feels really native to the end user even though most of it is just a regular web app.
I was able to make that work for iOS, but not for Android, hence this issue.
Examples for Turbo native Android: https://github.com/hotwired/turbo-android Examples for Turbo native iOS: https://github.com/hotwired/turbo-ios
Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). Repro on Android 14.0-API34, not repro on iOS 17.0 with below Project: TestMaui.zip
Hi @Eilon, @jsuarezruiz, any update on this one?
Thanks!
Description
Trying to reuse the same(static) WebView across two pages is working on iOS but not on Android. I know this is doable with Android native, I am just trying to figure out how to do it with MAUI.
What I am trying to do is, have one ContentPage in MAUI load the WebView. Then, navigate to another ContentPage in MAUI by using
Navigation.PushAsync(page2)
After page2 is loaded move the same WebView from page1 to page2, without reloading the WebView. I do that after page 2 has been loaded like this:
Content = StaticWebViewInstance;
This is working on iOS.
Steps to Reproduce
iOS - works as expected:
Android - does not work as expected:
Link to public reproduction project repository
https://github.com/bojankaurin/maui-static-webview.git
Version with bug
8.0.0-rc.2.9373
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No.
Relevant log output
No response