This file contains functions that will allow your web application to have an improved user experience, similar to that of a native application installed on a mobile device or computer.
The pwabunga.js file of PWA Bunga! will allow:
pwaRegister(): Service worker registrationThe pwaRegister() function allows the registration of the service worker, namely creating or updating it.
See the documentation for the pwaRegister() function
pwaInstall(): Promotion and PWA install buttonThe pwaInstall() function improves the user experience by customizing the entire PWA installation process.
See the documentation for the pwaInstall() function
pwaUpdate(): Application updateThe pwaUpdate() function improves the experience when updating the PWA.
See the documentation for the pwaUpdate() function
pwaShare(): Using device native sharingThe pwaShare() function improves the user experience of sharing the application on social networks.
See the documentation for the pwaShare() function
pwaParams(): PWA parameters insertThe pwaParams() function offers a parameter insert with the display of the PWA version and the management of authorizations.
See the documentation for the pwaParams() function
pwaNotification(): Request for authorization to send notificationsThe pwaNotification() function offers the user a button to authorize the sending of notifications.
See the documentation for the pwaNotification() function
pwaGeolocation(): Geolocation authorization requestThe pwaGeolocation() function allows the user to be offered a button to authorize geolocation.