Skip to content

Conversation

@VastBlast
Copy link

Fixes #3 for all devices since iPhone 11.

The logic added will not break the code for any older devices, so it will only help. Although hard coding a ratio isn't perfect, it seems to be the only method to detect the height in private mode, as of now, and all devices since iPhone 11 have been using this ratio.

This PR also automatically adds the apple-mobile-web-app-capable if not already present, which is a required meta tag for the splash screen.

@frogsborne
Copy link

@VastBlast great work. I manually added the missing meta tag after looking through this issue thread. Your fix in 460b6ca would have saved me a lot of time!

@nohehf
Copy link

nohehf commented Dec 23, 2024

@avadhesh18 do you plan to merge this ?

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

Successfully merging this pull request may close these issues.

Does not work when added from private mode

3 participants