000032839 - RSA Adaptive Authentication (OnPrem) Mobile SDK 3.5 Android 6.0 generates hardwareId=-1

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000032839
Applies ToRSA Product Set: Adaptive Authentication (OnPrem)
RSA Product/Service Type: Mobile SDK
RSA Version/Condition: 3.5
IssueMobile SDK 3.5 on Android 6 generates hardwareId=-1
CauseAs per Android documentation, to access the hardware identifiers you need to enable certain permissions.
ResolutionTo access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions:
 
WifiManager.getScanResults()
BluetoothDevice.ACTION_FOUND
BluetoothLeScanner.startScan()

Note: When a device running Android 6.0 (API level 23) initiates a background Wi-Fi or Bluetooth scan, the operation is visible to external devices as originating from a randomized MAC address.

Attachments

    Outcomes