We'll set up a private sandbox for you where you can fully embed our in-app messaging with users, SSO, push notifications, and more.
Load the <weavy/> client library and authenticate with our JWT sub. Place the script in your <head>
<script src="https://demo.weavycloud.com/javascript/weavy.jquery.js"></script>
<script>
var sub = "###";
var weavy = new Weavy({ jwt: sub });
</script>
#container
is the placeholder in your HTML. Our in-app messenger is responsive, so it will automatically adapt if you render it full-screen or embedded into a smaller widget.
weavy.space({ key: "###" }).app({ key: "m", type: "messenger", container: "#messenger" });
To add it to your mobile app, start with adding the <weavy/> web view available as a Nuget Package to your Xamarin.Forms project.
When you have your project up and running with the web view, add the namespace and the <weavy/> WebView control in the .xaml view.
xmlns:w="clr-namespace:Weavy.WebView.Plugin.Forms;assembly=Weavy.WebView.Plugin.Forms"
<w:WeavyWebView
x:Name="weavyWebView"
Uri="https://demo.weavycloud.com/messenger"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
</w:WeavyWebView>
In the .cs file, add the following to initialize and load the in-app messenger.
weavyWebView.AuthenticationToken = "###";
weavyWebView.InitCompleted += (s, a) => { weavyWebView.Load(); };
Note that this is one way of adding <weavy/> to your mobile app. You can choose between the <weavy/> Web View as in this sample (if your project is a Xamarin.Forms app), a native web view (for the hybrid app approach) or a pure native approach where you create rest api endpoints for the functionality you want to integrate.
Done! You now got in-app messaging in both your web and mobile app - just like that. For more information check out the <weavy/> docs site, and specifically the Client SDK and Mobile Client SDK.
We'll set up a private sandbox for you where you can fully embed our in-app messaging with users, SSO, push notifications, and more.
Your own instance of <weavy/> in our cloud.
Add unlimited users that can send messages and set up rooms.
All features available, no limitations.
Play around with it for 30 days for free.