Documentation Index
Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
Use this file to discover all available pages before exploring further.
The useIsFullyLoggedIn hook returns whether the current user has a valid, active session. Use it to gate authenticated screens or trigger navigation after login.
Import
import { useIsFullyLoggedIn } from "@getpara/react-native-wallet";
Usage
import { useIsFullyLoggedIn } from "@getpara/react-native-wallet";
import { View, Text } from "react-native";
function App() {
const { data: isLoggedIn } = useIsFullyLoggedIn();
if (isLoggedIn === undefined) {
return <Text>Loading...</Text>;
}
return (
<View>
{isLoggedIn ? <AuthenticatedScreen /> : <LoginScreen />}
</View>
);
}