Hi [~austincunningham],
According to the docs to enable a service the dev need get the dep init as for example `npm install @aerogear/security` it in the client app and init doing something as described [here|https://docs.aerogear.org/aerogear/latest/device-security.html#setup] for each type of SDK. Following the Cordova/JS example.
{code:java} new SecurityService(app.metrics) .check(DeviceCheckType.rootEnabled) .then(result => { // Handle the security result metric // result: { id: string, name: string, passed: boolean } }); {code}
In this way, to disable a service shows that the dev can not add the service and/or use something as rootDisable instead of rootEnabled.
So, IMHO we should do the same something similar for this service as well. I hope that this info can be helpful for your checks you here. |
|