[AC-5058] Android: Ti.Geolocation.getCurrentPosition may crash
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | n/a | 
| Status | Closed | 
| Resolution | Needs more info | 
| Resolution Date | 2017-08-01T20:26:16.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | n/a | 
| Components | n/a | 
| Labels | Android, Geolocation | 
| Reporter | hakaniemi | 
| Assignee | Shak Hossain | 
| Created | 2017-06-28T05:52:16.000+0000 | 
| Updated | 2017-08-01T20:26:16.000+0000 | 
Description
	On Android, Ti.Geolocation.getCurrentPosition may crash. LocationResults.success is true, but app will crash then.
Hi, Thanks for reaching us. What version of Android devices do you have? Could you please add more details about your environment. Do you have some test case to demonstrate what you are trying? We can offer you to look into your code and help to identify errors. Best Aminul
Hi, We have tested this issue with latest SDK 6.1.0.GA and 6.1.1.GA on Android 6.0(HTC one m8). So far we have been unable to reproduce this issue. Log
[INFO] : GetCurrentPosition returned{"code":0,"provider":{"power":1,"name":"network","accuracy":2},"coords":{"altitude":0,"speed":0,"longitude":90.3461724,"heading":0,"latitude":23.7643312,"timestamp":1498662778989,"altitudeAccuracy":null,"accuracy":116.0999984741211},"success":true}Operating System Name = Mac OS X Version = 10.11.6 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 4.4.4 npm Version = 2.15.1 Titanium CLI CLI Version = 5.0.14 Titanium SDK SDK Version = 6.1.0.GAHello, We have not able to reproduce the issue. Could you please add more details about your environment? Also what device are you testing on?