635
Views
11
Comments
[OneSignal Plugin] Deeplink doesn't work on Android
onesignal-plugin
Mobile icon
Forge component by Hector Gordin

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.

Mykola (Nick) Tkachenko wrote:

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

Do you mean to use just lowercase letters for the scheme? I tried the app identifier as it is (it includes both lower and uppercase letters), and also all lowercase but didn't make any difference.

Put this in Extensibility Configuration


{

    "preferences": {

        "android": [

            {

                "name": "AndroidLaunchMode",

                "value": "singleTask"

            }

        ]

    }  

}

All lower case works for me.

Even though I had mixed case in App Bundle name.

Hi,
 

I am using OneSignal plugin, Its work good but deeplink is not native the target screen.Any one help me


Thanks
Jeyasri

Hi,
The solution is adding the code snipped below to the Extensibility configuration for Android devices. in my case it works. But don't forget to regenerate the app.

https://success.outsystems.com/documentation/how_to_guides/integrations/how_to_use_push_notifications_with_onesignal/


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