-
Notifications
You must be signed in to change notification settings - Fork 154
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
Firestore dependency causes Uncaught ReferenceError: $module$firebase_compat_app is not defined
#346
Comments
i have done a new release, could you please try version 1.7.0(should be live in about 4 hours from now) and see if you get the same issue. |
With version
|
@shubhamsinghshubham777 this workaround should solve it. However, I think it should be fixed by PR here as KT-48836 has not been fixed since Kotlin 1.6 and there is no any ETA. |
Understood, thank you for the information. I should close this issue in that case ✅ |
Hi! I'm trying to implement a KMP application that supports Android, iOS, and JS. I've only just started developing the app and it works fine while I have the following dependencies:
Now, as soon as I introduce the firestore dependency and make use of firestore in my repository code,
my JS app stops working giving the following error output (Note: The Android app still works fine with the same code):
As soon as I remove the firestore dependency, everything starts working ✅ Now I'm not sure how to fix this issue while being able to use firestore.
Doing some research on this same error message, I could find this SOF answer where they essentially mention that Firebase has now moved to a modular SDK. With this in mind, I think someone has already tried to resolve this issue in #319
Is this a known issue that I'm facing? Or do we have a solution for this in mind? Any help is appreciated.
The text was updated successfully, but these errors were encountered: