We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.geoLocation.getCurrentPosition is failing and throwing the error.
GeolocationPositionError {code: 2, message: "Network location provider at 'https://www.googleapis.com/' : No response received."}code: 2message: "Network location provider at 'https://www.googleapis.com/' : No response received."proto: GeolocationPositionError
It should return the current position values.
Throwing error.
this.geoLocation.getCurrentPosition({ maximumAge: 0, enableHighAccuracy: true, timeout: 5000 }).then((posData) => { // console.log('Current Coords', currentCoords); }) } }, (error) => { console.log('geolocation error', error); })
Windows Electron App
Ionic:
Ionic CLI : 6.11.12 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.3.2 @angular-devkit/build-angular : 0.1001.2 @angular-devkit/schematics : 10.1.2 @angular/cli : 10.1.2 @ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : 6.0.0, browser Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 28 other plugins)
Utility:
cordova-res (update available: 0.15.1) : 0.14.0 native-run (update available: 1.2.1) : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Users/hemangshah/Library/Android/sdk) ios-deploy : 1.10.0 ios-sim : 8.0.2 NodeJS : v12.16.1 (/usr/local/bin/node) npm : 6.14.4 OS : macOS Catalina Xcode : Xcode 11.6 Build version 11E708
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Problem
this.geoLocation.getCurrentPosition is failing and throwing the error.
What is expected to happen?
It should return the current position values.
What does actually happen?
Throwing error.
Information
Command or Code
Environment, Platform, Device
Windows Electron App
Version information
Ionic:
Ionic CLI : 6.11.12 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.2
@angular-devkit/build-angular : 0.1001.2
@angular-devkit/schematics : 10.1.2
@angular/cli : 10.1.2
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : 6.0.0, browser
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 28 other plugins)
Utility:
cordova-res (update available: 0.15.1) : 0.14.0
native-run (update available: 1.2.1) : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Users/hemangshah/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v12.16.1 (/usr/local/bin/node)
npm : 6.14.4
OS : macOS Catalina
Xcode : Xcode 11.6 Build version 11E708
Checklist
The text was updated successfully, but these errors were encountered: