This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState, useEffect, useCallback, useMemo } from 'react'; | |
| import { Platform } from 'react-native'; | |
| import { Session, User, AuthError } from '@supabase/supabase-js'; | |
| import createContextHook from '@nkzw/create-context-hook'; | |
| import { supabase, clearAuthStorage } from '../lib/supabase'; | |
| import AsyncStorage from '@react-native-async-storage/async-storage'; | |
| import * as WebBrowser from 'expo-web-browser'; | |
| import * as AppleAuthentication from 'expo-apple-authentication'; | |
| import { registerForPushNotificationsAsync, removePushToken } from '../services/pushNotificationService'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import createContextHook from '@nkzw/create-context-hook'; | |
| import { supabase } from '@/lib/supabase'; | |
| import { Session, User, AuthError } from '@supabase/supabase-js'; | |
| import { useCallback, useEffect, useMemo, useState } from 'react'; | |
| import { tempProfileStorage } from '@/lib/tempProfileStorage'; | |
| import { getCurrentAppConfig, getAppTypeFromMetadata } from '@/lib/authConfig'; | |
| import AsyncStorage from '@react-native-async-storage/async-storage'; | |
| import { Platform } from 'react-native'; | |
| import { modalAlert } from '@/lib/alert'; | |
| import * as WebBrowser from 'expo-web-browser'; |