Skip to content

Fix bug and add required meta tag #4

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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