You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dave Alden (JIRA)" <ji...@apache.org> on 2015/11/03 18:01:27 UTC
[jira] [Created] (CB-9945) Geolocation plugin not working in
Android 6.0 emulator
Dave Alden created CB-9945:
------------------------------
Summary: 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org