Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Black screen) when App Reload is triggered on iPhones with Notch: #1393

Open
Tarek200 opened this issue Jan 10, 2024 · 0 comments
Open

(Black screen) when App Reload is triggered on iPhones with Notch: #1393

Tarek200 opened this issue Jan 10, 2024 · 0 comments

Comments

@Tarek200
Copy link

Tarek200 commented Jan 10, 2024

Bug Report

(Black screen) when App Reload is triggered on iPhones with Notch:

We are using the "Construct 3" game engine.
Every time the App triggers "Reload" it goes to a black screen.
The "Reload" triggers in various ways:

-Switching between Cordova Apps
or
-Resuming the App while its been for a long period on paused in the background.

Note:
This happens only on iPhones that have notch like for example "XS Max"

Problem

When the App Reloads it goes to a black screen

Note:
Also, I don't think it should force the App to reload while switching Apps as it should just resume from pause to continue from where the App was before was closed.

What is expected to happen?

That it doesn't go to a black screen

What does actually happen?

It goes to a black screen when it forces a Reload

Information

Command or Code

Steps to reproduce the bug:
1-Install my cordoba project with Xcode and Run the App
2-When is fully loaded close the App by swapping the notch
3-Download and Open any of the C3 Cordova Games in the store like (Littel Dog Bob or Punch Golf)
4-Then switching back to my Test App it triggers the Reload and it goes to Black Screen.

Video:
https://github.com/apache/cordova/assets/41597700/f450fda6-8d42-4794-ae59-8cde1d4b42eb

Cordova Project:
iOS canvas Bug.zip

Environment, Platform, Device

iOS (16 & 17)
iPhone XS Max

Other users could reproduce the bug on different iPhone models.

Note:
This issue only happens on iPhones that have Notch

Version information

Cordova Platforms iOS
Xcode 15.0.1
iOS 7.0.1

Checklist

  • [x ] I searched for existing GitHub issues
  • [x ] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above
@breautek breautek transferred this issue from apache/cordova Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant