<aside> 🚨 in 10 seconds:

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: XamSvg.Shared.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>

Welcome

Thank you for supporting our components 🎉

This document explains how to set up a license for a Vapolia component.

Creating a license

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 Xamarin Forms application for iOS and Android creates two distinct applications and needs 2 licenses, but the same license string containing these 2 licenses can be used in the common code of the app.

<aside> 💡 You can decode the license string on jwt.io to check what information it contains. It should only display "invalid signature", which is normal.

</aside>

To create a license string, email to [email protected] with the email linked to your existing licenses, and the IDs of your apps. See What is an app id ? for more information about app IDs.

Installing a 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 Xamarin Forms, it would be in the constructor of the App class in the common project.

🚧 If you are using the Prism mvvm framework, you may need to add the line in each platform project before the call to global::Xamarin.Forms.Forms.Init();

This code should only be executed once.