Skip to main content
The useWaitForSignup hook polls until a new user’s signup is fully confirmed. Use it as part of a custom step-by-step auth flow after the verification code step.

Import

import { useWaitForSignup } from "@getpara/react-native-wallet";

Usage

import { useWaitForSignup } from "@getpara/react-native-wallet";

function WaitingForSignup() {
  const { waitForSignupAsync, isPending } = useWaitForSignup();

  const handleWait = async () => {
    try {
      await waitForSignupAsync({});
      // Signup complete — proceed to wallet creation
    } catch (err) {
      console.error(err);
    }
  };

  return <Button title={isPending ? "Waiting..." : "Check Signup Status"} onPress={handleWait} disabled={isPending} />;
}