Open Source • Background Tasks: Itoo 🚀

Alright, that's good to know, thanks everybody a lot for the help! :slightly_smiling_face:

1 Like

Hi, @Taifun @Kumaraswamy. Is it possible to store sms in firebase using Itoo and TyfunTexting1 extensions? When i try to do that it doesn't work. Please, help!


ItooFirebaseDBSms.aia (91.0 KB)

The eventhandler for the AfterReading event must have the same arguments as the event

And register the event in bgFirebase procedure

However the question is, why storing the complete inbox every 5 seconds?

Taifun

Thanks, @Taifun. When I add inbox, sent and draft arguments its working correctly.

Hello @Free_Speech, it's nice that you got it working. Could you please also share your final blocks so others can benefit from it?

I only changed the bottom block, all other blocks are unchanged. Through these blocks, the complete messages of the phone will be stored in Firebase every five seconds. I am beginner in programming. It would be better if it was possible to store only the last message.
Screenshot 2025-01-26 091110

1 Like

@Kumaraswamy

With reference to this method:

Is it possible, with additional parameters, to specify which devices running the notification background service, receive the notification, or can it only be done for all ?

Hi, do you mean sending notifications to a specific device/user? If yes, you would need to generate unique UUIDs for each device. The service would then only listen to a particular firebase tag associated with its UUID.

1 Like

Thinking this through, the way I see it, is that the notification (which would contain a list of UUIDs, as well as the message) would be sent to all users, then filtered by the background task in the app to generate the notification for only those users whose UUID matches the ones in the list ? This would happen before the melonNotication is called in the notification procedure ?

1 Like

Thank you @Kumaraswamy

Got it working for the google sheets example:

1 Like