nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
349 stars 530 forks source link

ios:deeplink always empty #132

Closed dineshpatra closed 6 years ago

dineshpatra commented 6 years ago

I am developing a app in ionic 3 for android and ios platform. For deeplinking, i am using cordova firebase dynamiclink plugin.

This is working fine for android platform. But in ios platform, though it is not throwing any error, it is not working.

My current ionic code.

this.platform.ready()
.then(() => {
  return this.firebaseDynamicLinks.onDynamicLink();
}).then((dynamicLink:any) => {
  console.log(dynamicLink); // always gives  {matchType: "weak", deepLink:""} in ios
}).catch((error: any) => {
  console.log(error);
});

The android part working fine. But in ios, the deeplink is always coming as empty.

my manually created dynamic url

https://xxxx.app.goo.gl/?link=&apn=<android bundle id>&ibi=<ios bundle id>

The provided link is returning HTTP 200 status, when opening in browser.

Testing steps (in ios):

In my iphone (ios9) I have placed this dynamic link in notepad Then by clicking on the dynamic link the app opens. In console, I get

{matchType: "weak", deepLink:""}

nordnet-deprecation-bot commented 6 years ago

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #160 for more information.