anchor.diff:      bool iOSDevice = false;
       List<Map> formattedLists = [];
       List<List<Object>> newBufferList = [];
  -    for (List<Object> deviceEntry in bufferList) {
  +    for (List<Object> deviceEntry in unprocessedDevices) {
         // Handle differences among platform
         if (Platform.isIOS) {
           deviceEntry.insert(
  
positive.code: 
            // Set up background scanning
            backgroundFetchSetUp();
  
            // Set bluetooth singleton as already started
            firstInstance = false;
  
            // Set the minimum change to activate a new scan.
            location.changeSettings(accuracy: LocationAccuracy.low);
  
negative.code:   // Ensure we only process unique devices during one scan
    bool checkForDuplicates(ScanResult scanResult) {
      bool repeatedDevice = false;
      unprocessedDevices.forEach((element) {
        String toFind = '${scanResult.device.id}';
        if (element.contains(toFind)) {
          repeatedDevice = true;
  