You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the initial investigation, I've found two options for communication from the WebView back to the native bridge, AddWebAllowedObject and window.external.notify.
There are limitations with both of these:
WebView.AddWebAllowedObject works only works when navigated from NavigateToString or when navigating to a ms-appx-web: URI, and I have to introduce an additional WinRT component library in order to use it.
window.external.notify only works when the URIs are whitelisted in the appxmanifest or from NavigateToString / ms-appx-web: URIs.
Currently, the most flexible is likely the ScriptNotify event and window.external.notify, with the caveat that the app needs to declare upfront what domains are supported (and it must use HTTPS).
No description provided.
The text was updated successfully, but these errors were encountered: