Install a GooglePlay located App from NFC

前端 未结 2 1814
余生分开走
余生分开走 2021-01-13 05:10

Working with Lollipop, I have a device-owner app that is installed with NFC at provision time.
What I need now is to handle automatic updates for my App, from

2条回答
  •  攒了一身酷
    2021-01-13 05:14

    You need to set Base64 encoded SHA1 or SHA256 (from M forward) of the apk in the

    EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM

    field when provisioning through NFC otherwise the provisioned device will not accept the URL for download.

    Also see this answer for properly encoding the checksum.

提交回复
热议问题