Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

XLabs HybridWebView Call Native Method Pushmodalasync?

$
0
0

Hi Guys,

I have a login page (contentpage) and these are a little code block of my page:

_hybridWebView.RegisterNativeFunction ("ShowLoginPage", (input) => {                
                //TODO: IN HERE 
        });

Can i call Navigation.PushModalAsync(new MainContainerPage()) this method in there?

I mean, I want to create login page with cshtml (using portablerazor) and when click sign in button, call the native func and navigate main page.

Thnks.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>