Why PACKAGE DOWNLOAD LOCATION is nothing?
Issue by ghost
Monday Nov 28, 2016 at 07:48 GMT
Originally opened as https://github.com/googlesamples/android-NfcProvisioning/issues/2
Why this sample don't contain EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION? It seems require.
Document says "A String extra holding a url that specifies the download location of the device admin package. When not provided it is assumed that the device admin package is already installed" REF: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html
But, We must do factory reset to enable DeviceOwner feature, therefore, device don't have admin package.
Comment by KunYi
Thursday May 03, 2018 at 15:42 GMT
check the below information about "nfcprovisioning.txt" file https://developer.android.com/work/guide#provision-a-device-owner