cordova-plugin-firebase-dynamiclinks
cordova-plugin-firebase-dynamiclinks copied to clipboard
iOS - Firebase Dynamic Link doesn't redirect to the app when open through Safari
I have added this plugin in my app, when I open in iPhone link through Google Chrome, it redirects me to the app, but when I'm trying to open app through Safari, it doesn't open the app.
<plugin name="cordova-plugin-firebase-dynamiclinks" source="npm" spec="0.13.2">
<param name="APP_DOMAIN" value="example.com" />
<param name="PAGE_LINK_DOMAIN" value="example.page.link" />
<param name="FIREBASE_DYNAMIC_LINKS_VERSION" value="11.8.0" />
</plugin>
Deep link : https://example.page.link/hQk3
iOS link settings :
Handling code on Device Ready :
cordova.plugins.firebase.dynamiclinks.onDynamicLink(function(data){
var data = JSON.stringify(data);
var obj = JSON.parse(data);
alert("Deep Link: "+obj.deepLink);
});
Even through Chrome, sometimes it opens the App Store and previous deep link value returning instead of the current one.
What can be wrong and how is possible to fix that?
@cmohanraj10 I'm experiencing the same issue. Safari app won't redirect and Chrome redirects. Have you found a solution to make it work for safari?
Same issue here. And for now I'm working on a simulator, so there is no way to test if it works on another browser...
Same problem here. It just wont open the IOS app. Anyone found a solution?
I had the same problem and solved adding the page link domain to Xcode.
You will find the option under project target > Signing & Capabilities > Associated Domains Add "applinks:example.page.link"
I hope it helps someone
It doesn't work even with https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks/issues/31#issuecomment-636358306 for me
I also already added associated domains and it's not working for me as well, it redirects me to open link in app page and correctly bringing me to my app on appstore. Would it be because I'm on a debug build?
EDIT: To launch app during development build: https://stackoverflow.com/a/63939770/6689321 This solved my problem of app not opening.
Hi! I'm using Ionic and faced the same problem. I just ADD ifl param into url and it works
https://url.page.link/?link=https://open.url.com?promocode=PEt0wzqwcx&apn=com.app.app&isi=123456&ibi=com.app.app&ifl=https://url