Device Enrolment - NFC

The enrolments by NFC for fully managed devices works on any Android OS 6.0 or above.
You can use NFC provisioning method to set up a device in a device owner mode. In the NFC provisioning method, or NFC bump, you create an NFC programmer app that contains the initial policies, Wi-Fi configuration, settings, and provisioning details required to configure the device owner mode of operation. When you or your customer installs the NFC programmer app on an Android device, that device becomes the programmer device.
To provision a device, the IT admin takes a new device out of the box and bumps it against the programmer device. The bump transfers configurations to the device, so it connects to the Internet and downloads the appropriate policies and settings.
After a device is provisioned, for a short time Google Play displays unmanaged consumer content instead of the approved apps and collections that should display. This delay can last from a few minutes up to an hour.

Provision a Customer Device

  1. 1.
    Download the CubiLock NFC app from PlayStore.
  2. 2.
    Install the CubiLock NFC on the device that will be a programmer device.
  3. 3.
    From your CubiLock console, scan the QR code of the profile you wish your devices to enrol with. This will fetch all the details of that profile including WiFi SSID, WiFi security, WiFi password and Enrolment token.
  4. 4.
    Bump the programmer device with a new device or the one that has been factory reset.
  5. 5.
    Verify that the device remains on the initial Welcome screen that’s displayed when it starts. The text is specified in Tap to beam:{...} in the programmer app.
  6. 6.
    Wait while the Android Device Policy Controller:
    1. 1.
      Encrypts the device.
    2. 2.
      If it’s a Code-Division Multiple Access (CDMA) device: Activates the phone while a telephony user interface is shown (no interaction required).
    3. 3.
      Sets up the Wi-Fi connection.
    4. 4.
      Apply your specified policies.
    5. 5.
      Installs required applications for setup to complete
  7. 7.
    After the setup completes, you will be navigated to the CubiLock Kiosk app where you will be able to see all the apps whitelisted for the profile you enrolled with.
On first launch you will be taken to on-boarding screen to guide you through the NFC enrolment process. You can either skip or continue watching the tutorial
Once you are done with on-boarding, you will be navigated to configurations screen where you can add configurations by scanning the QR code present on Device Enrolment screen on your CubiLock console
Scan the QR code provided on Device Enrolment screen of your profile to fetch configurations. You can also enter all the details manually by simply taping on Enter Manually button at the bottom of the screen. This will take you to configuration details screen where you will be able to add all the details manually
Once scanned, all the configuration details will be presented to you. Verify or fill in the missing details and press Start Enrolment button to continue enrolling your devices
At this stage your programmer device is ready. To provision a device, takes a new device out of the box and bump it against this device
Once you bump both device, it will ask for Tap to beam, tap on the screen once to transfer all the configurations to a new device
The configurations will be save for you to use in future. You can simply tap on the store configuration to start NFC enrolment
You can also Edit or Delete the stored configuration
Upon clicking on Edit icon, you will be taken to configuration details screen where you can edit its details and start enrolment if you want
You can also delete the stored configurations by simply clicking on Delete icon. It will ask you for your confirmation and once confirmed, the configuration will be deleted permanently

Additional Resources

Advanced NFC describes advanced NFC topics, such as working with various tag technologies, writing to NFC tags, and foreground dispatching.