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

cordova-universal-links-plugin-fix is not installed #2

Open
danconte72 opened this issue Feb 27, 2020 · 2 comments
Open

cordova-universal-links-plugin-fix is not installed #2

danconte72 opened this issue Feb 27, 2020 · 2 comments

Comments

@danconte72
Copy link
Contributor

danconte72 commented Feb 27, 2020

If remove old plugin, add ionic ionic-plugin-deeplinks
And try to SignInWithRedirect on iOS

{"code":"auth/invalid-cordova-configuration","message":"cordova-universal-links-plugin-fix is not installed"}

On firebase SDK there is checks if plugins are installed

  this.isReady_ = fireauth.util.checkIfCordova().then(function() {
    // Check all dependencies installed.
    // Note that cordova-universal-links-plugin has been abandoned.
    // A fork with latest fixes is available at:
    // https://www.npmjs.com/package/cordova-universal-links-plugin-fix
    var subscribe = fireauth.util.getObjectRef(
        'universalLinks.subscribe', goog.global);
    if (typeof subscribe !== 'function') {
      throw fireauth.CordovaHandler.getError_(
          'cordova-universal-links-plugin-fix is not installed');
    }
@danconte72
Copy link
Contributor Author

this behavior it not happens on Android, it open Sign-In page

@danconte72
Copy link
Contributor Author

danconte72 commented Feb 27, 2020

cordova-universal-links-plugin-fix is necessary and it works on iOS
cordova-universal-links-plugin-fix is not necessary and it not works on Android

Is there a way to install the plugin only for one platform?
There are some solutions on stack overflow https://stackoverflow.com/questions/23108342/install-cordova-plugin-for-one-platform-only

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

1 participant