Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10691

Geolocation Permission causes crash when called before onDeviceReady?

    XMLWordPrintableJSON

    Details

      Description

      The issue is when you don't use Cordova and try and use Geolocation with the Geolocation plugin installed. It will correctly request the permission, but since the Context to do the callback is null, it will crash. I added a null check, and that seems to fix it.

        Attachments

          Activity

            People

            • Assignee:
              bowserj Joey Robert Bowser
              Reporter:
              bowserj Joey Robert Bowser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: