111
Views
4
Comments
Integrating Cordova Deeplinks Plugin, how to add elements in config.xml
Application Type
Mobile

Hi,

I am trying to implement App Links (Android) and Universal Links (iOS) for an OutSystems mobile app.
Basically what that means is that the app can register itself as the designated app to open content for specific url's.  
For example, if someone would click a link (for instance in an email) to https://www.example.com/product/123, then, if the example.com app is installed, the app would open instead of the browser, showing the product in the app and not the browser.

I could not find an existing way to do this so I was looking into integrating the Cordova Deeplinks Plugin in OutSystems.

This plugin requires putting a <universal-links> element in cordova's config.xml.  Any idea on how this can be done in OutSystems?  Is this possible through extensibility configurations?  Or does that require a change in MABS?

So, in general, how to integrate cordova plugins that reguire extra entries in config.xml?

UserImage.jpg
Shishir Shetty

****NOT AN ANSWER****

Any help from Outsystems Support? I hope they have something on their road map. There has to be a way to implement this without using Dynamic Links from Firebase.



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

Hi Steven,

You can insert <universal-links> element in Cordova's config.xml through plugin.xml of Cordova plugin. There is a sample that already exists in Cordova Deeplinks Plugin. Please refer below image.

Please this link for more clarifications - https://cordova.apache.org/docs/en/11.x/plugin_ref/spec.html

UserImage.jpg
Shishir Shetty

So there is no official plugin from Outsystems?

2020-03-12 15-06-24
Steven Decock

Hi,

I am aware that that is what I need to add to config xml.  My question is: how do I do this in OutSystems?  As far as I know I cannot edit config xml or plugin.xml directly?  The only thing I know of are the extensibility configurations.  Or am I missing something?

Where would I edit plugin.xml or config.xml?

Kind regards,

Steven

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