-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Firebase dynamiclink event not fired in ios #84
Comments
Same here |
Same problem similar error message: Update: version 7.0.0 yields the same error. |
Update: I'm neither iOS nor Objective-C expert, but I've spent some time digging through the code and came up with a workaround: check out my fork here. Unfortunately, it still doesn't work with cold start (e.g. the app doesn't receive the link if the app was not running). There are a plenty of challenges here involved: method swizzling doesn't work (in I think someone with better iOS-dev background should take a look. If you're also using Capacitor, considering this plugin: https://github.com/Turnoutt/capacitor-firebase-dynamic-links |
@karen1au, @marcocrodutti, and @ericgopak - I had the same issue, to solve it I had to use the right way to work with URLs and query strings. Let me know if that helps.
|
@ericgopak I'm trying with the capacitor plugin but it's giving me the same error
code inside this never get executed...
|
@nuno thanks for your solution! But i'm using firebase generated link for authentication so I don't really have control in constructing the link :( |
@marcocrodutti I'm using Vue, but it shouldn't matter? |
You are right, sorry. It is not relevant. |
For me, converting the manually constructed long dynamic link to a short dynamic link fixed this error (using latest DynamicLinks version 8.6.0) |
okay this works only when the app is open already, not for a cold start. then it brings me to the main screen within my app (Edit: when cold starting, getDynamicLink() can be used to handle dynamic links on iOS) |
it works smoothly in Android, however in iOS when I launch app in XCode, FirebaseDynamicLink plugin is init and onDynamicLink is called, clicking the url from browser doesn't open the link in the app. After I configured 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 for authentication is not executed, in the log I see this:
The text was updated successfully, but these errors were encountered: