Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Humhub
  3. PWA support

PWA support

Scheduled Pinned Locked Moved Humhub
25 Posts 5 Posters 3.8k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ccfu
    wrote on last edited by ccfu
    #7

    @jdaviescoates I have only tried it with the Chrome browser on Android and only see Add to Home screen as an option in the menu. I'll try another browser.

    Edit: It works with Chrome and https://vive.transitiontogether.org.uk/. I am now thinking that it might be a cache issue because a different site was using the domain before the HumHub instance was installed.

    Thanks for confirming that it should work as expected.

    1 Reply Last reply
    1
    • C Offline
      C Offline
      ccfu
      wrote on last edited by
      #8

      I tried the Firefox browser on my phone and the situation is the same. I really cannot understand why this isn't working. The service worker is active but the browser is somehow getting the information that no PWA is configured. Maybe I'll just try reinstalling, though I didn't confiugure anything on setup that could have changed any defaults.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #9

        Have you tried chrome as well? Maybe the firefox implementation is not up to speed for this usage or upstream needs to provide some quirks for firefox to work.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          ccfu
          wrote on last edited by
          #10

          @nebulon Yes, I tried Chrome first and then installed Firefox to see if chrome was the problem.

          1 Reply Last reply
          0
          • jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #11

            perhaps @Sam_uk did something to make it work?

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • C Offline
              C Offline
              ccfu
              wrote on last edited by
              #12

              Also a possibility of course. @Sam_uk A quick feedback would be greatly appreciated.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #13

                @ccfu I installed a fresh instance at https://humhub.demo.cloudron.io . I see the Install menu in my Android Firefox. I also checked our internal HumHub instance and that also shows Install menu.

                image.png

                jdaviescoatesJ 1 Reply Last reply
                0
                • girishG girish

                  @ccfu I installed a fresh instance at https://humhub.demo.cloudron.io . I see the Install menu in my Android Firefox. I also checked our internal HumHub instance and that also shows Install menu.

                  image.png

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #14

                  @girish said in PWA support:

                  I see the Install menu in my Android Firefox.

                  But presumably it doesn't actually work?

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @girish said in PWA support:

                    I see the Install menu in my Android Firefox.

                    But presumably it doesn't actually work?

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #15

                    @jdaviescoates said in PWA support:

                    But presumably it doesn't actually work?

                    I went back and checked. It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • girishG girish

                      @jdaviescoates said in PWA support:

                      But presumably it doesn't actually work?

                      I went back and checked. It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #16

                      @girish said in PWA support:

                      It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                      Interesting. Firefox didn't work for me at all on https://vive.transitiontogether.org.uk/ but it worked fine on Chrome.

                      I use Cloudron with Gandi & Hetzner

                      girishG 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @girish said in PWA support:

                        It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                        Interesting. Firefox didn't work for me at all on https://vive.transitiontogether.org.uk/ but it worked fine on Chrome.

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #17

                        @jdaviescoates For me, your site worked as well. I hope we are talking of the same thing, so here's some screenshots:

                        First, I add like:
                        2e78339a-972f-4ae6-a2d1-63962ddafd70-image.png

                        Then, it appears on desktop:
                        9284730b-bbf1-4090-8a5c-ff3d1aa76bd6-image.png

                        Which when clicked, shows the app:
                        dc2cf8b8-a44f-4095-a720-12102880fa67-image.png

                        I am on Firefox 120.0 / Android 11 if that matters...

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          ccfu
                          wrote on last edited by ccfu
                          #18

                          Yes, that is what Chrome calls "Add to Homescreen". I also get that on my instance, but it is not actually installing as a PWA. As with @jdaviescoates on https://vive.transitiontogether.org.uk/ the install button on Chrome installs HumHub as a web app, on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • C ccfu

                            Yes, that is what Chrome calls "Add to Homescreen". I also get that on my instance, but it is not actually installing as a PWA. As with @jdaviescoates on https://vive.transitiontogether.org.uk/ the install button on Chrome installs HumHub as a web app, on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #19

                            @ccfu said in PWA support:

                            on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                            Even that doesn't happen for me with Firefox

                            But yeah I think maybe that's just how it is 🤷

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              ccfu
                              wrote on last edited by
                              #20

                              @jdaviescoates @girish
                              Just to follow up on this: To test I installed humhub in a LAMP app and the PWA app works as intended in both Chrome and Firefox so it must be something to with the way Cloudron installs the app.

                              girishG 1 Reply Last reply
                              0
                              • C ccfu

                                @jdaviescoates @girish
                                Just to follow up on this: To test I installed humhub in a LAMP app and the PWA app works as intended in both Chrome and Firefox so it must be something to with the way Cloudron installs the app.

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #21

                                @ccfu You explained a bit here - https://forum.cloudron.io/post/78468 but what exactly should I be looking for to test PWA? Will it look different than the screenshots I posted earlier?

                                C 1 Reply Last reply
                                0
                                • girishG girish

                                  @ccfu You explained a bit here - https://forum.cloudron.io/post/78468 but what exactly should I be looking for to test PWA? Will it look different than the screenshots I posted earlier?

                                  C Offline
                                  C Offline
                                  ccfu
                                  wrote on last edited by ccfu
                                  #22

                                  @girish
                                  When PWA is working as intented the menu gives you the option to install as an app (shown here in Chrome):

                                  pwa.jpg

                                  It is then added to the app drawer and no longer runs in the browser. If you open the site in the browser the menu gives you the option to open in the app (shown here in Firefox):

                                  pwa2.jpg

                                  girishG 3 Replies Last reply
                                  2
                                  • C ccfu

                                    @girish
                                    When PWA is working as intented the menu gives you the option to install as an app (shown here in Chrome):

                                    pwa.jpg

                                    It is then added to the app drawer and no longer runs in the browser. If you open the site in the browser the menu gives you the option to open in the app (shown here in Firefox):

                                    pwa2.jpg

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #23

                                    @ccfu perfect, thanks, let me test.

                                    1 Reply Last reply
                                    0
                                    • C ccfu

                                      @girish
                                      When PWA is working as intented the menu gives you the option to install as an app (shown here in Chrome):

                                      pwa.jpg

                                      It is then added to the app drawer and no longer runs in the browser. If you open the site in the browser the menu gives you the option to open in the app (shown here in Firefox):

                                      pwa2.jpg

                                      girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by girish
                                      #24

                                      @ccfu said in PWA support:

                                      It is then added to the app drawer and no longer runs in the browser.

                                      So, this is how it behaves for me already. Except, I don't get 'Install App', I get 'Install' . When I launch the app from the app from my homescreen , it is not run as part of browser, it is a separate thing. It also gets the icon of our humhub instance in the "apps" overview when running.

                                      How does the icon look on your homescreen with firefox?

                                      With chrome, I get

                                      d3ab891c-b098-4c4f-ab13-21aec17313f3-image.png

                                      1 Reply Last reply
                                      0
                                      • C ccfu

                                        @girish
                                        When PWA is working as intented the menu gives you the option to install as an app (shown here in Chrome):

                                        pwa.jpg

                                        It is then added to the app drawer and no longer runs in the browser. If you open the site in the browser the menu gives you the option to open in the app (shown here in Firefox):

                                        pwa2.jpg

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #25

                                        @ccfu are you able to install it on the demo so I can try to understand what is different ? https://my.demo.cloudron.io (username / password: cloudron)

                                        1 Reply Last reply
                                        1
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search