You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I have no clue about Swift development, so I'm rather helpless with this.
Given that this happens in a very simple setup (see attached repo for a minimal reproduction), I am inclined to say that I am not using the plugin in a way it is not intended to be used.
Any feedback on this would be great!
Expected behavior
Setting up snapshot listeners should not lead to crashes.
Not to hijack the issue but I had similar issue which also sounds like the one mentioned in #771. My app sometimes crashed while creating multiple snapshot listeners with an EXC_BAD_ACCESS pointing to the snapshot listeners. After installing the suggested prerelease i've had no crashes! Seems to work for me :-)
Plugin(s)
Version
6.3.1
Platform(s)
Current behavior
When I set up (multiple) snapshot listeners in parallel, the iOS crashes randomly with varying errors. Among them are:
XCode shows me an error in L244 in @capacitor-firebase/firestore/ios/Plugin/FirebaseFirestore.swift
Unfortunately, I have no clue about Swift development, so I'm rather helpless with this.
Given that this happens in a very simple setup (see attached repo for a minimal reproduction), I am inclined to say that I am not using the plugin in a way it is not intended to be used.
Any feedback on this would be great!
Expected behavior
Setting up snapshot listeners should not lead to crashes.
Reproduction
https://github.com/BoveFabio/capawesome-firestore-reproduction
Steps to reproduce
Check out the attached repo, then:
npm i
npm run build
[your local IP]
inside thecapacitor.config.ts
npx cap sync
npm run dev -- --host
numberOfSnapshotListeners
inApp.tsx
@capacitor-firebase/firestore/ios/Plugin/FirebaseFirestore.swift
, e.g.Other information
No response
Capacitor doctor
❯ npx cap doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: