Merge branch 'feature_redux' of https://git.zeptic.in/abintoppo_lincpay/CircleCollect into feature_profile

This commit is contained in:
Abin Toppo
2025-09-18 16:40:41 +05:30
parent c040840040
commit 0da569641b
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -54,6 +54,8 @@ export default function LoginScreen() {
setLoading(true); setLoading(true);
try { try {
const res = await axios.get(LOGIN_URL + mobile); const res = await axios.get(LOGIN_URL + mobile);
console.log("OTP sent response:", res)
if (res.data.statusCode === 200) { if (res.data.statusCode === 200) {
navigation.navigate("OtpVarify", { mobile }); navigation.navigate("OtpVarify", { mobile });
} }
+1 -1
View File
@@ -21,7 +21,7 @@ const SplashScreen = () => {
try { try {
const credentials = await Keychain.getGenericPassword(); const credentials = await Keychain.getGenericPassword();
if (!credentials) { if (!credentials) {
Alert.alert("Error", "You are not logged in");
return; return;
} }
const token = credentials.password; const token = credentials.password;