[GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...

2016-10-24 Thread gkrizek
Github user gkrizek commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/57
  
I can also confirm that if you manually allow your app to use location in 
the settings, then try to start it, it still crashes.  Can we get any help on 
this?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...

2016-10-20 Thread gkrizek
Github user gkrizek commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/57
  
If this is needed, I have the `logcat` output  from when it dies. I don't 
have a physical device to test this on, only an emulator. @xiaoerge or 
@iursevla, do you guys have a physical device?

While it's asking me to accept the location, this is output many times a 
second:
```
10-20 23:34:27.732  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
10-20 23:34:27.782  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
10-20 23:34:27.832  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
10-20 23:34:27.884  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
```

Then the actual failure:
```
10-20 23:34:27.919  1763  1776 E Surface : getSlotFromBufferLocked: unknown 
buffer: 0xeb0ed380
10-20 23:34:27.924  1763  1776 D OpenGLRenderer: endAllStagingAnimators on 
0xf2c2b480 (RippleDrawable) with handle 0xeea529d0
10-20 23:34:27.944  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
10-20 23:34:27.989   758  1462 I ActivityManager: Killing 
896:com.android.externalstorage/u0a7 (adj 15): empty #17
10-20 23:34:27.993   758   758 D AndroidRuntime: Shutting down VM
10-20 23:34:27.993   758   758 E AndroidRuntime: *** FATAL EXCEPTION IN 
SYSTEM PROCESS: main
10-20 23:34:27.993   758   758 E AndroidRuntime: 
java.lang.IllegalArgumentException: provider doesn't exist: network
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:1637)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:1616)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
android.location.LocationManager.requestLocationUpdates(LocationManager.java:880)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
android.location.LocationManager.requestLocationUpdates(LocationManager.java:496)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.location.fused.FusionEngine.enableProvider(FusionEngine.java:142)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.location.fused.FusionEngine.updateRequirements(FusionEngine.java:195)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.location.fused.FusionEngine.setRequest(FusionEngine.java:118)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.location.fused.FusedLocationProvider$1.handleMessage(FusedLocationProvider.java:98)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
android.os.Handler.dispatchMessage(Handler.java:102)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
android.os.Looper.loop(Looper.java:148)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.server.SystemServer.run(SystemServer.java:285)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.server.SystemServer.main(SystemServer.java:170)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
java.lang.reflect.Method.invoke(Native Method)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-20 23:34:27.993   758   758 E AndroidRuntime:at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-20 23:34:28.005  1708  1708 W art : Attempt to remove non-JNI local 
reference, dumping thread
10-20 23:34:28.006   758   758 I Process : Sending signal. PID: 758 SIG: 9
10-20 23:34:28.025  1763  1763 E JavaBinder: !!! FAILED BINDER TRANSACTION 
!!!  (parcel size = 88)
10-20 23:34:28.030   315   315 I lowmemorykiller: ActivityManager 
disconnected
10-20 23:34:28.030   315   315 I lowmemorykiller: Closing Activity Manager 
data connection
10-20 23:34:28.031  1357  1370 W Sensors : sensorservice died [0xe83ce980]
10-20 23:34:28.031   318   318 I ServiceManager: service 'telecom' died
10-20 23:34:28.031   318   318 I ServiceManager: service 'usb' died
10-20 23:34:28.031   318   318 I ServiceManager: service 'serial' died
10-20 23:34:28.031   318   318 I ServiceManager: service 'jobscheduler' died
...
10-20 23:34:28.031   318   318 I ServiceManager: service 'network_score' 
died
10-20 23:34:28.031   106   106 E installd: eof
10-20 23:34:28.031   106   106 E installd: failed to read size
10-20 23:34:28.031   106   106 I installd: closing connection
10-20 23:34:28.031  1126  1349 E WifiManager: Channel connection lost
10-20 23:34:28.032  1357  1655 E WifiManager: Channel connection lost
10-20 23:34:28.032   875  1061 E WifiManager: Channel connection lost
10-20 23:34:28.06

[GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...

2016-10-20 Thread xiaoerge
Github user xiaoerge commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/57
  
I am experiencing the same issue as @gkrizek and @iursevla .
When I click allow permission on android 6 in the emulator, it crashed the 
emulator.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...

2016-10-14 Thread gkrizek
Github user gkrizek commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/57
  
I can confirm that pretty much exactly what @iursevla said is happening to 
me. I click 'Approve' and it looks like it restarts the emulator.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...

2016-09-17 Thread iursevla
Github user iursevla commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/57
  
"On Android 6.0 when asking for permission to access location, answering 
Deny will cause application crash"

Today i lost 4 hours trying to make it working on the emulator(Genymotion, 
Google Nexus 5X 6.0.0 - API 23), but on my case was when answering Allow which 
causes the application to "crash". With "crash" i mean it will show the android 
logo like it was starting and after 10 seconds it will be back to the main menu 
with the app running in background. Trying to debug was useless.

Now on Genymotion, Google Nexus 6 5.0.0 - API 21.

Don't know if it helps anyone but i though it would be good to share.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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