Setting up realtime document collaboration in Xamarin
Prerequisites
Minimum API: 21
Java 8
To compile for Java 8, add the following to your application's .csproj file:
Visual Studio 2019 is required
<PropertyGroup>
<AndroidEnableDesugar>true</AndroidEnableDesugar>
<AndroidDexTool>d8</AndroidDexTool>
</PropertyGroup>Step 1: Integration
Integrate Apryse core and the tools library as described in Xamarin get started guide.
Open the NuGet package manager by right click on your project, and click Manage NuGet Packages.... Then in Browse tab, search for Apryse.
Insall:

Step 2: Add the viewer
Update your
AndroidManifest.xmlas described in Step 1 of this guide.Create the
CollabViewerTabHostFragment2, and start it like any other Android Fragment.
where R.id.fragment_container is the resource id of a layout in your activity that will contain your fragment:
For example:
Next steps
Last updated
Was this helpful?