Software Archive
Read-only legacy content
17061 Discussions

cesiumjs hello world not working on iPad

Vu_D_
Beginner
1,265 Views

I created an app based on cesiumjs helloworld.  This works great in XDK emulation of iPad on the PC.  However, after pushing to iPAD and the app preview,  it does not show the globe.  

Is there any big difference between emulation of iPad vs the real iPad?

https://cesiumjs.org/2013/04/12/Cesium-up-and-running/

Thanks,

Vu Dang

0 Kudos
7 Replies
Amrita_C_Intel
Employee
1,265 Views

Hello,

Which XDK version are you using? And which iPad are you using? Can you send some screenshots?

0 Kudos
Vu_D_
Beginner
1,265 Views

I shared the code on github at this link.

https://github.com/vu-dang/xdk_map_3d

Thanks,

 

 

 

0 Kudos
Amrita_C_Intel
Employee
1,265 Views

Hello,

I recreated your app and added WkWebview plugin and now it is working. Just follow the steps mentioned in below documenation. And let me know if it still doesn't work.

https://software.intel.com/en-us/xdk/docs/building-cordova-ios-app-with-wkwebview

0 Kudos
Amrita_C_Intel
Employee
1,265 Views

The difference is this plugin makes runtime faster.

0 Kudos
Vu_D_
Beginner
1,265 Views

The change did not work for me .  Is there some project settings that I missed?

The updated code can be found at https://github.com/vu-dang/xdk_map_3d

Thanks,

0 Kudos
Amrita_C_Intel
Employee
1,265 Views

Hi,

Can you provide me your email ID? So that I can send you the code which Edited and it is working.

0 Kudos
Vu_D_
Beginner
1,265 Views

To recap for anyone interested in the solution, the code will work if it is provisioned to the iPad but will not work in App Preview as App Preview on the iPad does not support WkWebview plugin.  

Currently App Preview does not support any third party plug-ins including WkWebView.

 

0 Kudos
Reply