Software Archive
Read-only legacy content
17061 Обсуждение

cesiumjs hello world not working on iPad

Vu_D_
Начинающий
1 268Просмотр.

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 баллов
7 Ответы
Amrita_C_Intel
Сотрудник
1 268Просмотр.

Hello,

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

Vu_D_
Начинающий
1 268Просмотр.

I shared the code on github at this link.

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

Thanks,

 

 

 

Amrita_C_Intel
Сотрудник
1 268Просмотр.

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

Amrita_C_Intel
Сотрудник
1 268Просмотр.

The difference is this plugin makes runtime faster.

Vu_D_
Начинающий
1 268Просмотр.

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,

Amrita_C_Intel
Сотрудник
1 268Просмотр.

Hi,

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

Vu_D_
Начинающий
1 268Просмотр.

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.

 

Ответить