Receive FCM notifications on dedicated page in app

firebase

#1

Hi,

any help on how to implement the intent-filter options using Eddy’s Firebase plugin? does it work for dedicated pages?


#2

NativeScript runs a single activity. Page !== Activity, only a activity can use features like intent-filter, so on the message received callback you shall navigate to the Page where you want to showcase your notification.


#3

Hi manojdcoder,

thanks. am totally new to this. can you give me more information on how to implement this? maybe point me in the right direction? I’ve been searching for relevant tutorials for days.


#4

As I mentioned, listen for the message received callback where you will get all data of your notification received, then use the frame navigation to navigate which ever page you want along with the data received, present it on the screen.