A way to avoid Firestore crash
yoching opened this issue · 0 comments
Hello. I'll be very happy if you could help me with avoiding firebase crash in a module!
I'm trying to make a framework that wraps Firestore SDK, but it crashes.
According to some comments on GitHub, using Firebase from multiple modules have some difficulties.
Firebase is a linked statically and can only be linked once into an app. It cannot be linked into multiple dynamic frameworks.
from firebase/firebase-ios-sdk#4263 (comment)
My crash seems to be the same as this issue: firebase/firebase-ios-sdk#4271
I'm interested in how Ballcap-iOS avoid this problem since it wraps Firestore in a module.
Do you know how Ballcap-iOS avoids this problem?
I've uploaded my sample app which has the same crash. It crashes by executing tests.
https://github.com/yoching/FirestoreDependencyExperiment
Thank you!