QR codes can be used in the provisioning process on Android 7.0 or higher devices. The Kiosk Browser Provisioner app allows you to easily generate a QR code but you may wish to customise this further yourself.

//EXAMPLE
{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"com.procoit.kioskbrowser/.receiver.AdminReceiver",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM":"w1aIcQCMw4Jk2znj150fxQ539rCy1kZ4fH33gprb7Ho=",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":"https://kbremote.blob.core.windows.net/apk/current/com.procoit.kioskbrowser.apk",
"android.app.extra.EXTRA_PROVISIONING_LOCALE":"en_GB",
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": true,
"android.app.extra.PROVISIONING_SKIP_ENCRYPTION": true,
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {
"registration_key": "12345",
"licence_key": "123XXX",
"kiosk_url": "http://www.bbc.co.uk"
}
}


PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM
The package checksum changes on each release and is unique to the APK file, the provisioner app handles this automatically but if when creating your own QR code you must make sure this value is correct. Use https://hash.online-convert.com/sha256-generator to generate the checksum.
When the sha256 checksum is generated, copy the base64 string and replace any of the following characters (to make the string url safe):
+ (replace with -)
/ (replace with _)



Optional Fields
kiosk_url
registration_key
licence_key

You can paste this example into http://goqr.me/ and modify the values as you see fit.

If you have purchased a custom build you will need to change com.procoit.kioskbrowser to your package name i.e. com.mycompany.browser, if unsure please contact us.
Was this article helpful?
Thank you!