GithubHelp home page GithubHelp logo

Comments (13)

jacobg avatar jacobg commented on June 2, 2024 1

I'd rather just submit a PR if @chemerisuk will accept them. It affects both iOS and Android.

from cordova-plugin-firebase-dynamiclinks.

jacobg avatar jacobg commented on June 2, 2024

I think the recursion loop may be due to GoogleUtilities also swizzling the selector:
@selector(application:continueUserActivity:restorationHandler:);
So there's a 3 way infinite recursion loop of swizzling.

Perhaps this is a regression from a more recent version of Firebase/Core?

Here is a page that explains how to register an interceptor which relies on GoogleUtilities swizzling:
https://github.com/firebase/firebase-ios-sdk/tree/master/GoogleUtilities/AppDelegateSwizzler

from cordova-plugin-firebase-dynamiclinks.

jacobg avatar jacobg commented on June 2, 2024

It seems that the swizzling should be removed, and AppDelegate selector declared straight up. Are you concerned about another plugin also using that delegate selector? I don't think that would work anyway with the way the Firebase SDK does its own swizzling.

Also, I'm still wondering how you would support posting an APP_DOMAIN url to javascript, since this plugin does declare its capability?

from cordova-plugin-firebase-dynamiclinks.

nparziale avatar nparziale commented on June 2, 2024

Hi @jacobg any updates on this issue?
Thanks!

from cordova-plugin-firebase-dynamiclinks.

jacobg avatar jacobg commented on June 2, 2024

I pulled this plugin into my own application repo, and changed it to remove swizzling and to also handle links that firebase does not handle. If @chemerisuk will accept PR's for those changes, I'll submit them.

from cordova-plugin-firebase-dynamiclinks.

nparziale avatar nparziale commented on June 2, 2024

from cordova-plugin-firebase-dynamiclinks.

nparziale avatar nparziale commented on June 2, 2024

Hi @jacobg any updates on this?

from cordova-plugin-firebase-dynamiclinks.

jacobg avatar jacobg commented on June 2, 2024

Waiting on @chemerisuk to say if he'll accept a PR.

from cordova-plugin-firebase-dynamiclinks.

nparziale avatar nparziale commented on June 2, 2024

from cordova-plugin-firebase-dynamiclinks.

takedasoft avatar takedasoft commented on June 2, 2024

I have solved the same problem. If you use custom domain,
how about you try checking "FirebaseDynamicLinksCustomDomains" in YourApp-info.plist.

more info:
https://firebase.google.com/docs/dynamic-links/ios/receive#open-dynamic-links-in-your-app

from cordova-plugin-firebase-dynamiclinks.

nparziale avatar nparziale commented on June 2, 2024

Hi @takedasoft do dynamic links work for you on iOS cold starts? In my case the deepLink result is lost because of handleOpenUrl being called after the initial resolveDeepLink

from cordova-plugin-firebase-dynamiclinks.

adamduren avatar adamduren commented on June 2, 2024

Same issue here

from cordova-plugin-firebase-dynamiclinks.

mark-veenstra avatar mark-veenstra commented on June 2, 2024

When using custom domains for Dynamic Links you could adjust this plugin.xml and add:

        <config-file target="*-Info.plist" parent="FirebaseDynamicLinksCustomDomains">
            <array>
                <string>https://$PAGE_LINK_DOMAIN</string>
                <string>http://$PAGE_LINK_DOMAIN</string>
            </array>
        </config-file>

from cordova-plugin-firebase-dynamiclinks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.