דרושים פרילנסרים ל React Native Async Axios not responding

פרויקט מס' 165366

Job Statistics

9 Bids
תקציב
5,000 ₪ - 10,000 ₪
תוקף הפרויקט
סגור להצעות נוספות
טווח הצעות
55 ₪ - 250 ₪ לשעת עבודה
הצעה ממוצעת
156 ₪ לשעת עבודה

Job Info And Actions

תאריך פרסום: 05:38, 30 מרץ, 2021
הצעות תתקבלנה עד: 07:18, 7 אפריל, 2021
דרושים פרילנסרים ל React Native Async Axios not responding
רסטיגו הינו בית תוכנה למסעדות
אנו מפתחים אפליקציית נוכחות מבוססת GPS ב react native
אנו צריכים עזרה עם הסיטואציה הבאה :

I've got JWT logging and I'm trying to get the user by token

export const authTokenLogin = async (token) => {
let extra_url = `jwttokenlogin`;
try {
console.log("Break Point 1");
const response_user = await Axios.post(BASE_URL + extra_url, null, {
params: {
token,
},
});

console.log(response_user.data);
return response_user.data;
} catch (e) {
console.log("Break Point 2");
console.log(e.response.status);
return null;
}
};
all worked fine until few days ago from reason yet to be discovered

now it gets to "Break Point 1" and stock there, not reaching "Break Point 2" or "Break Point 3" just stock and heat up my phone

I've manage to get the token from

export const authLogin = async (email, password, rememberMe) => {
var formData = new FormData();
formData.append("email", email);
formData.append("password", password);
formData.append("remember_me", rememberMe);
try {
return await Axios.post(BASE_URL + "jwtlogin", formData).then((res) => {
return res.data.data;
});
} catch (e) {
return e.response.status;
}
};
So the server is alive and responding

looking for solution , Thanks

קבצי הפרויקט

הלקוח

עדכונים

Private Bid

הצעה פרטית
2 פרויקטים
הצעה מס' 2249916
הוגש: 4 אפריל 2021

Private Bid

הצעה פרטית
0 פרויקטים
הצעה מס' 2249805
הוגש: 4 אפריל 2021

Private Bid

הצעה פרטית
16 פרויקטים
הצעה מס' 2249297
הוגש: 1 אפריל 2021

Private Bid

הצעה פרטית
1 פרויקטים
הצעה מס' 2249003
הוגש: 31 מרץ 2021

Private Bid

הצעה פרטית
15 פרויקטים
הצעה מס' 2248796
הוגש: 31 מרץ 2021