anchor.diff:              }
             }
           } else {
  -          print('validToken: false, error');
             this.setState(() {
               successfulSubmission = false;
               didError = true;
  
positive.code:           Provider.of<UserDataProvider>(context, listen: false).isLoggedIn;
        var validToken = false;
  
        print('Native Scanner Submission Testing');
        print('-----------------------------------');
        print('isLoggedIn: ' + isLoggedIn.toString());
        print('accessToken: ' + accessToken.toString());
        print('accessTokenExpiration: ' + accessTokenExpiration.toString());
        print('nowTime: ' + nowTime.toString());
        print('Token expired: ' + tokenExpired.toString());
        print('Token expires in ' + timeDiff.toString() + 's');
  
        if (isLoggedIn) {
          print('Scan Submission: isLoggedIn=true');
          if (tokenExpired) {
            print('Scan Submission: tokenExpired=true');
            if (await _userDataProvider.silentLogin()) {
              print('Scan Submission: refreshToken success');
              var newAccessToken =
                  _userDataProvider?.authenticationModel?.accessToken;
              print('newAccessToken: ' + newAccessToken);
              validToken = true;
            } else {
              print('Scan Submission: refreshToken failed.');
            }
          } else {
            print('Scan Submission: tokenExpired=false');
            validToken = true;
          }
  
          if (validToken) {
            print('validToken: true, POSTing to ScanData V2...');
            var results = await _barcodeService.uploadResults({
              "Content-Type": "application/json",
              'Authorization':
  
negative.code:         });
        }
      } catch (e) {
        this.setState(() {
          successfulSubmission = false;
          didError = true;
  