Open anubhavkamath opened 2 years ago
I switched to the main branch (NOT the CLI) branch and generated the cordova project from scratch and at least I am at a point where I can get into my app. I will try messaging and update shortly. This is my podfile versions that seems to work: pod 'Firebase/Core', '8.4.0' pod 'Firebase/Auth', '8.4.0' pod 'Firebase/Messaging', '8.4.0' pod 'Firebase/Performance', '8.4.0' pod 'Firebase/RemoteConfig', '8.4.0' pod 'Firebase/InAppMessaging', '8.4.0' pod 'FirebaseFirestore', :tag => '8.4.0', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git' pod 'Firebase/Crashlytics', '8.4.0' pod 'Firebase/Functions', '8.4.0' pod 'Firebase/Installations', '8.4.0' pod 'GoogleSignIn', '5.0.2' pod 'GoogleTagManager', '7.3.1'
[ x] I have read the issue reporting guidelines
[ x] I confirm this is a suspected bug or issue that will affect other users
[ x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[ x] I have read the documentation thoroughly and it does not help solve my issue.
[x ] I have checked that no similar issues (open or closed) already exist.
Current behavior: I have been able to use this plugin in the past but after some updates, it stopped working. The print is coming from the FIRPerformance.m module. Relevant console log provided below.
This issue can be reproduced with the following versions: XCode: 12.5.1
Podfile versions: pod 'Firebase/Core', '8.4.0' pod 'Firebase/Auth', '8.4.0' pod 'Firebase/Messaging', '8.4.0' pod 'Firebase/Performance', '8.4.0' pod 'Firebase/RemoteConfig', '8.4.0' pod 'FirebaseFirestore', :tag => '8.4.0', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git' pod 'Firebase/Crashlytics', '8.4.0' pod 'Firebase/Functions', '8.4.0' pod 'Firebase/Installations', '8.4.0' pod 'GoogleSignIn', '5.0.2'
I'm using Quasar and I've been able to reproduce by just adding the the plugin to an example Quasar project. So, it's definitely not just my project that has the issue. I'm guessing there's some incompatibility somewhere.
Screenshots If applicable, add screenshots to help explain your problem.
Console Logs GoogleService-Info.plist found, setup: [FIRApp configureWithOptions] 2021-11-05 17:01:35.973177-0500 TennisVue[912:213480] 8.4.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add
FirebaseApp.configure()
to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)(or the
@main` struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.Plugin Version cordova-plugin-firebasex 13.0.0-cli "Google Firebase Plugin" cordova-plugin-whitelist 1.3.5 "Whitelist"
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context THis seems to be related to this issue but it has resurfaced in a different module now: https://github.com/arnesson/cordova-plugin-firebase/issues/866
Cordova CLI version
Cordova platform version Installed platforms: ios 6.2.0 Available platforms: android ^9.0.0 browser ^6.0.0 electron ^1.0.0 osx ^6.0.0
Plugins & versions installed in project (including this plugin) cordova-plugin-firebasex 13.0.0-cli "Google Firebase Plugin" cordova-plugin-whitelist 1.3.5 "Whitelist"
Dev machine OS and version, e.g.
Runtime issue