[
https://issues.apache.org/jira/browse/CB-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser updated CB-10691:
----------------------------
Priority: Minor (was: Major)
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.
> 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
> Priority: Minor
>
> 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]