A Supervisor Plugin enables features that otherwise wouldn’t be available on devices, such as Remote Control. Customers can work with their device manufacturers to automate Esper’s Remote Control setup and enable remote access right out of the box.
In order to do so, customers will have to:
- Request a plugin for each device model from Esper.
- Share the plugin with the device manufacturer. The manufacturer will then sign these plugins with specified platform model keys.
- Then share the signed plugin with Esper.
Device manufacturers must use the latest version of the APK signer tool to sign the plugin.
Ensure that the plugin is signed with the same platform key as the device image. Values that don't match won't be granted sufficient permissions.
After the plugin is signed, run the following commands to verify matching signatures. First, pull the following file from the device through adb:
adb pull /system/framework/framework-res.apk
Next, match the outputs of the following two commands:
apksigner verify -prints-certs supervisor.apk
apksigner verify -prints-certs framework-res.apk
Matching signatures ensure that the plugin will have sufficient permissions to use Esper features.