I'm having a very strange problem, I have an app running a year and after a few months with no updates when making a new release I realized that the geolocation was not working correctly. When I use the getCurrentPosition function there is no error, however the object returned is empty. I made a new app just to test and the same problem occurred. I'm testing with Ionic .
I need an urgent solution. Has there been any update on how to implement this recently?
Example:
Result:
As you can see from this basic example, I just wanted to see the information returned, but for some reason that I do not know but the object is empty.