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

Saving to cloud doesn't work from inside isolates #12

Closed
BernardinD opened this issue Oct 10, 2022 · 2 comments
Closed

Saving to cloud doesn't work from inside isolates #12

BernardinD opened this issue Oct 10, 2022 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@BernardinD
Copy link
Owner

BernardinD commented Oct 10, 2022

When using the google_sign_in plugin from an isolate the plugin fails, likely due to locality issues.

Will supply logs later

@BernardinD
Copy link
Owner Author

BernardinD commented Oct 10, 2022

Planned approach is to use the newest isolate feature flutterComputer() in order to run and wait for all the isolates to finish in the main thread and call backup from there like here.

Opened a ticket in isolate_handler to hopefully handle most of the work

NOTE: This might also be useful

@BernardinD BernardinD added bug Something isn't working enhancement New feature or request labels Oct 10, 2022
@BernardinD
Copy link
Owner Author

Flutter's compute() might also be an option. Might be a more direct way to simply do the feature

@BernardinD BernardinD changed the title Saving to close doesn't work from inside isolates Saving to cloud doesn't work from inside isolates Oct 14, 2022
@BernardinD BernardinD mentioned this issue Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant