Comments (3)
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.
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.
@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)
- Add linkWithPhoneNumber
- Error: The default Firebase app has not yet been configured
- Android build app (APK) closing on Phone Auth function: verifyPhoneNumber(phone,timeout) HOT 3
- verifyPhoneNumber fails since 4.0.2 (Android) HOT 3
- verifyPhoneNumber() causes app restart
- Cannot add extension "googleServices" Already registered HOT 1
- FATAL EXCEPTION on "onAuthStateChanged"
- Does this supports firebase multi tenancy
- SignOut does not delete user's data on disk HOT 3
- How can the new Firebase App Check affect the plugin?
- getCurrentUser does not exist HOT 1
- iOS: Add user property "refreshToken" from FIRUser HOT 2
- IOS: I cant get this to work
- IOS_FIREBASE_POD_VERSION in the plugin HOT 2
- Unable to build in iOS using XCode 13.1 HOT 2
- Compatible with firebase 9?
- Cordova Plugin mapping not found in ios
- Library expects a BoM package: com.google.firebase:firebase-auth
- timeoutMillis is no longer an optional parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebase-authentication.