Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to avoid Firestore crash #21

Open
yoching opened this issue Dec 16, 2019 · 0 comments
Open

A way to avoid Firestore crash #21

yoching opened this issue Dec 16, 2019 · 0 comments

Comments

@yoching
Copy link

yoching commented Dec 16, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant