The Weavy Web View is available as a Nuget package that you can add to your Xamarin.Forms project. The minimal requirement is the Uri
to the web site where Weavy is hosted.
The Weavy Web View is available as a Nuget package that you can add to your Xamarin.Forms project. The minimal requirement is the Uri
to the web site where Weavy is hosted.
<w:WeavyWebView
x:Name="weavyWebView"
Uri="https://demo.weavycloud.com"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
</w:WeavyWebView>
To display a specific App, just specify the Uri
for that App.
<w:WeavyWebView
x:Name="weavyWebView"
Uri="https://demo.weavycloud.com/e/apps/1"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
</w:WeavyWebView>
Or, if you want to display the Messenger, specify the Uri
to the Messenger.
<w:WeavyWebView
x:Name="weavyWebView"
Uri="https://demo.weavycloud.com/messenger"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
</w:WeavyWebView>
To initialize and load the Uri, add the following to the code behind file.
weavyWebView.InitCompleted += (s, a) => {
weavyWebView.Load();
};
The Weavy Web View has built in support to handle Single Sign On (SSO) the same way as in the client SDK. Just specify the JWT token before initializing and loading the Weavy Web View.
weavyWebView.AuthenticationToken = "a.jwt.token";
weavyWebView.InitCompleted += (s, a) => {
weavyWebView.Load();
};