Software Archive
Read-only legacy content
17060 討論

Works in Emulator - not in test

phil_J_
新貢獻者 I
1,889 檢視

My App works fine in Emulator but not when I TEST on device it just freezes

I've narrowed it down to the use of either

intel.xdk.device.uuid;

or  

intel.xdk.geolocation.getCurrentPosition

any ideas why these wouldn't work when Testing from server on an iPhone?

Phil

0 積分
3 回應
Dale_S_Intel
員工
1,889 檢視

I believe intel.xdk.geolocation has been deprecated in favor of  the standard Cordova geolocation plugin  (cf https://software.intel.com/en-us/xdk/docs/intel-xdk-api-cordova-plugin-methods-properties-events). ; I'm not sure of the current status of the intel.xdk.geolocation on iOS devices.

On the uuid API, it appears there is an issue on some iOS systems, details here - https://software.intel.com/en-us/node/493096, but I'm not sure if that would cause the problem you're seeing.  That API may also be deprecated in favor of the standard cordova device plugin, in any case I'd recommend trying that plugin.

And of course, make sure that you are including the plugins on the projects page.

phil_J_
新貢獻者 I
1,889 檢視

Thanks - works a treat

Dale_S_Intel
員工
1,889 檢視

My Pleasure!

 

回覆