Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    the PWA does not have a webmanifest file so PWA is not activated

    General Discussion
    2
    8
    862
    Loading More Posts
    • 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.
    • Linda MacDonald
      Linda MacDonald last edited by

      Hey there Wassim 🙂
      I uploaded my icons to size and checked if I could download my site, but it is missing the app manifest file
      see reference here
      https://web.dev/add-manifest/#:~:text=The web app manifest is,when the app is launched.

      1 Reply Last reply Reply Quote 0
      • Wassim
        Wassim last edited by

        Hi,
        We add the manifest, please provide the link to your project to check why it's not there

        Linda MacDonald 2 Replies Last reply Reply Quote 0
        • Linda MacDonald
          Linda MacDonald @Wassim last edited by

          @Wassim do I just invite you via the backend to check?

          1 Reply Last reply Reply Quote 0
          • Linda MacDonald
            Linda MacDonald @Wassim last edited by Wassim

            @Wassim the service worker is there but not the manifest.json file seems to be missing.

            1 Reply Last reply Reply Quote 0
            • Wassim
              Wassim last edited by

              Thanks, just open the inspector and go to application > manifest and you can see your issue is with the display property that you set to browser.

              f654c926-e15c-448c-8689-ef3aba596417-image.png

              Linda MacDonald 1 Reply Last reply Reply Quote 0
              • Linda MacDonald
                Linda MacDonald @Wassim last edited by Linda MacDonald

                @Wassim I went back and fixed the orientation and set the display to standalone but now it's saying that the service worker cannot be detected
                Skjermbilde.JPG image url))

                1 Reply Last reply Reply Quote 0
                • Linda MacDonald
                  Linda MacDonald last edited by

                  @Wassim it's working!! :=) I had a http connection so changed it to https because otherwise it doesn't work and its all good 🙂 do you know how we might create a download button or something so that it becomes more evident that the site is pwa?

                  1 Reply Last reply Reply Quote 1
                  • Wassim
                    Wassim last edited by

                    @Linda-MacDonald by default it automatically appears the first time your user visit it on mobile.
                    Here is an advanced solution if you want to show a custom add button :
                    https://stackoverflow.com/questions/50332119/is-it-possible-to-make-an-in-app-button-that-triggers-the-pwa-add-to-home-scree

                    But you might need to add PWA by yourself to do it.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post