- CLI: 6.5.1 - Cross-platform modules: "name": "tns-core-modules", "nativescript": { "platforms": { "ios": "5.0.0", "android": "5.0.0" } }, - Runtime(s): "tns-android": { "version": "6.5.0" }, "tns-ios": { "version": "6.5.0" } - Plugin(s): "nativescript-geolocation": "^5.1.0", "nativescript-plugin-firebase": "^10.6.3", ### Please, tell us how to recreate the issue in as much detail as possible. When I press the button tap then goes to this function it crash private getDeviceLocation(): Promise<any> { return new Promise((resolve, reject) => { Geolocation.enableLocationRequest().then(() => { Geolocation.getCurrentLocation({timeout: 10000}).then(location => { resolve(location); }).catch(error => { reject(error); }); }); }); }
"name": "tns-core-modules",
"nativescript": {
"platforms": {
"ios": "5.0.0",
"android": "5.0.0"
}
},
"tns-android": {
"version": "6.5.0"
},
"tns-ios": {
"version": "6.5.0"
}
"nativescript-geolocation": "^5.1.0",
"nativescript-plugin-firebase": "^10.6.3",
Please, tell us how to recreate the issue in as much detail as possible.
When I press the button tap then goes to this function it crash
private getDeviceLocation(): Promise {