Web push notification in weweb

Hello i am trying to do web push notification but i can’t do that , the step of web push notification says i have to place the sdk file in the root directory and i am thinking where is root directory folder or file if there is a website is build with no code Please clear my doubt

Thanks,

Hi Ayush :waving_hand:

We have some documentation on PWA and push notification.

Hope this helps :slight_smile:

Hey @Agustin_Carozo
The issue highlighted by Ayush is legit. The current bottleneck with setting up web push on weweb is that we need to install the service worker file or manifest.json file in the “root directory” of our app, which we don’t have access to(reference Photo attached)

Documentation : iOS web push setup - OneSignal

Push notifications is a very common feature that is required in almost all apps. Do we have a work around for this? The PWA documentation of weweb doesn’t cater to notifications when the app is closed(defeats the whole purpose of push notifications).

Please guide on :-
1)How to access root directory of the project so we can set this up ?
2)Does weweb have any plans to integrate one signal for push notifications?
3)If 1 and 2 are not applicable then are push notifications not possible then(when the PWA is closed?)

@Joyce Really need your 2 cents on this also please :folded_hands:

Hello Akshit,

  1. You can upload the manifest.json file under Assets → Files. Please refer to this documentation for guidance: App settings | Documentation.
    You can also define a custom path for the file there. Once a path is set, the file becomes accessible from that location within your published project. → App settings | Documentation.
  2. At the moment, we do not have plans to support this feature natively. Feel free to submit a feedback request for it.
  3. Please note that PWAs have limitations compared to native mobile applications, particularly regarding push notifications, so this behavior is expected.

@rivan_sigarlaki Can you confirm that the Assets → Files location corresponds to my projects Root directory?