feat: 로그인 성공 시 토큰 저장 및 홈 스크린 이동

This commit is contained in:
2026-01-01 18:43:52 +09:00
parent 7400363466
commit 8829a44b88
10 changed files with 248 additions and 23 deletions

View File

@@ -1,9 +1,17 @@
import { StyleSheet, Text, View } from "react-native";
import AsyncStorage from "@react-native-async-storage/async-storage";
import { Button, StyleSheet, View } from "react-native";
export default function HomeScreen() {
return (
<View style={styles.container}>
<Text>feawfewa</Text>
<Button
title="Debug Storage"
onPress={async () => {
const keys = await AsyncStorage.getAllKeys();
const entries = await AsyncStorage.multiGet(keys);
console.log(entries);
}}
/>
</View>
);
}