Closed borodiliz closed 4 years ago
While updating my project to Capacitor 2 I have encountered the following problem:
The problem is causing due to capacitor-fcm. Two different Firebase versions are being attempted to install:
capacitor-fcm
Firebase
This minor change solves the problem. Tested in the following environment:
π Capacitor Doctor π Latest Dependencies: @capacitor/cli: 2.0.2 @capacitor/core: 2.0.2 @capacitor/android: 2.0.2 @capacitor/electron: 2.0.2 @capacitor/ios: 2.0.2 Installed Dependencies: @capacitor/electron not installed @capacitor/cli 2.0.2 @capacitor/ios 2.0.2 @capacitor/android 2.0.2 @capacitor/core 2.0.2 [success] Android looking great! π Found 11 Capacitor plugins for ios: @jonoj/capacitor-fused-location (1.2.1) capacitor-fcm (2.0.0) cordova-plugin-badge (0.8.8) cordova-plugin-facebook4 (6.4.0) cordova-plugin-file (6.0.2) cordova-plugin-file-opener2 (3.0.0) cordova-plugin-file-transfer (1.7.1) cordova-plugin-googleplus (8.4.0) cordova-plugin-ionic (5.4.7) cordova-plugin-whitelist (1.3.4) cordova-sqlite-storage (5.0.0) [success] iOS looking great! π
thanks @borodiliz
we're starting fresh. please make sure to install the correct package
package name @capacitor-community/fcm version > 1.0.3
@capacitor-community/fcm
1.0.3
While updating my project to Capacitor 2 I have encountered the following problem:
The problem is causing due to
capacitor-fcm
. Two differentFirebase
versions are being attempted to install:This minor change solves the problem. Tested in the following environment: