Giter VIP home page Giter VIP logo

Comments (3)

IngAjVillalon avatar IngAjVillalon commented on July 18, 2024 1

The problem lies in duplicating the same dependency with different versions. To solve this problem, you need to align your dependencies in the same version.

The process of installing a plugin with Cordova carry out in 2 stages; The first is to install the plugin at the Cordova project level; this is to register the plugin and its variables in the package.json and config.xml file, the installation of the node packages and the download of the plugin in the plugins folder. Cordova disperses the plugin to the installed platforms in the second stage, speaking of IOS cocoa pods in charge of performing this action.

So you can perform this process manually; when you run the installation of a plugin, and the error is in cocoapods, it means that it is in the second stage; you can go to the ios folder within platforms and execute:
pod install --verbose
You will get the same problem again but with a more detailed description of the error.

In your case, it will be because your plugins refer to different versions of Firebase.

To solve that, open the Podfile file, which is inside the ios folder, and it sets the same version in all dependencies that use Firebase.

Later, run again
pod install --verbose

If this worked, go back to the plugins folder within the main project and in the configuration of each plugin, set the same value with which you obtained a successful installation with pod install.

Now, if you want to save them in your project or ensure correct installation, you can use the variables:

ANDROID_FIREBASE_AUTH_VERSION
IOS_FIREBASE_AUTH_VERSION

To set the value, you need from the Cordova.

from cordova-plugin-firebase-authentication.

IngAjVillalon avatar IngAjVillalon commented on July 18, 2024 1

We send you a donation by PayPal, with transaction ID: 20452343773632487, for your time dedicated to making this plugin and responding to problems.
Thank you so much for everything.

from cordova-plugin-firebase-authentication.

chemerisuk avatar chemerisuk commented on July 18, 2024

@Radecom cordova-ios v6 is required because plugin uses variable (IOS_FIREBASE_AUTH_VERSION) to specify Firebase SDK version. Earlier versions of cordova-ios do not support such variables.

Version 3.3.1 is the latest that can be used with cordova-ios v5.

from cordova-plugin-firebase-authentication.

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.