Jcey
Jcey

Reputation: 11

Cordova IOS webview interface is randomly unresponsive

I'm building an app using Cordova 7.10 for IOS 10 & 11.

From time to time, very randomly, the app seems to not fire any touch event, like a freeze. But it's not a freeze, as the javascript part is still working fine - checked inspecting it with Safari and running some code and showing some alert windows. After some time, the interface is responsive again.

I've added the content-security-policy meta tag as stated here Cordova app hanging during startup on iOS 10 but no success so far, the random "freeze" is still happening.

Upvotes: 0

Views: 427

Answers (1)

DaveAlden
DaveAlden

Reputation: 30356

If you're experiencing this issue on iOS 11.3/11.4, then it may due to a bug in those versions of iOS which leads to event timestamps becoming negative and causes some touch event handling libraries to fail to handle the touch event.

For more info:

Note: the bug is fixed in iOS 12

Upvotes: 1

Related Questions