I am building a prototype app where i want my the location of the logged in and authenticated user to be saved in a firebase database. Then i want to display his current location on a google maps widget. I followed all the steps online including generating APIs and adding the map , Query the database and much more. However when a user is authenticated the location that is saved in the data base is 0°N , 0°W. Instead of the current location.
[Authentication Logic](https://i.stack.imgur.com/KdTLu.png)
[Map Settings](https://i.stack.imgur.com/KXBDf.png)
[Query setings](https://i.stack.imgur.com/YJnzP.png)
[Data base](https://i.stack.imgur.com/lHxmL.png)
Here are some images of the authenication logic, the map settings
我几乎尝试了所有方法,但我不知道问题出在哪里。
我没有解决方案,但在同一时间遇到了完全相同的问题。