- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having weird problem. I used Cordova Geolocation Plugin but the device is not receiving / reading GPS data .. it seems like there is an issue with Intel XDK .. can anyone help me on this ....
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have the plugin selected?
Are you having issues with the XDK, appPreview, built app?
Device?
OS?
Code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello John,
Actually, I used the code:
navigator.geolocation.watchPosition(ShowPosition, onError, options);
and selected the Cordova Geolocation Plugin .. strangely .. it is not working on Android (Emulator) but working on iOS Emulator .. I build the app installed on the HTC and iPhone 6 .. it is not working on these devices...
It is so weird I am not able to find the problem .. is it device or code .. I have properly used the code from:
https://github.com/apache/cordova-plugin-geolocation
Thank you !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
Any News on this issue?
i have the same problem...and this less than 24 hours b4 my release deadline... working fine yesterday...updated XDK... not working.
In an attempt to pin point the issue i divided the navigation request into 3 sections... all seems ok up to the point where the device requests GPS position... here it times out constantly. When in emulator in iPhone 6 and 6plus it works fine but not in Samsung Galaxy S.
This issue started immediately after first load updating XDK from 1621 to 1912. This leads me to suspect that in the process of updating the APP during this first load something has gone wrong or changed.
function getHighAcc1() {
navigator.geolocation.watchPosition(onGeoSuccess, onGeoError, {maximumAge:10000, timeout:20000, enableHighAccuracy:true});
};
Any help will be greatly appreciated... maybe im just not thinking and thus missing the solution wacking me over the head as it is staring me in the face... i blame it then on sleep deprivation.
Thanks
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please also take a look at the Intel XDK Cordova FAQs at https://software.intel.com/en-us/xdk/faqs/cordova
In particular Q21: How do I resolve Geolocation issues with Cordova?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Anusha & John,
Hope you are doing great and thanks for your reply.
Also, I suggest you to try the demo / app and build with the New version of Intel XDK 1912 by your own rather than providing the link. I have already gone through that link and implemented all possible stuffs.
I have gone through hundreds of threads and forum and tried each possible code to make this happen but unfortunately it is not working.
navigator.geolocation.watchPosition(onGeoSuccess, onGeoError, {maximumAge:10000, timeout:20000, enableHighAccuracy:true});
The above code is not working even I select Cordova Geolocation Plugin from Build Settings.
I am really fed up from search and testing different codes.
The issue is not only on Geolocation, even if you set your Build option to Full Screen, Orientation to Portrait .. nothing works ...
There is much problem with other Cordova Plugins too... Connection Plugin is also not working.
Try it with iOS build so that you will understand what am I talking about.
Mostly the issues are in iOS build. Also most of the plugins are not working even we select / use them from Build Settings. (for both Android & iOS). It means Definitely there is a problem with Intel XDK itself.
I remember, with previous version of Intel XDK, these all things were working fine. I am now afraid to use Intel XDK for the further updates on app.
So, please check once from your side if there are some issue with Intel XDK itself.
I hope these issue will be fixed soon so that we can enjoy using Intel XDK to develop / build our Mobile Application
Many Thanks !!
Regards
Andrew

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page