cordova-plugin-geolocation icon indicating copy to clipboard operation
cordova-plugin-geolocation copied to clipboard

Android: handle location service is off case and return error

Open khalidaw opened this issue 9 years ago • 8 comments
trafficstars

Platforms affected

Android

What does this PR do?

Return error when location is off, same error as return in iOS

What testing has been done on this change?

Bashed application using this version with this change

Checklist

  • [ ] Reported an issue in the JIRA database
  • [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • [ ] Added automated test coverage as appropriate for this change.

khalidaw avatar Nov 07 '16 11:11 khalidaw

Cordova CI Build has completed successfully.

Commit - Link Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 8.1 Store Link Link Link
Windows 10 Store Link Link Link
Windows 8.1 Phone Link Link Link
iOS Link Link Link
Android Link Link Link

cordova-qa avatar Nov 07 '16 17:11 cordova-qa

Cordova CI Build has completed successfully.

Commit - Link Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 8.1 Store Link Link Link
Windows 10 Store Link Link Link
Windows 8.1 Phone Link Link Link
iOS Link Link Link
Android Link Link Link

cordova-qa avatar Nov 07 '16 17:11 cordova-qa

Hey @khalidaw!

Is there an issue for this? http://issues.cordova.io

stevengill avatar Nov 07 '16 19:11 stevengill

If creating a JIRA issue for this PR is the only thing holding it up, here you go...

https://issues.apache.org/jira/browse/CB-12406

lincolnthree avatar Jan 30 '17 16:01 lincolnthree

@stevengill Is there anything else that needs to be done to get this merged? It seems like quite a key feature to me!

Menardi avatar Mar 16 '17 13:03 Menardi

This branch needs merged, it fixes inconsistencies between android and ios and after hours of trying to get android to work with no avail I installed this fork and it worked immediately. yes we can all download it from his fork, but it should be in the main repo. It's a definite improvement.

RickeyWard avatar Apr 06 '17 07:04 RickeyWard

@khalidaw Why are you returning no error message when you're sending back the ILLEGAL_ACCESS error when the permission is denied?

infil00p avatar Apr 25 '17 18:04 infil00p

ping to @khalidaw . See comment from infil00p

gianpaj avatar Oct 03 '17 07:10 gianpaj