PWA Setup

It's worth noting that not all WaSnap are compatible with PWA, it's important to check if the platform you are using supports this technology before implementing it. Also, it's important to test the PWA on different devices and browsers to ensure that it provides a consistent user experience across all platforms.

PWA is lite app, When you open it in Mobile Browser its ask for add app in mobile. Its Not APK. You can not submit to Play Store.

Why do I need it?

One reason users love apps is they generally offer better experiences than web applications. However, developing and maintaining native apps is a lot of work, not to mention the expenses involved.

If your users use different platforms (Android, iOS, etc.), you have to code your app for each platform.

PWAs, however, don’t require you to code for each platform. They were designed with the philosophy of “code once, use everywhere.” Once you code your PWA, it can be used in-browser (as a website or web app), on desktops, and on mobile devices.

How to Setup PWA?

Go to your project and log in as admin.

  • Go to Admin Dashboard->Front Panel->PWA Settings.

  • Here, you will be able to change the PWA like PWA enable or not, App Name, App URL, Theme color for header, Background color, and shortcut icon, etc.

  • Here, you can update the icon, and also icons size should be 512*512.

  • Splash icon size should be 2048*2732. Path: (public -> images -> icons)

for Change icons directly in files: Go to public ->images -> icons and change icons

for Change URL directly in files: go to .env and add app url its required Like:

APP_URL=https://yourdomain.com/public/

🧙‍♂️Tips: Splash Screen works only on Apple Device. SSL Must Required.

Last updated