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

Dave Alden reopened CB-9945:
----------------------------

This issue is still occurring with the latest cordova-android (5.1.0-dev) and 
cordova-plugin-geolocation (2.0.0).

See this screen capture video illustrating the issue: 
http://ge.tt/api/1/files/3NdclVS2/0/blob?download

I've updated the project in the bitbucket repo with these versions. The result 
still the same: requesting location causes emulator to reboot with exception: 
java.lang.IllegalArgumentException: provider doesn't exist: network

Is this likely to be an Android issue rather than a Cordova issue?

> Geolocation plugin not working in Android 6.0 emulator
> ------------------------------------------------------
>
>                 Key: CB-9945
>                 URL: https://issues.apache.org/jira/browse/CB-9945
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Geolocation
>         Environment: AVD Android 6.0
> Genymotion Android 6.0 PREVIEW
>            Reporter: Dave Alden
>
> Calling the Cordova geolocation API in an Android emulator environment causes 
> the Android OS to crash and reboot.
> The issue is reproducible with Cordova geolocation plugin from npm release 
> version 1.0.1 and latest version on master branch 1.0.2-dev.
> Steps to reproduce:
> Use the Cordova geolocation API to request a location in Android 6.0 emulator 
> environment:
>     navigator.geolocation.getCurrentPosition(onPosition, onPositionError, {
>         maxAge: 0,
>         timeout: 10000,
>         enableHighAccuracy: false
>     });
>     
> OR clone the bitbucket repo 
> https://bitbucket.org/dpa99c/android-m-location-test/src, build and run
> OR install and run the pre-built APK for that project: 
> https://bitbucket.org/dpa99c/android-m-location-test/raw/9a836ca3e3185db55fa75b263a4abbb76b4713ea/android-debug.apk



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

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

Reply via email to