Firebase Cloud Messaging Extension - Send Notification or messages by firebase! [PAID]

Firebase Cloud Messaging Extension

This extension allows you to integrate Firebase Cloud Messaging to your app.
You can send data between users, send message style notification or send push notification.
As firebase cloud messaging allows to send notification with API, you can also connect it to any script online to send notification from website.
You can either send notification to one person or two multiple persons or group of person or everyone with the topic feature.
You can set custom notification sound and icon.
This doesn’t reqiure any special permission to recieve notification.
This also runs in background while app is closed!

Thanks a lot to @chaimk for sponsoring this extension :tada:!

Blocks

Documentation

Error Occurred

Error Occurred event fires when any error occurs(For Debugging)

Got Message

Got Message event fires when someone sends you message using SendMessage block (Json)

Got Reply

Got Reply Event Fires When The User Replies In The notification using the Reply Button

This event will fire in the user device who replied in notification, and give reply text, group text, notification id, time of reply so you can store the message in you database and send notification to the other person, app will start on reply if it’s stopped and event will fire.

Got User Token

Got User Token event fires on first initialize of the app or when you call the GetUserToken Block.
This will give you the user’s token, that can be used to send message to this user personally.

Message Notification Clicked

Message Notification Clicked event fires when a message style notification is clicked, it gives the id of the notification and group name of the notification(Group is the small title shown above notification text.

Notification Sent Result

Notification Sent Result event gives result when you use Send Notification or Send Message Notification Block.

Simple Notification Clicked

Simple Notification Clicked event fires when a simple style notification is clicked, it also gives notification id, title and text.

Subscribe To Topic Result

Subcribe To Topic Result event fires to give result that it suceed or not when you call SubscribeToTopic block.

Clear Notification

This will clear any notification on current device with it’s id.

Get User Token

Call This block to get user token which can be used to send notifications to user personally, You will get result in GotUserToken event.

Init

This block have no special use, you just need to use this block on screen initialize with the screen start value. It is used to check if app started after notification got clicked.

Initialize

Use this block on app initialize with proper firebase credentials.

Api Key - Web API key of your firebase project.

Project Id - Project Id of your firebase project.

Application Id - Application id of you app added to firebase project.

Gcm Sender Id - Sender Id Located in Cloud Messaging menu of your project settings.

Send Message

Use this block to send a user or multiple user message.

Condition - It is condition to send message to user (Can be empty)

More information

Priority - Priority to send message (high or normal)

User Token List - You can give a single user’s token or list of multiple user’s token here to whom you want to send message to, you can also give any topic name in the list(Check Subscribe To Topic block for information about it).

Data - Dictionary of data you want to send.

ApiKey - Sender Key of your Firebase Project(In Cloud messaging menu).

Send Message Notification

Use this block to send a user or multiple user message style notification.

Message - The message text that you want to send.

Group - Group Name that would appear in notification(Can be empty).

Sender - Sender name that will appear in reciever’s notification.

Id - Id of the notification.

Timestamp - Time to show in notification(In milliseconds format).

Color - Color of the notification(HEX Code).

Condition - It is condition to send notification to user (Can be empty).

More information

Priority - Priority to send notification(high or normal).

User Token List - You can give a single user’s token or list of multiple user’s token here to whom you want to send notification to, you can also give any topic name in the list(Check Subscribe To Topic block for information about it).

ApiKey - Sender Key of your Firebase Project(In Cloud messaging menu).

Send Notification

.

Use this block to send a user or multiple user message style notification. Got message event would be fired instead of showing notification if app is open.

Title - Title of the notification.

Body - Text of the notification.

Color - Color of the notification(HEX Code).

Id - Id of the notification.

Condition - It is condition to send notification to user (Can be empty).

More information

Priority - Priority to send message notification(high or normal).

User Token List - You can give a single user’s token or list of multiple user’s token here to whom you want to send notification to, you can also give any topic name in the list(Check Subscribe To Topic block for information about it).

Data - Dictionary of data you want to send.

ApiKey - Sender Key of your Firebase Project(In Cloud messaging menu).

Send Push Notification

This block is bit different than send notification block, send notification block is a default notification by firebase, but this is a custom notification which allows to set large icon and notification sound and icon(can be set from property). And SimpleNotification Event will fire if this notification is clicked.

Title - Title of the notification.

Text - Text of the notification.

Id - Id of the notification.

Color - Color of the notification(HEX Code).

Large Icon - Large icon to showin notification(image url).

Condition - It is condition to send notification to user (Can be empty).

More information

Priority - Priority to send message notification(high or normal).

User Token List - You can give a single user’s token or list of multiple user’s token here to whom you want to send notification to, you can also give any topic name in the list(Check Subscribe To Topic block for information about it).

ApiKey - Sender Key of your Firebase Project(In Cloud messaging menu).

Subsribe To Topic

This block can be used to subsribe user to any topic, and he would recieve notification when sent to that specific topic. For example every user is subsribed to topic “All”, then when you send notification to topic “All”, every one will recieve it.

Activity Name

Set the screen here that you want to open on notification click or reply.

Small Icon

Set custom small icon for notification here(It will work with SendMessageNotification block and Send PushNotification block).

Sound

Set custom sound for notification here(It will work with SendMessageNotification block and Send PushNotification block).

You can message me if you have doubt related to any block or feature

Preview

Preview of message style notification -

Buy

PayPal

17.5 USD (DM me to buy)

PayTM

1000 INR (DM me to buy)

15 Likes

Great extension:upside_down_face:

1 Like

Another great extension by @Atom_Developer :heart::heart_eyes:

1 Like

@Atom_Developer I think you forget to post the documentation of sound block

3 Likes

Mind blowing keep it up :love_letter:

1 Like

Great extension again :heart:

1 Like

One more great extension keep it up :+1:

1 Like

Thanks everyone for appreciating!

Thanks for informing, edited:+1:.

1 Like

My mind blasted on seeing ur epic extension, OMG good alternative for Onesignal :partying_face: :heart_eyes: :smiling_face_with_three_hearts:

1 Like

for those who were a little in doubt in the basic guide firebase

2 Likes