-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[cloud_firestore] Sync failed when closing app #1343
Comments
@kroikie Have you encountered this problem? |
Hi @PrismaSoftGC |
So unfortunately I can't post an app to gitHub because it's a commercial project, but it's a pretty simple operation. When I am offline I need to record information, and before that I search another collection to be able to save updated. Very well, I save the operation, and when I turn on the internet the data is synchronized as expected. But if I press back on the application until it closes, this synchronization fails terribly. PS: Sorry for english because i am brazilian and i am using google translator `C:\Users\crist>flutter doctor --verbose [√] Android Studio (version 3.5) [!] Connected device ! Doctor found issues in 1 category.` `C:\Users\crist>flutter run --verbose #0 FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:568:9) |
@PrismaSoftGC I have not seen this; are you able to reproduce this behavior with the example app for |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please. |
Sync failed when closing app
Every time I enter a bank information, I need to check if the name is correct, because I want this feature to work offline, so I can not have inconsistencies in the bank. So far as the code below is working the way I want. but in only one situation does the sync fail, which is when I press the app's back button until it closes. So when I turn on the internet the data is not synchronized.
Code :
Log Error:
D/NetworkManagementSocketTagger(30646): tagSocket(60) with statsTag=0xffffffff, statsUid=-1
D/FlutterNativeView(30646): FlutterView.send called on a detached view, channel=plugins.flutter.io/cloud_firestore
D/FlutterNativeView(30646): FlutterView.send called on a detached view, channel=plugins.flutter.io/cloud_firestore
D/FlutterNativeView(30646): FlutterView.send called on a detached view, channel=plugins.flutter.io/cloud_firestore
D/FlutterNativeView(30646): FlutterView.send called on a detached view, channel=plugins.flutter.io/cloud_firestore
D/FlutterNativeView(30646): FlutterView.send called on a detached view, channel=plugins.flutter.io/cloud_firestore
W/FlutterJNI(30646): Tried to send a platform message response, but FlutterJNI was detached from native C++. Could not send. Response ID: 232
The text was updated successfully, but these errors were encountered: