You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sean Molyneaux (JIRA)" <ji...@apache.org> on 2015/08/23 23:42:46 UTC

[jira] [Commented] (CB-9432) IOS8 Geolocation Issue

    [ https://issues.apache.org/jira/browse/CB-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708554#comment-14708554 ] 

Sean Molyneaux commented on CB-9432:
------------------------------------

Solved this

The issue seems to have been a conflict between the  meta content policy  and geolocation services.

I removed the content policy from the index file and geo locaion worked like a charm.

Funny why this didn't happen in android

> IOS8 Geolocation Issue
> ----------------------
>
>                 Key: CB-9432
>                 URL: https://issues.apache.org/jira/browse/CB-9432
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>         Environment: IOS 8, device and simulator
>            Reporter: Sean Molyneaux
>
> With IOS 8 request for location services, there seems to be an issue with cordova geolocation.
> What happens is: Regardless of how I have tried to approach it is that the request window appears only when I close the app (press home).  The request message appears and very quickly disappears making it impossible to activate.
> Further whether this is a bug on IOS 8.  The geolocation is intermittent both with watch and get methods.
> Android works perfectly but there is something off with the IOS version.
> I am using the above plugin to track travel every 30 seconds I tested with android with a custom ping interval using the get method but had to switch to watchPosition with a 30sec condition loop to get iOS to barely work.
> (With above I record 30 sec intervals with webSQL)
> iOS fails about 9 out of 10 times (if I am luckly). I do notice I have to switch between open and close (home button) to get the location icon to appear in the status bar.  But once it disappears again I have to do the same.
> I am going to continue to test both devices as I am code blocked at the moment with any workarounds.
> Mainly I am going to launch with Android but I personally would like IOS as perfectly as android
> Please see video link for context and happy to share code if it helps.
> http://www.codo-hydra.com/uploads/cloud-file-8/ios8.mp4



--
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