apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

Constant white flashing across screen. #1095

Closed nintendowii111 closed 3 years ago

nintendowii111 commented 3 years ago

Bug Report

Problem

Screen flickers extremely fast a bright white across the entire screen constantly and other graphical issues using pixi.js and cordova on iOS 14. (iOS 13 had zero issues)

What is expected to happen?

Render graphics normally.

What does actually happen?

The entire screen flickers white constantly since upgrading to iOS 14. No change from iOS 13 yet it worked perfect on 13.

Information

I use RPG Maker MV which is based on javascript and uses pixi.js for rendering. The rendering mode is set to Webgl and not canvas since canvas doesn't work on iPhone.

On iOS 13, I had ZERO issues with the rendering, BUT, after upgrading to iOS 14 and testing my app, the screen flickers extremely fast a bright white across the entire screen constantly! It drives you crazy after looking at it for a second.

On the simulator, it runs normally and has no issues.

On my physical test device (iPhone XS Max), it has the constant flickering issue.

Also to clarify, I've deployed to iPhone the same app on iOS 13 and it worked fine, iOS 14 just broke it.

Environment, Platform, Device

iPhone XS Max, iOS 14.1

Version information

MacOS Big Sur Xcode 12.3 iOS Cordova 6.1.1

Checklist

timbru31 commented 3 years ago

If it works on iOS 13 but not on 14, I suspect this is not a Cordova but a WebKit bug itself. Have you tried running a POC in the Safari browser directly?

nintendowii111 commented 3 years ago

If it works on iOS 13 but not on 14, I suspect this is not a Cordova but a WebKit bug itself. Have you tried running a POC in the Safari browser directly?

I opened the index.html inside the app bundle on my iPhone and it did the exact same thing sadly.

timbru31 commented 3 years ago

Thanks for testing. This is a WebKit bug then, that you need to fill in here: https://bugs.webkit.org/
An example that helps to test the bug is really appreciated by the WebKit folks.

You can also file a case in the Feedback App with Apple.