I set stayLoggin with my app, so my userService.currentUser is not getting refreshed immediately if I change some value in User database.
How can I do the refresh method to keep my currentUser’s data is the newest?
Thanks!
I set stayLoggin with my app, so my userService.currentUser is not getting refreshed immediately if I change some value in User database.
How can I do the refresh method to keep my currentUser’s data is the newest?
Thanks!
Make a request to the server to load the user object.
Which API should I use?