<aside> 🚨 in 10 seconds:
For MAUI, in MauiProgram.cs
:
.UseEasySvg("the-license-string-you-received")
or
.UseWheelPicker("the-license-string-you-received")
Without MAUI:
In App.cs
or before using the component for the 1st time:
For Wheel Picker, add:
Vapolia.WheelPickerCore.Config.License = "the-license-string-you-received";
For Svg, add:
Vapolia.Svgs.Config.License = "the-license-string-you-received";
That’s all !
You can decode the license string on jwt.io
to verify it’s validity and check what information it contains. It should only display "invalid signature", which is normal.
</aside>
Thank you for supporting our components 🎉
This document explains how to set up a license for a Vapolia component.
A license string is a string which contains one or more encoded licenses. You can use the one same string for one, two or more applications.
For example a Maui application for iOS and Android creates two distinct applications and needs 2 licenses, but the same license string containing these 2 licenses can be set up in the common code.
<aside> 💡 You can decode the license string on jwt.io to check the informations it contains. It should only display "invalid signature", which is normal.
</aside>
To get a license, go to https://vapolia.eu/pay/order-license
After creating a license, you'll receive a license string. The license string is the same for all the application ids and os you selected when you created it.
To activate the license in your application, add one line of code like in the template below. Place it in your code somewhere before using the component for the first time.
A good place is in the startup code of your application. For Maui, it would be in the constructor of the App class in the common project.
<component>.License = "eyVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";