Add web-app meta tags for fullscreen on mobile devices #1081

Closed
opened 2026-02-04 23:41:57 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @j0hannesr0th on GitHub (Mar 11, 2019).

Describe the feature you'd like
If you click "Add to Homescreen" on your Android or iOS device there is no icon available. Besides this if you open the newly created shortcut on your homescreen it opens the browser - but not fullscreen.

If you provide some meta tags the app opens in fullscreen mode in is like a native app.

Describe the benefits this feature would bring to BookStack users
Fullscreen and native app feeling on mobile devices of any os.

Additional context
ready to use repo: https://github.com/gokulkrishh/awesome-meta-and-manifest

Originally created by @j0hannesr0th on GitHub (Mar 11, 2019). **Describe the feature you'd like** If you click "Add to Homescreen" on your Android or iOS device there is no icon available. Besides this if you open the newly created shortcut on your homescreen it opens the browser - but not fullscreen. If you provide some meta tags the app opens in fullscreen mode in is like a native app. **Describe the benefits this feature would bring to BookStack users** Fullscreen and native app feeling on mobile devices of any os. **Additional context** ready to use repo: [https://github.com/gokulkrishh/awesome-meta-and-manifest](https://github.com/gokulkrishh/awesome-meta-and-manifest)
OVERLORD added the :cat2:🐈 Possible duplicate label 2026-02-04 23:41:57 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 13, 2019):

Thanks for the suggestion @hmr-it-jr.

There are two existing issues that seem to cover what you're requesting here:

  • #1252 - Progressive Web Application (For add to homescreen support / App feel)
  • #301 - iOS homescreen icon support

In the interest of keeping duplicates reduced I'm going to close this. Please comment if I've misunderstood at all though.

@ssddanbrown commented on GitHub (Mar 13, 2019): Thanks for the suggestion @hmr-it-jr. There are two existing issues that seem to cover what you're requesting here: * #1252 - Progressive Web Application (For add to homescreen support / App feel) * #301 - iOS homescreen icon support In the interest of keeping duplicates reduced I'm going to close this. Please comment if I've misunderstood at all though.
Author
Owner

@chillinPanda commented on GitHub (Mar 13, 2019):

Just a small addition to the above linked issue for PWA: It is #1253

@chillinPanda commented on GitHub (Mar 13, 2019): Just a small addition to the above linked issue for PWA: It is #1253
Author
Owner

@j0hannesr0th commented on GitHub (Mar 14, 2019):

@ssddanbrown are you sure you don't want to add this as feature to BookStack?

There is a generator which I use for other projects: https://tomitm.github.io/appmanifest/ - after using generator you just have to add the meta tags to /resources/views/public.blade.php and put the manifest.json in the public folder.

... that's it. Nothing more to do. I've done it to show you how it'd look like:

ezgif-5-0e9e5a55a735

If I send a pull request would you merge it?

@j0hannesr0th commented on GitHub (Mar 14, 2019): @ssddanbrown are you sure you don't want to add this as feature to BookStack? There is a generator which I use for other projects: [https://tomitm.github.io/appmanifest/](https://tomitm.github.io/appmanifest/) - after using generator you just have to add the meta tags to /resources/views/public.blade.php and put the manifest.json in the public folder. ... that's it. Nothing more to do. I've done it to show you how it'd look like: ![ezgif-5-0e9e5a55a735](https://user-images.githubusercontent.com/36242595/54314432-f01b8300-45db-11e9-8b03-1dc24a73e355.gif) If I send a pull request would you merge it?
Author
Owner

@ssddanbrown commented on GitHub (Mar 14, 2019):

@hmr-it-jr Just to be clear, I'm not rejecting this request, I've closed it as the requested feature set is already covered by other issues,

you just have to add the meta tags to /resources/views/public.blade.php and put the manifest.json in the public folder.

It's not quite that simple, We'll need to make the manifest accessible in the base template and make it dynamic to react to different configuration options. The icons may be tricky since the current app logo setting is likely not to be suitable for an app icon in many cases.

@ssddanbrown commented on GitHub (Mar 14, 2019): @hmr-it-jr Just to be clear, I'm not rejecting this request, I've closed it as the requested feature set is already covered by other issues, > you just have to add the meta tags to /resources/views/public.blade.php and put the manifest.json in the public folder. It's not quite that simple, We'll need to make the manifest accessible in the base template and make it dynamic to react to different configuration options. The icons may be tricky since the current app logo setting is likely not to be suitable for an app icon in many cases.
Author
Owner

@j0hannesr0th commented on GitHub (Mar 14, 2019):

@ssddanbrown why not add the "simple" variant with static logo, etc. now that the users can benefit from the app like feeling and add the dynamic and configurable variant later?

@j0hannesr0th commented on GitHub (Mar 14, 2019): @ssddanbrown why not add the "simple" variant with static logo, etc. now that the users can benefit from the app like feeling and add the dynamic and configurable variant later?
Author
Owner

@ssddanbrown commented on GitHub (Mar 15, 2019):

@hmr-it-jr We could do that but it will be another half-finished feature in the system.

and add the dynamic and configurable variant later

It's always too easy to leave the hard pieces for later. I must admit though I'm somewhat haunted by the thoughts of the addition of a "simple" variant leading to a bunch of new issues requesting configurability and expansion on the feature.

@ssddanbrown commented on GitHub (Mar 15, 2019): @hmr-it-jr We could do that but it will be another half-finished feature in the system. > and add the dynamic and configurable variant later It's always too easy to leave the hard pieces for later. I must admit though I'm somewhat haunted by the thoughts of the addition of a "simple" variant leading to a bunch of new issues requesting configurability and expansion on the feature.
Author
Owner

@lignumaqua commented on GitHub (Aug 24, 2020):

This may be already known, but I didn’t find it in the documentation. You can add the meta tags for full-screen use on an iOS device in the 'Custom HTML Head Content' section within BookStack. The following works on an iPad when BookStack is run from a Home Screen bookmark

<meta name="apple-mobile-web-app-capable" content="yes">

@lignumaqua commented on GitHub (Aug 24, 2020): This may be already known, but I didn’t find it in the documentation. You can add the meta tags for full-screen use on an iOS device in the 'Custom HTML Head Content' section within BookStack. The following works on an iPad when BookStack is run from a Home Screen bookmark `<meta name="apple-mobile-web-app-capable" content="yes">`
Author
Owner

@igorrust commented on GitHub (Nov 20, 2022):

Nice find! Thanks!

When you open bookstack like this, it seems the way I think most imagine the site to act from the ios homescreen, but unfortunately when you select a book, it opens this book in a new "tab" (without addressbar though, but with back /share/done buttons). So it becomes only partial fullscreen.

Still hoping for a more permanent solution.

This may be already known, but I didn’t find it in the documentation. You can add the meta tags for full-screen use on an iOS device in the 'Custom HTML Head Content' section within BookStack. The following works on an iPad when BookStack is run from a Home Screen bookmark

<meta name="apple-mobile-web-app-capable" content="yes">

@igorrust commented on GitHub (Nov 20, 2022): Nice find! Thanks! When you open bookstack like this, it seems the way I think most imagine the site to act from the ios homescreen, but unfortunately when you select a book, it opens this book in a new "tab" (without addressbar though, but with back /share/done buttons). So it becomes only partial fullscreen. Still hoping for a more permanent solution. > This may be already known, but I didn’t find it in the documentation. You can add the meta tags for full-screen use on an iOS device in the 'Custom HTML Head Content' section within BookStack. The following works on an iPad when BookStack is run from a Home Screen bookmark > > > > `<meta name="apple-mobile-web-app-capable" content="yes">`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1081