Hey guys,
As I’m working on my application, I needed to get the current user’s current geographic coordinates inside my database. However, there’s an issue as I’m working on it. The issue is that everytime I refresh the page or sign the user in as a first time, the coordinate that is being recorded in the database is always “0,0” However, if don’t refresh the page the coordinates are placed inside the database correctly. This happens consistently everytime I tried the function. I hope that you guys could help. Thank you
Here’s a link to my loom video as I’m demonstrating the issues: