Home ionic 3 native geolocation not working
Reply: 0

ionic 3 native geolocation not working

user542
1#
user542 Published in May 20, 2018, 10:07 am

All of a sudden my geolocation is not working and I tried ionic native geolocation 2,3, and 4 and its still giving me the same error:

ERROR: Method 'getLocation:' not defined in Plugin 'Geolocation'

This is the line which causes the above error:

this.geolocation.getCurrentPosition(geoLocationOptions).then((position) => {
})

It was working originally and then all of a sudden it stopped not sure why all of a sudden it stopped working. Any ideas guys?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313823 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO