Type Function Library licensing.* Return value Boolean Revision 2017.3060 Keywords licensing See also licensing.verify()
Initializes the licensing service library by specifying the name of the licensing provider. Currently, only "google" is supported.
Returns true if successful; otherwise returns false.
You must add the following permission to the build.settings file in order to use the Google licensing provider.
settings =
{
android =
{
usesPermissions =
{
"com.android.vending.CHECK_LICENSE"
},
},
}
licensing.init( providerName )