MAUI SDK
Use the ANVISA .NET MAUI SDK to integrate the locked ANVISA measurement and calibration flow into Android/iOS MAUI applications.
Installing the SDK
See the Customer Portal for SDK downloads.
- Copy the
Shenai.Maui.SDKdirectory into your MAUI solution. - Add a reference to the
Shenai.Mauiproject in your app’s.csproj.
YourProject.csproj
<ItemGroup>
<ProjectReference Include="Shenai.Maui.SDK/src/Shenai.Maui/Shenai.Maui.csproj" />
</ItemGroup>For iOS builds ensure the native framework is linked:
<ItemGroup Condition="'$(TargetFramework)'=='net9.0-ios'">
<NativeReference Include="Shenai.Maui.SDK/src/Shenai.iOS.Binding/native/ShenaiSDK.framework">
<Kind>Framework</Kind>
<ForceLoad>true</ForceLoad>
<SmartLink>true</SmartLink>
</NativeReference>
</ItemGroup>Shen.AI (ANVISA) flow
Initialize the SDK with your Shen.AI (ANVISA) API key or short-lived token and embed ShenaiSdkView as described in Initialization.
Use initializationMode for measurement, calibration, or calibrated measurement flows. Product customization settings remain locked by Shen.AI (ANVISA).
Further steps
See Initialization, Configuration, and Measurement preparation for the supported Shen.AI (ANVISA) flow.