Install a GooglePlay located App from NFC

前端 未结 2 1812
余生分开走
余生分开走 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.

    0 讨论(0)
  • 2021-01-13 05:39

    Write your package name as an AAR record in the tag.

    To confirm that this functionality works, use this app to write the tag with.

    0 讨论(0)
提交回复
热议问题