186
Views
2
Comments
OutSystems Now deep link not working on Android?
Question

Hi, 

I need to use a deep link to my OSNow app from a web page and currently on iOS it is working but on Android no. I have a separate web screen for redirect where similar JS is executed 

window.onload = function() {
   " +
       If (Index(CurrentOS(),"android")>-1,
                               "window.location = 'myandroidschemevalue://AppName';",
                               "window.location = '
myiOSschemevalue://AppName';"
           )
   
   + "
   }


The scheme values are set up in androidManifest.xml on 

<data android:scheme="myandroidschemevalue"/>

Should I activated or set some additional permissions on android?


Thank you.


PS: related post https://www.outsystems.com/forums/discussion/12746/outsystems-now-deep-linking/

2016-06-02 17-46-44
Bruno Grácio

Hi Mykola,


The recommended way of using deep links with the OutSystems now is to use the follow link structure: myAndroidSchemaValue://environment/action?url=myApplicationName. In your case the action you need is the openurl.


For more info about deep links with OutSystems Now App you can look at this: Use a Link to Open an App in OutSystem Now


I hope this help you,


Best regards,

Bruno

2021-05-05 13-05-18
Mykola (Nick) Tkachenko

Hi Bruno,


In the end was able to get proper redirect url via such function:

SyntaxEditor Code Snippet

myNowApp://"+GetApplicationLink("myWebApp","myscreen","Token="+Token,"myNowApp")

however also had to put it in separate screen as if i send a link via SendGrid it adds some internal redirect and the server address got lost (probably related to referrer url).. 

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