FCM Using Java Script

Is there a way to use Javascript in GDevelop 5 to receive notifications with Firebase?

Something like this?

I created this code to edit a cloud firestore document and it worked!

*Obs: i don’t know how to code in js, i used ChatGPT and the exported game files

JavaScript won’t let you do it this easily.

You’d need to create an extension and include the proper libraries to add FCM Support.

Someone already did this?