[
https://issues.apache.org/jira/browse/CB-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174241#comment-15174241
]
ASF subversion and git services commented on CB-10691:
------------------------------------------------------
Commit 7c57ae9c0470905124c0d5a1430bf09f3a46f1cc in cordova-plugin-geolocation's
branch refs/heads/master from [~bowserj]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=7c57ae9
]
CB-10691: Check the context to avoid null errors
> 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: [email protected]
For additional commands, e-mail: [email protected]