Update app.json configuration and enhance logging in index.tsx and schedule.tsx
This commit is contained in:
@@ -55,7 +55,7 @@ export default function Index() {
|
||||
}
|
||||
}
|
||||
);
|
||||
console.log('Login response:', response.data, response.headers);
|
||||
//console.log('Login response:', response.data, response.headers);
|
||||
const cookie = response.headers['set-cookie']?.join('; ');
|
||||
const userId = response.data.Data.UserID;
|
||||
const fullName = response.data.Data.FullName;
|
||||
@@ -64,7 +64,7 @@ export default function Index() {
|
||||
await SecureStore.setItemAsync('email', user);
|
||||
await SecureStore.setItemAsync('password', pass);
|
||||
await SecureStore.setItemAsync('fullName', fullName || '');
|
||||
console.log('Saved to SecureStore:', { cookie, userId, user, pass, fullName });
|
||||
//console.log('Saved to SecureStore:', { cookie, userId, user, pass, fullName });
|
||||
if (isAuto) {
|
||||
if (Platform.OS === 'android') {
|
||||
ToastAndroid.show('Sikeres automatikus bejelentkezés', ToastAndroid.SHORT);
|
||||
|
Reference in New Issue
Block a user