-
Notifications
You must be signed in to change notification settings - Fork 1
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
PWA without status bar #1
Comments
@derlin I got it now. Can there be a workaround to make browser think that it actually got installed from the original site and not github site? So that the top bar is removed? Maybe using custom hosts file? Would it work ? |
Hello @jayb-g and sorry for the late reply, This is at least the conclusion I came to, but I am happy to hear your ideas if you have any :) |
I mean I don't think it can be incorporated here but what I'm suggesting is that if maybe you can change hosts file on your Android(possible only if its rooted) or through changing router settings:
^All to make browser think that the mainfest is actually coming from foo.com and not github.com/bar I think if both of it can be managed then PWA would install fine without the top bar. Maybe its too much for some just to have a PWA for a site that doesn't support it. |
@derlin Another workaround is if a react webview wrapper App(apk) can be generated dynamically based on user requested domain. The app name also can be dynamic(user provided). It would be installable like any normal app but wouldn't require whole lot of permissions to use it since it just uses webview. At this point I'm not thinking about necessary permissions for some kind of sites such as location, but I think it would be enough even without permissions for most sites. Added benefit to this apprpach: it doesn't remain attached to the browser session like in case of installed as PWA. |
Most PWAs don't show status bar on top or bottom, whereas using PWA-izer, there is a status bar.
Even in your readme, the sample PWA has status bar on top.
Any way it can be without the status bar? I don't know if there is a standard for that. Maybe if service worker is generated?
Maybe these will help:
https://github.com/NeverDecaf/discord-PWA
https://stackoverflow.com/questions/68856575/android-os-nav-and-status-bars-toggling-in-and-out-on-fullscreen-pwa
The text was updated successfully, but these errors were encountered: