Software Archive
Read-only legacy content
17061 Discussions

web-worker not working in IOS device but working in emulator

Mohamed_Ali_B_
741 Views
Web -Worker does not work in ios Device but working properly in emulator.

 

0 Kudos
3 Replies
Amrita_C_Intel
Employee
741 Views

Hello,

Can you please provide more details? Web worker means web view?

About Emulator: You should think of the Emulate tab as a Cordova API simulator, not as a device emulator. It provides you with a convenient viewport to help you visualize the approximate layout of your app on various devices and itsimulates the core Cordova APIs to make it easier to debug apps that use those APIs. It does not simulate real devices nor does it simulate third-party Cordova plugin APIs. Getting your app to work in the Emulate tab is not a guarantee that it will work on a real device. Conversely, if things work on a real device but do not work in the Emulate tab, that is not an indication that your app is "broken." The only way to know with certainty that your app works as intended is to build it and install it on real devices.

0 Kudos
Elroy_A_Intel
Employee
741 Views

What version of iOS are you testing your application on? I recommend using services like CanIUse to determine whether a HTML5 feature is supported in the platform's specific web browser/run-time.

http://caniuse.com/#feat=webworkers

0 Kudos
Elroy_A_Intel
Employee
741 Views

Support for web workers on iOS was made available in v.8.1. You can test functionality on your device by visiting http://www.w3schools.com/html/html5_webworkers.asp

0 Kudos
Reply