Das ControlCenter stellt der App folgende Schnittstelle zur Verfügung:
...
{
"licence": "<Lizenz>",
"deviceId": "<Geräte-ID>",
"deviceInfo": "<optional: Geräte Info>"
}
Antwort ist:
{
"licenseStatus": 20,
"tenantId": "d5c56c87-2ab2-4053-a0dd-7164049fd64f",
"installations": [
{
"url": "http://1.1.1.1:8088/api/Mobile",
"name": "Prod"
},
{
"url": "http://1.1.1.1:8085/api/Mobile",
"name": "Test"
}
]
}
mit Lizenzstatus
New = 10,
Inuse = 20,
Revoked = 30,
Invalid = 50
Persistenz
Die App muss die verwendete Lizenz in LocalSettings speichern