Motoralfa commented on issue #120: When getting location does'nt return 
anything or return empty error with a timeout (Android Oreo)
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/120#issuecomment-440980371
 
 
   > Same Problem
   > 
   > I am trying on a
   > 
   > ```
   > Samsung J5 with android 7.0
   > cordova 8.0
   > cordova-android 7.1.2 / 7.11 / 7.00
   > ```
   > The method
   > `this.geo.getCurrentPosition({timeout: 30000, maximumAge: 0, 
enableHighAccuracy: true})`
   > 
   > Jumps to catch with no error descrition
   > `{}`
   > 
   > What would be wrong?
   
   Did you try to catch the error with `console.log(error.message)` instead of 
`console.log(error)`. Try this even if it seem to be a null objects, it can 
return a message of the problem

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to