668
Views
8
Comments
Solved
[Firebase Cloud Message Plugin] Deep linking in Firebase plugin
Question

There has been a few questions regarding deep linking in firebase plugin in the forum but no answers yet. Does anyone know if this plugin supports deeplink and how do we go about it?

2018-11-05 02-29-37
Jay Santos
Solution

Stephen Yeo wrote:

There has been a few questions regarding deep linking in firebase plugin in the forum but no answers yet. Does anyone know if this plugin supports deeplink and how do we go about it?

Hello Stephen, how are you?


The Firebase plugin does support deep linking. Here's an example

I have a Mobile Application that have a Screen called Deep Linking that have a mandatory Input Parameter

As you can see the screen is called DeepLinkScreen and the Parameter name is Message (its type is Text)

Here's the Server Action where I send the Push notification (ignore the HasDeepLink parameter, it's just a boolean I use within an If). The Deeplink parameter is of the type Deeplink and it includes a list of DeeplinkParam. Each DeeplinkParam contains two parameters: Name and Value, Name being the name of a parameter in the target deeplink and Value being the value of said parameter.

Inside my server action I set the values of the target ScreenName (the same as in the mobile app) and the DeeplinkParam (with the name of the parameter in the mobile App and the value I want), and after setting I add it to the DeeplinkParams list


Finally when I call Firebase's own Server Action SendNotificationToUser (or any equivalent action for notification sending), I pass my Deeplink variable as a parameter

Hope this helps, let me know if you need any other information.

2019-09-23 09-06-19
Alvaro Pinilla Pedroche

Jay Santos wrote:

Stephen Yeo wrote:

There has been a few questions regarding deep linking in firebase plugin in the forum but no answers yet. Does anyone know if this plugin supports deeplink and how do we go about it?

Hello Stephen, how are you?


The Firebase plugin does support deep linking. Here's an example

I have a Mobile Application that have a Screen called Deep Linking that have a mandatory Input Parameter

As you can see the screen is called DeepLinkScreen and the Parameter name is Message (its type is Text)

Here's the Server Action where I send the Push notification (ignore the HasDeepLink parameter, it's just a boolean I use within an If). The Deeplink parameter is of the type Deeplink and it includes a list of DeeplinkParam. Each DeeplinkParam contains two parameters: Name and Value, Name being the name of a parameter in the target deeplink and Value being the value of said parameter.

Inside my server action I set the values of the target ScreenName (the same as in the mobile app) and the DeeplinkParam (with the name of the parameter in the mobile App and the value I want), and after setting I add it to the DeeplinkParams list


Finally when I call Firebase's own Server Action SendNotificationToUser (or any equivalent action for notification sending), I pass my Deeplink variable as a parameter

Hope this helps, let me know if you need any other information.


Hello Jay, did you try deep links when you close the app (pressing back button in mobile)?

If I close the app in this way, the link never go to the specific screen and always stay in home. But if I close the app via recent apps (in my phone) the link works properly (first load the app and later redirect me without problems).

I've been investigating and I haven't find nothing. Has anyone this problem?

2025-02-01 08-24-49
Sathish Karunakaran

Alvaro Pinilla Pedroche wrote:

Jay Santos wrote:

Stephen Yeo wrote:

There has been a few questions regarding deep linking in firebase plugin in the forum but no answers yet. Does anyone know if this plugin supports deeplink and how do we go about it?

Hello Stephen, how are you?


The Firebase plugin does support deep linking. Here's an example

I have a Mobile Application that have a Screen called Deep Linking that have a mandatory Input Parameter

As you can see the screen is called DeepLinkScreen and the Parameter name is Message (its type is Text)

Here's the Server Action where I send the Push notification (ignore the HasDeepLink parameter, it's just a boolean I use within an If). The Deeplink parameter is of the type Deeplink and it includes a list of DeeplinkParam. Each DeeplinkParam contains two parameters: Name and Value, Name being the name of a parameter in the target deeplink and Value being the value of said parameter.

Inside my server action I set the values of the target ScreenName (the same as in the mobile app) and the DeeplinkParam (with the name of the parameter in the mobile App and the value I want), and after setting I add it to the DeeplinkParams list


Finally when I call Firebase's own Server Action SendNotificationToUser (or any equivalent action for notification sending), I pass my Deeplink variable as a parameter

Hope this helps, let me know if you need any other information.


Hello Jay, did you try deep links when you close the app (pressing back button in mobile)?

If I close the app in this way, the link never go to the specific screen and always stay in home. But if I close the app via recent apps (in my phone) the link works properly (first load the app and later redirect me without problems).

I've been investigating and I haven't find nothing. Has anyone this problem?

Any Solutions for this?


2024-11-14 15-47-18
Carlos Alexandrino

Hello,


A great addon to the plugin would be Firebase Dynamic Link (a powerfull version of Deeplinking by Firebase).


Reference: https://firebase.google.com/docs/dynamic-links/


Regards

2017-11-21 02-24-59
Stephen Yeo Jie Hui

Thanks Jay for the response! 

2018-11-05 02-29-37
Jay Santos

Stephen Yeo wrote:

Thanks Jay for the response! 


Glad I could help! Let us know if you have any other questions :)

UserImage.jpg
Nate Tierney

This seems like how Outsystems would send a deepLink.  Has anyone successfully used Firebase Plugin to receive a notification with a deepLink and navigate to the in app page via the Open Notification action?  I am seeing a deepLink value in the data structure, but can’t seem to get it to populate when I send the notification to the app (FYI, we’re sending via a REST call from a server). 

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

Hello OutSystems Community!

The OutSystems team has recently released a plugin on Forge that enables you to implement Firebase Dynamic Links in OutSystems applications. This plugin is called Dynamic Links Plugin (Firebase), here is the link: https://www.outsystems.com/forge/component-overview/10988/dynamic-links-plugin-firebase.

You can also search for "dynamic links" in the Forge search bar and it should appear at the top of the list.

Please do let us know if you need any help using this plugin.

Best regards,
Alexandre



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