-
Notifications
You must be signed in to change notification settings - Fork 1
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
Expose Firebase App and Firestore database to public #3
base: main
Are you sure you want to change the base?
Conversation
This will work fine for the web implementation but the Android and iOS implementations will return JSON objects that match the serializable properties of the Swift/Java objects. What's the extra work that is needed? Probably we should add more methods to the implementation? |
The Firebase App and Firestore database are need for the Firebase packages (like |
What I mean is that the App and Firestore are classes. i.e. Firestore is often cast to |
@AshleyMedway The Capacitor Android Plugin Guide indicate that the |
Yeah I think how they’ve done it might be the way, return the config and create the same objects in the web, however, the general idea for this plugin is to remove the need for the web versions all together due to their flaky-ness particularly on iOS |
The Firebase App and Firestore database are/maybe needed for some other work.
It's better to expose Firebase App and Firestore database to public.