-
-
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
onDynamicLink Event not firing on iOS #15
Comments
I have the same issue. Using Ionic 3. |
I have the same problem. Maybe it's related to this?
Are you getting the same error when you enable the diagnostics output? |
What |
My |
Mine is |
@AndreasGassmann May I know how did you manage to get the Firebase Dynamic Links diagnostics to work? |
@murshid1988 I followed the instructions here: https://firebase.google.com/docs/dynamic-links/debug To make sure the plugin was completely initialized, I added |
@AndreasGassmann I mean I would like to know the path or the file you added. I tried putting the code in |
I opened xcode and edited the file in the "plugins" folder. That way you can rebuild and it gets added to the app immediately. I think the problem for you is that the code doesn't actually get built. Just add a simple NSLog(@"Test") to see if the code is included in your project. |
@AndreasGassmann Cool. Thanks. I will check and let you know. |
@murshid1988 Did you find anything out? |
@AndreasGassmann Nope not yet. Waiting for my friend to return the Mac. I will update you |
@murshid1988 Any updates? I still didn't manage to get this to work. |
Nope. Couldn't get the diagnostic output even. But the strange thing is if the links shared in facebook the app manages to open it. But WhatsApp and other messaging platforms such as Telegram are not doing the expected. I feel like this has something do with the app page generated by Firebase. |
I've come across the same issue. Is there any solution to this?
Edit: |
Same issue here. I'm using the plugin through capacitor with cordova plugins. I can get the dynamic link to open my app via an associated domain, and firebase analytics even logs the APP ACTIVE message, but the onDynamicLink method does not fire.
|
I had similar issue about plugin initialization for iOS. I added below code in load method of file AppDelegate+FirebaseDynamicLinksPlugin.m and it worked. Attaching file for reference. //Firebase app initialization |
Hi @nstokoe Where you able to find a solution with this issue I have the same problem and @alfazjikani did get the diagnostic log to to print my app id as custom scheme but onDynamicLink event still not firing. |
No. After much frusteration, I ended up scraping the code that used this plugin and implemented my own Capacitor plugin (with no Cordova dependencies) that interacted directly with the native FireBase SDKs. I think I may have used this plugin as an example to follow: https://github.com/baumblatt/capacitor-firebase-auth |
@nstokoe Great way to go, I had that in mind. would you mind sharing your codes after your done? |
@nstokoe did you get something working? |
I ran into this bug, but was able to get around it with a version bump from
to
in plugin.xml |
Will give this a try. |
@kassamina is it working fine in both states (app in background and app killed) ? |
Any updates on this, I've the same problem. On Android everything works fine on iOS the event is firing on startup (for no reason) and afterwards it is not firing anymore. Diagnostic output seems good
|
I had the same issue for the scenario of when the app was terminated and it was caused by a conflict with cordova-plugin-firebasex. |
After a couple of days dedicating to getting rid of this bug, I came to the conclusion that using IONIC is MUST NOT do thing. |
Have you come to any solution? |
We're having the same issue on Cordova CLI 9.0.0 and cordova-ios 6.1.0. |
I'm using capacitor and having the same issue too, did you get to find any solution? |
Experiencing the same issue. The problem seems to occur only on iOS with Capacitor. A post on StackOverflow raises concerns that perhaps the issue is with method swizzling in Objective-C vs. Swift. This plugin is written in Objective-C. Someone wrote an unofficial plugin in Swift here. |
Update: for those using Capacitor here's a working plugin - https://github.com/Turnoutt/capacitor-firebase-dynamic-links |
Ever since the introduction of the
Where |
On Android everything works smoothly, but on iOS the onDynamicLink event is not firing, so we cannot get the payload out of the link.
The text was updated successfully, but these errors were encountered: