Merge branch 'feature_redux' of https://git.zeptic.in/abintoppo_lincpay/CircleCollect into feature_profile
This commit is contained in:
@@ -54,6 +54,8 @@ export default function LoginScreen() {
|
||||
setLoading(true);
|
||||
try {
|
||||
const res = await axios.get(LOGIN_URL + mobile);
|
||||
console.log("OTP sent response:", res)
|
||||
|
||||
if (res.data.statusCode === 200) {
|
||||
navigation.navigate("OtpVarify", { mobile });
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ const SplashScreen = () => {
|
||||
try {
|
||||
const credentials = await Keychain.getGenericPassword();
|
||||
if (!credentials) {
|
||||
Alert.alert("Error", "You are not logged in");
|
||||
|
||||
return;
|
||||
}
|
||||
const token = credentials.password;
|
||||
|
||||
Reference in New Issue
Block a user