Feature: NFC Enable/Disable

Overview

This feature allows for enabling or disabling NFC access, based on user login or application start. These are controlled with configuration settings.

NFC can be enabled or disabled using nfcTurnOff and nfcTurnOnAtLogin within Launcher "settings" configuration and using enableNFC within Launcher "layouts" configuration.

Flow

The enabling / disabling of NFC occurs during one of three timeframes:

  1. When device is booted

  2. Opening of an application or shortcut

  3. After a session change (login or logout)

When nfcTurnOff is true, NFC will be disabled after the device is booted or during user logout.

When nfcTurnOnAtLogin is true, NFC will be enabled on user login.

When enableNFC is true for a specific application or shortcut, NFC will be enabled before the application is started. If the attempt at enabling NFC fails, the user will be notified and has the choice of whether or not to continue to the application.

Technical Notes

Configuration:

nfcTurnOff: Indicates that NFC should be disabled when a user logs out and when the device is booted. False indicates do nothing with NFC.

nfcTurnOnAtLogin: Indicates that NFC should be enabled when a user logs in to Launcher. False indicates do nothing with NFC.

enableNFC: Indicates that NFC should be enabled when that application or shortcut is opened. False indicated do nothing with NFC.

Example:


  "layouts" : {
    ...

    "ADMIN":[
      {
        ...
        "nfcEnable": true
      },
      {
        ...
        "nfcEnable": true
      }
    ],
  },

  ...

  "settings": {
    ...
    "nfcTurnOff" : true,
    "nfcTurnOnAtLogin" : true
    ...
  }

Feature Introduced

Feature Introduced in Launcher 3.x.