You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/03/01 20:21:18 UTC

[jira] [Resolved] (CB-10691) Geolocation Permission causes crash when called before onDeviceReady?

     [ https://issues.apache.org/jira/browse/CB-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-10691.
-----------------------------
    Resolution: Fixed

> Geolocation Permission causes crash when called before onDeviceReady? 
> ----------------------------------------------------------------------
>
>                 Key: CB-10691
>                 URL: https://issues.apache.org/jira/browse/CB-10691
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Geolocation
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>              Labels: triaged
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org