You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const position = await CapacitorGeolocation.getCurrentPosition(); is correct and the document seems updated.
Right now, there is no mention of CapacitorGeolocation.getCurrentLocation()
The API description (https://capacitorjs.com/docs/next/apis/background-runner#geolocation-1) states:
CapacitorGeolocation.getCurrentLocation()
whereas in the code is:
const location = await CapacitorGeolocation.getCurrentPosition();
what is correct? In my case neither works. First gives the error: no a function (in the log) second a full stack of errors and then then app stops.
The text was updated successfully, but these errors were encountered: