Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

adds Mojo support #70

Closed
wants to merge 28 commits into from
Closed

Conversation

collinjackson
Copy link

fixes #71

@davenotik
Copy link
Contributor

@sethladd so what exactly did you want us to test here? Shall a corresponding issue be opened?

@sethladd
Copy link
Contributor

Hi @davenotik just let us know if we break the js-interop version of this library :)

@collinjackson
Copy link
Author

This PR shouldn't be merged until dart-lang/sdk#24581 is fixed. I filed #71 to track the issue. For now, Flutter developers should use the https://github.com/flutter/firebase-dart fork.

@collinjackson
Copy link
Author

I identified an issue with this PR -- the Dart VM doesn't notify us when Firebase objects are garbage collected, so we can't close the Mojo handles and just leak them. We need to multiplex all the Firebase API calls through a single proxy, and add an API to Firebase that allows the developer to manually close the proxy if they want to release all resources associated with the Firebase. (This won't do anything in the JS implementation.)

@collinjackson
Copy link
Author

Closing as mojo is no longer used in Flutter.

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

Successfully merging this pull request may close these issues.

Add Flutter support
6 participants