naoufal/react-native-touch-id

View on GitHub
errors.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getError has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getError = (code) => {
  switch (code) {
  case codes.iOSCodes.LAErrorAuthenticationFailed:
  case codes.androidModuleCodes.AUTHENTICATION_FAILED:
    return errors.AUTHENTICATION_FAILED;
Severity: Minor
Found in errors.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status