[OneSignal Plugin] Deeplink doesn't work on Android

[OneSignal Plugin] Deeplink doesn't work on Android

  
Forge Component
(8)
Published on 27 Sep (3 weeks ago) by OutSystems R&D
8 votes
Published on 27 Sep (3 weeks ago) by OutSystems R&D

Hi All,

The deep link in the push notification does work on iOS but not on Android. 

Could someone help me?

Hi Furkan,

"Does not work" is pretty vague. What exactly doesn't work? And what have you already tried to make it work?


Hi Kilian,

I have followed this document to solve my problems. I got on both platforms a push notification with a launch url like explained in the documentation of deeplinking. On iOS it opens the screen with the data from the deeplink in the notification. On Android it only starts the app. If I do not send a launch url in the notification it also opens the app. There is no difference. I also have tried from the OneSignal console to send the Intent link (explained in documentation) as launch url to a Android device, but not working. 

Hi Furkan,

I must admit I've only done this on iOS as well, I'll ask around to see if anyone has done it on Android.

Does anyone has a solution for this problem. it is still not working on android

Hi Furkan,

We have exactly the same problem and currently are waiting for reply from support team with solution. 

As it is a supported component you can open a support case. 

Hi Furkan, 

Try this : 

the issue lies in the casing of the application identifier and corresponding deeplink's scheme property. It seems that when the deeplink scheme is in upper casing, the deeplinks will not work. 

Worked for my demo app perfectly.

Put this in Extensibility Configuration


{

    "preferences": {

        "android": [

            {

                "name": "AndroidLaunchMode",

                "value": "singleTask"

            }

        ]

    }  

}