Licensing
object Licensing
License management.
The libbeacon library requires a license to work, delivered as an API Key.
This API Key has to be set in the AndroidManifest.xml
file as a meta data of the application:
<manifest ... >
<application ... >
<activity ... >
</activity>
<meta-data android:name="fr.maxcom.libbeacon.apiKey" android:value="YOUR_API_KEY" />
</application>
</manifest>
Content copied to clipboard
Before any call to the library can be made, the application code must make an initial call to the method fr.maxcom.libbeacon.Licensing.allow. Typically this takes place in the onCreate()
method of the activity declared as the application entry point or of your custom subclass of android.app.Application.