How to achieve a Push Notification with Supabase using iToo Background Task Extension?

Hello Koders

I want to create a Push Notifications using Supabase Realtime to notify the application of changes in my database.
But I don’t know how to get there

Please Help

1 Like

Which component will be used for pushing notification? Built-in OneSignal? or

Honestly I don’t know what process to put in place. I wanted to use Kodular’s native Push Notification component and to listen to changes in the table on the Supabase side, create an Edge Function script which will send the notification via FCM or OneSignal or create a Polling system with iToo

1 Like

Who will change the data in realtime? Admin app or user’s.

Hi Abdou!!!

Recently this extension was created,

and I see it has a DatabaseChange block that could be used together with iToo to receive changes in the background.

1 Like

Cool :partying_face:

With this extension the application listens directly without the need for iToo. If it works as he described?

Thanks @Xoma

But in his guide he did not give an example of implementation with Supabase Realtime

It should give you an idea of how to use Itoo with the Supabase extension.

1 Like

But why not use the Kodular native Push Notification component directly?

hi @Ibrahim_Jamar

the realtime will be modified on the Admin side directly on Supabase and the push notification will be displayed on the User side with kodular App

In this case i don’t think you should use any database to push the notification, since the notification supposed to go to all user using this method​:backhand_index_pointing_down::backhand_index_pointing_down: will send notification to all user [ if they subscribe for push ]

Enter your real Key’s etc

The OneSignal components doesn’t contain this functionality, it’s only for user’s to subscribe for pushing notifications from OneSignal dashboard

I understand what you are saying my Br0 but the idea is to use a table in Supabase and when something changes in the “DataChange” table it is notified via the user on the Kodular application.
example: If a sale is recorded in the Supabase Table “Sales” database in Realtime, the edge Function listens and sends the new line of the sales operation to the manager who spontaneously receives the alert. This is my challenge that I am trying to achieve with Kodular ==> Supabase Realtime ===> iToo Extension???OneSignal???FCM???WebSocket Extension???Supabase Extension By Ali???

Though am not expert in these tools, someone must step in

Maybe I explained my logic poorly?? :joy:

I think so​:hugs::joy:

I created a Desktop POS application that records sales in the “sales” table in my Supabase database.

Now I have another Kodular Mobile App that dynamically reports sales in real time to the user who is the manager who wants to have an overview by receiving a notification when their sellers make a sale directly on their phone.

Questions:

  1. How to make Supabase dataChange listen for changes in the “Sale” table and send the details of the operation to the Kodular application in the form of Notifications?
  2. Which tools should I use on Kodular’s side to receive and display the Notification?
  3. PLEASE HELP :sob:

Have take a look here? The amazing work of our dearly RaYzZz

Also what have you tried so far :joy:

Anyway when I get free time tomorrow I will give it a try and give you feedback

2 Likes

Yes, it’s even him that I’m trying to impress like that by taking on this challenge. :joy:

Oooowoh @RaYzZz I think you’re needed here​:hugs::hugs:

1 Like