-
-
Notifications
You must be signed in to change notification settings - Fork 288
Use QNetworkInformation to queue QFieldCloud pushes offline and resume when back online #6879
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
Use QNetworkInformation to queue QFieldCloud pushes offline and resume when back online #6879
Conversation
…push the changes as soon as the network is available
|
🎉 Ta-daaa, freshly created APKs are available for 3d0eabb: arm64-android |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
🍎 MacOS DMG universal buildsDownload a MacOS DMG universal build of this PR for testing. 🐧 Linux AppImage buildsDownload a Linux AppImage build of this PR for testing. 🪟 Windows buildsDownload a Windows build of this PR for testing. |
3843a42 to
1fe9d6e
Compare
This change adds a small push-deferral mechanism in QFieldCloudConnection: when a project push is requested while the device is offline (or reachability is not confirmed), the project ID is queued and the push is automatically retried once the device becomes reachable again.
trim.B5710F20-5268-4E78-8300-522A412331F3.MOV