Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamiclinks.onDynamicLink not calling on IOS app #102

Open
collinswilson opened this issue Dec 17, 2021 · 5 comments
Open

dynamiclinks.onDynamicLink not calling on IOS app #102

collinswilson opened this issue Dec 17, 2021 · 5 comments

Comments

@collinswilson
Copy link

it works smoothly in Android, however in iOS when the app is launched from a dynamic link, After configuring associated domains with applinks:example.page.link it does open the app (since this part is not in the doc for the plugin, I'm not sure if it's actually required?) but the callback function is not called to redirect the user to the page I want in the app,

@chemerisuk
Copy link
Owner

@collinswilson have you tried to use getDynamicLink to retrieve deep link data after app is started?

@collinswilson
Copy link
Author

@chemerisuk So after some sort debugging, i saw this ( TypeError: undefined is not an object (evaluating 'window.dynamiclinks.onDynamicLink') ),

I am assessing the plugin like so
window.dynamiclinks = cordova.plugins.firbase.dynamicLinks, But when i try to log cordova.plugins firbase is not logged meaning in runtime it will be undefined

Is there something i am missing in installing the plugin??

@chemerisuk
Copy link
Owner

Plugin namespace is cordova.plugins.firebase.dynamiclinks, not cordova.plugins.firbase.dynamicLinks

@paylat
Copy link

paylat commented Dec 18, 2021

typo from @collinswilson we are using
window.dynamiclinks = cordova.plugins.firebase.dynamiclinks
works for Android i.e open a specific page but not iOS it open the app but not specific page
are we missing something?

@fitterfly-fenil
Copy link

Hello There,

Is there any update on this issue? We are facing the same undefined error for iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants