EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 367 forks source link

Redirection not working in Android #289

Open akrkar26 opened 5 years ago

akrkar26 commented 5 years ago

Hi, I am developing an Ionic 3 app. Using below configurations: 8.1.2 (cordova-lib@8.1.1) npm: 5.6.0 node: v9.11.2

We are using Custom url scheme to select certificates installed on the device and these certificate selection is opened in chrome browser. After certificate selection I want to navigate back to the app. I works perfectly in iOS but in Android it doesn't navigates back to the App. In browser console where I opened the certificate I get message "Navigation was blocked". According to the analysis it's done by the Chrome which doesn't allow the navigation.

Please let me know if I am missing something or there is some alternative solution present.

premtemp1 commented 5 years ago

I have the same issue. Did you find a solution?

akrkar26 commented 5 years ago

I have the same issue. Did you find a solution?

No, I didn't get any solution. Did u get any?

DaveLomber commented 5 years ago

same on our side did you find any solution?

bitforcesrl commented 5 years ago

i'm on ionic 4 but is not working chrome doesn't redirect to the app

dwasyluk commented 4 years ago

same issues here, ionic4, android, not working at all.

sjoerdloeve commented 4 years ago

Read this article: https://developer.android.com/training/app-links/deep-linking

Setting up an http scheme did the trick for me. You can still also keep mycoolapp:// for button clicks.