Comments (9)
Thanks for reporting the issue. Please also share your Xcode debug console output after the error occurred.
from capacitor-firebase.
Thank you for replying. Here is all the logs I have in Xcode
from capacitor-firebase.
@robingenz I would be grateful for advice on how to workaround this issue if you know the cause of it until you get it fixed on your side
from capacitor-firebase.
It seems like you did not set up Firebase correctly. The GoogleService-Info.plist
file is missing.
Edit: See https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#ios
from capacitor-firebase.
@robingenz It seems I did not add it to git, or something went wrong with xCode. I added it to my test repo now, the issue is still here
from capacitor-firebase.
You should not add Firebase packages to XCode manually (e.g. Package.resolved
). This is all handled by the Capacitor plugin. I removed the packages and tested your reproduction example and could not find any problems:
⚡️ WebView loaded
⚡️ To Native -> FirebaseFirestore getDocument 71085217
⚡️ To Native -> SplashScreen hide 71085218
⚡️ TO JS undefined
⚡️ TO JS {"snapshot":{"path":"users\/2NkGwKiBHFV1K5kDg9fJOcig78u2\/lessons\/lesson_1","id":"lesson_1","data":{"b":2,"a":1}}}
from capacitor-firebase.
@robingenz Sorry for the dumb question, this is my first capacitor project. Could you please explain what Firebase packages I should remove and from where?
from capacitor-firebase.
These are the necessary changes: robingenz/capawesome-team-capacitor-firebase-issue-523@0cc5d28
from capacitor-firebase.
@robingenz Thanks so much! It works! I added these "wrong" libraries after reading some of the tutorials.
For those who maybe has the same issue, I removed all Firebase-specific packages from Xcode in App-General-Frameworks section.
from capacitor-firebase.
Related Issues (20)
- Troubleshooting Date-Time Query Issues HOT 2
- feat(authentication): add `fetchSignInMethodsForEmail(...)` method HOT 6
- feat(authentication): return `email` property of `FirebaseAuthUserCollisionException`
- feat: upgrade Firebase SDK version to have Privacy Manifest HOT 3
- bug: Issue with presentationOptions Config Affecting Background Notification Sound HOT 9
- feat: Provide access to the native apple apnsToken value
- feat: Emulator support for Firestore
- How to provide the app config in web analytics
- Advice needed: Cannot build Authentication on Ionic Appflow due to "Multiple commands produce CapacitorFirebaseAuthentication.framework" HOT 7
- refactor: rename error codes
- Auth Emulator: I need some support on this
- apple login not working on ios for 15.0 version. 16^ Okay. HOT 1
- Google login is okay on web, android. But not working on ios. HOT 1
- feat: Action Recommended: Update the Google Analytics for Firebase (GA4F) iOS SDK HOT 1
- bug: No such module 'FirebaseCore' with just the Analytics plugin HOT 6
- [Analytics] Need to upgrade Firebase iOS SDK to 10.24.0 in @capacitor-firebase/analytics version 1.4.* HOT 1
- feat(firestore): add addCollectionGroupSnapshotListener HOT 3
- feat(analytics): add logTransaction method
- feat: AppCheck Debug provider in Simulators HOT 1
- bug: "DeviceCheckProvider is not supported" when running on Simulator with debug enabled HOT 1
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 capacitor-firebase.