65
Views
12
Comments
[Cloud Messaging Plugin (Firebase)]  Deep link doesn't work
Question
cloud-messaging-plugin-firebase
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hi! 

I've configured the Firebase Cloud Messaging Plugin and the notifications are going trough. Nevertheless when I tried to send a notification with a DeepLink, it doesn't work if the app is in the background, when I click the notification it only opens the app but doesn't navigate.

If i have the app open, the notifications handler receive the message and i can redirect to the screen, but only when the app is open.

If the app is closed, when i click in the notification, the notification handlers also gets triggered but all the parameters are null. 


This is the DeepLink. I have a screen in the app with that exact name and it doesn't have any input parameters. 

This is when i have the app opened: 



And this is when closed: 


Someone has implemented this successfully? I would really appreciate the help

UserImage.jpg
Nicolas Paredes

Hi, i'm actually still using mabs 9 so i don't know if that's the reason. Could be related or a general plugin issue. Just read your post and the issue is the same. 

Hope that OS takes care quickly since this is a really important feature for us

Thanks

UserImage.jpg
Nicolas Paredes

Hi! I saw that but in my case i just want the default behavior so it should work right away. My guess is that the error is in the plugin itself, not in the mabs.

2023-02-03 03-39-27
Budi Darmawan

Hi @Nicolas Paredes,

I am facing the same issue, the deep link is not working when the app is running in the background, I am also using MABS 9.

Have you resolved the issue?

Thanks.

2021-02-17 18-31-05
Alexandre Jacinto
Staff

Hi @Budi Darmawan,

Would you be able to use MABS 10 instead?

Best regards,

Alexandre Jacinto

2023-02-03 03-39-27
Budi Darmawan

Hi @Alexandre Jacinto,

Thank you for your reply, I have tried to regenerate the app using MABS 10, but it still didn't work.

As I remember the deeplink worked when we used the Firebase Mobile Plugin, but since we changed to this plugin, we just noticed that this didn't work properly.

Could you give me some references to implement deep links with this plugin, to ensure it is implemented properly?

Thanks.

2021-02-17 18-31-05
Alexandre Jacinto
Staff

Our documentation for the Cloud Messaging Plugin (https://success.outsystems.com/documentation/11/integration_with_external_systems/mobile_plugins/firebase_plugins/firebase_cloud_messaging_plugin_using_server_actions/) has information on how to deal with notification clicks and deep links in the "Manage the experience of notification clicks" section.

You can also refer to our demo app that you can get from the plugin's page in the Forge, as it has the scenario of handling notification clicks and deep links implemented.

Also, are you facing issues in both iOS and Android, or just in one of those platforms?

Best regards,
Alexandre Jacinto

2025-10-07 12-36-40
Cynthia Barros

Hi,

Did you apply the Block NotificationsHandler to redirect to the screen?

UserImage.jpg
Le Quang Trieu

hello @Cynthia Maria, can you show more about this Block NotificationsHandler


2021-02-17 18-31-05
Alexandre Jacinto
Staff

Hi there!

You can find more information about the NotificationsHandler block in the documentation page of the plugin.


For examples of how to use this block, you can check the demo app of the Cloud Messaging plugin that can be downloaded from the Forge. Also, you can download the Firebase Sample App, which also uses the NotificationsHandler block from the Cloud Messaging plugin.

Best regards,
Alex Jacinto

UserImage.jpg
Le Quang Trieu
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.