> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Registration Available

> Check if there is an existing biometric registration on device using the Stytch React Native SDK

Call this method to check if there is an existing biometric registration on device. This method can be used to determine whether or not to show biometric login or registration options.

## Response

<ResponseField name="available" type="boolean">
  Whether there is an existing biometric registration on device.
</ResponseField>

<ResponseField name="request_id" type="string">
  Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we
  may ask for this value to help identify a specific API call when helping you debug an issue.
</ResponseField>

<ResponseField name="status_code" type="number">
  The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values
  equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
</ResponseField>

<Panel>
  <RequestExample>
    ```jsx theme={null}
    import { useStytch } from '@stytch/react-native';
    import React, { useCallback, useEffect, useState } from 'react';
    import { Text, TouchableOpacity, View } from 'react-native';

    export const Authenticate = () => {
      const stytch = useStytch();

      const [isBiometricsAvailable, setIsBiometricsAvailable] = useState(false);

      useEffect(() => {
        const checkBiometricsAvailability = async () => {
          if (stytch) {
            try {
              const available = await stytch.biometrics.isRegistrationAvailable();
              setIsBiometricsAvailable(available);
            } catch {
              setIsBiometricsAvailable(false);
            }
          } else {
            setIsBiometricsAvailable(false);
          }
        };

        checkBiometricsAvailability();
      }, [stytch]);

      const authenticateBiometrics = useCallback(() => {
        stytch.biometrics.authenticate({
          prompt: 'Login with Biometrics',
          sessionDurationMinutes: 60,
        });
      }, [stytch]);

      return isBiometricsAvailable ? (
        <View>
          <TouchableOpacity onPress={authenticateBiometrics}>
            <Text>Authenticate with Biometrics</Text>
          </TouchableOpacity>
        </View>
      ) : null;
    };
    ```
  </RequestExample>
</Panel>
