Add Sign in with Apple sorta

This commit is contained in:
2025-03-05 12:58:18 -06:00
parent 06471f688a
commit c62926b8f2
35 changed files with 1458 additions and 620 deletions

View File

@@ -0,0 +1,23 @@
import { supabase } from '@/lib/supabase';
import { ThemedView, ThemedText, ThemedTextButton, ThemedTextInput } from '@/components/theme';
import { Alert, StyleSheet, AppState } from 'react-native';
const Logout_Button = () => {
const signOut = async () => {
const { error } = await supabase.auth.signOut();
if (error) Alert.alert(error.message);
};
return (
<ThemedTextButton
width={120}
height={60}
text='Logout'
fontSize={16}
onPress={() => signOut()}
/>
);
};
export default Logout_Button;
const styles = StyleSheet.create({});