דרושים פרילנסרים ל React Native Async Axios not responding
Project # 165366
Job Statistics
9 Bids |
budget
5,000 ILS - 10,000 ILS
|
bidding ends in
bidding closed
|
bid range
55
ILS
-
250
ILS
/ hour
|
average bid
156
ILS
/ hour
|
Job Info And Actions
Posted:
05:38, 30 Mar., 2021
Ends:
07:18, 7 Apr., 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
אנו מפתחים אפליקציית נוכחות מבוססת 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
skills required
attachments
Please sign in to access project files
the client
Please
sign in
to contact the client
updates
Please sign in to view project updates
Private Bid
3 projects
|
|
Private Bid
0 projects
|
|
Private Bid
16 projects
|
|
Private Bid
1 projects
|
|
Private Bid
16 projects
|
|