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

☂️ Support for Background Isolates #10353

Open
Lyokone opened this issue Jan 31, 2023 · 9 comments
Open

☂️ Support for Background Isolates #10353

Lyokone opened this issue Jan 31, 2023 · 9 comments
Labels
blocked: flutter platform: all Issues / PRs which are for all platforms.

Comments

@Lyokone
Copy link
Contributor

Lyokone commented Jan 31, 2023

This umbrella issue describes the current support of Background Isolates (announced as of Flutter 3.7) with FlutterFire.

The current implementation of Background Isolates only supports Flutter->Host and not the other way around. It means plugins that need to communicate back to Flutter will not work yet with Background Isolates.

Current support:

🚧 cloud_firestore (works but some errors when hot reloading, no support for subscribing to documents)
✅ cloud_functions
❓ firebase_analytics
❓ firebase_app_check
❓ firebase_app_installations
🚧 firebase_auth (some functions not available - verifyPhone)
✅ firebase_core
❓ firebase_crashlytics
🚧 firebase_database (works but some errors when hot reloading, no support for subscribing to documents)
❌ firebase_dynamic_links
❓ firebase_in_app_messaging
❓ firebase_messaging
❓ firebase_ml_custom
❓ firebase_ml_model_downloader
❓ firebase_ml_vision
✅ firebase_performance
❓ firebase_remote_config
❌ firebase_storage

Legend:

❓ = Not yet tested
✅ = Works
🚧 = Works partially
❌ = Doesn't work

@ariefwijaya

This comment was marked as off-topic.

@Lyokone

This comment was marked as off-topic.

@ariefwijaya

This comment was marked as off-topic.

@Lyokone

This comment was marked as off-topic.

@ariefwijaya

This comment was marked as off-topic.

@Lyokone

This comment was marked as off-topic.

@timsauvageot
Copy link

Is it planned to add documentation regarding available features to pub.dev of the packages or any other place?
I couldn't find it anywhere in the official documentation and it's currently a process of trial and error to figure out what works in the background.

@Lyokone
Copy link
Contributor Author

Lyokone commented May 15, 2023

Currently, we rely on both ways communication. As long as Flutter will not provide communication from the host to Flutter, it will probably stay in this state.

@timsauvageot
Copy link

Currently, we rely on both ways communication. As long as Flutter will not provide communication from the host to Flutter, it will probably stay in this state.

I understand the underlying issue but this doesn't seem to be documented anywhere in the Flutter packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: flutter platform: all Issues / PRs which are for all platforms.
3 participants