If you want to use My API, then here are the details: Auth URL: simplifiedcoding.tech/mywebapp/public/api/auth/login or /signup User URL: simplifiedcoding.tech/mywebapp/public/api/user Here is a user that you can use for Login if you do not want to make the SignUp part on your own. email: probelalkhan1@gmail.com password: 12345678 Thank You
excellent job from belal khan ! some topics like this this are always need more attention. these generic functions that are called in whole app pages are hard for beginners. include many things like generic functions , sealed class , ... thanks a lot .if you know anything about designing or customizing view class tell us. it is a topic that is not found a lot.
I have updated this project with Refresh Token and authenticator Check here: th-cam.com/video/QfnmLx68jcI/w-d-xo.html Soon I will create a step by step explanation video as well.
Hi bro! I updated my Api Rest. Before I was sendig a server message: if(!user) return res.send({message: "wrong email"}) now I updated it responding wiht a 401 status code if(!user) return res.status(401).send('wrong email') I did it using node.js and express.. Ok bro I update and the App works but how we can get the server message and show it instead of do it: requireView().snackbar("You've entered incorrect email or password") ? I want to show the server message instead of the snackbar message.. ¿Can you update it? thanks so much.
After fetching and displaying user information when orientation changes api request was sending again to fetch tha data. Is there is any solution other than room to fix this problem
Is it possible to get some episodes showing fetching lists of data and uploading to the list also? That would go a long way sir. As always, we love you
Error model: { "error": { "message": "Username is already taken." "code": 422 } } I want to show api response.errorBody(). I have written sign up api and it returns errors like in error model message property could be any error like "email is already taken", "email is invalid", etc . How to parse api response error body with custom data class, if response is not successful. I'm using retrofit for api calls. Please help sir.
Great bro
I am waiting from long time for this topic video
❤️❤️
If you want to use My API, then here are the details:
Auth URL: simplifiedcoding.tech/mywebapp/public/api/auth/login or /signup
User URL: simplifiedcoding.tech/mywebapp/public/api/user
Here is a user that you can use for Login if you do not want to make the SignUp part on your own.
email: probelalkhan1@gmail.com
password: 12345678
Thank You
is this signup API working or not?
because when I am testing this API on postman it's not giving me any response
It's really very much helpful.
❤️❤️
excellent job from belal khan ! some topics like this this are always need more attention. these generic functions that are called in whole app pages are hard for beginners. include many things like generic functions , sealed class , ... thanks a lot .if you know anything about designing or customizing view class tell us. it is a topic that is not found a lot.
Great video, thanks for this, can I get an explanation on refresh token handling using authenticator in this case
I have updated this project with Refresh Token and authenticator
Check here: th-cam.com/video/QfnmLx68jcI/w-d-xo.html
Soon I will create a step by step explanation video as well.
Hi bro! I updated my Api Rest. Before I was sendig a server message:
if(!user) return res.send({message: "wrong email"})
now I updated it responding wiht a 401 status code
if(!user) return res.status(401).send('wrong email')
I did it using node.js and express..
Ok bro I update and the App works but how we can get the server message and show it instead of do it:
requireView().snackbar("You've entered incorrect email or password") ?
I want to show the server message instead of the snackbar message.. ¿Can you update it?
thanks so much.
great video as always, thanks a lot ❤️❤️
Thanks ❤️
After fetching and displaying user information when orientation changes api request was sending again to fetch tha data. Is there is any solution other than room to fix this problem
It should not happen as we are already using ViewModel. I will check and tell you.
@@SimplifiedCoding Okay thanks. I'm waiting for the answer
Please add DI in this project sir ASAP
Lovely video.. Can you please let me know how I can call handleApiError from Activity since its using Fragment here?
call it directly. it is in util file but it is not member of any class. this function is written in file.
Is it possible to get some episodes showing fetching lists of data and uploading to the list also? That would go a long way sir. As always, we love you
Already covered fetching list so many times.
@@SimplifiedCoding oh, ok so there's no changes to how you did it in the mvvm tutorial?
No just hit the api in repository call that function in view model and observe result in fragment.
@@SimplifiedCoding Done and done. Thank you so much sir.
Error model:
{
"error": {
"message": "Username is already taken."
"code": 422
}
}
I want to show api response.errorBody(). I have written sign up api and it returns errors like in error model message property could be any error like "email is already taken", "email is invalid", etc . How to parse api response error body with custom data class, if response is not successful. I'm using retrofit for api calls. Please help sir.
hallo masterrr, how to handle SocketTimeOut when user hasnt internet connection??
No Internet is already handled here.
Request to you sir .can you please upload a paging fetching in recycler view using this same project setup..please reply...
hello bhai after login my app not changing activity i followed your steps and checked your git too.
help me please. Thanks
clone my repository and try, and then compare it with your code.
okay
Do you show how to register a new user?
First view 😍
❤️❤️
Nice video sir, please make some videos that is talking about how to implement clean architecture to our project. Thanks ;)
Okay I will try.
✨✨
camerax tutorial for java
Hello ham Fahad hai