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

Notify user when automatic backup fails #769

Closed
10 tasks done
cohenadair opened this issue Sep 9, 2022 · 4 comments
Closed
10 tasks done

Notify user when automatic backup fails #769

cohenadair opened this issue Sep 9, 2022 · 4 comments

Comments

@cohenadair
Copy link
Owner

cohenadair commented Sep 9, 2022

If automatic backup fails due to network or some other issue, the user should be notified in some way so they know there's a problem and they may need to do a manual backup.

Testing Scenarios

  • Notify on:
    • App open if auth fails
    • Auto-backup if not connected
    • Auto-backup if not signed in
    • Auto-backup if error
  • Request permission on:
    • Startup if backup is set up (updating users)
    • Auto-backup set up
  • Tapping notification opens BackupPage
  • Start backup, background app, receive notification
@dpage
Copy link

dpage commented Apr 24, 2024

Further to this, I just realised that my installation had become de-authorised from Google Drive as some point in the past (I was reviewing my app access in Google Drive itself). My automated backups from Angler's Log were apparently failing, but were doing so silently, so it was only pure chance that I was able to fix it.

@cohenadair
Copy link
Owner Author

Thanks for that information @dpage. That is quite annoying. I'll add this issue to the 2.7 project so it'll be included in the next version.

@cohenadair
Copy link
Owner Author

cohenadair commented Jul 16, 2024

Reopening. The local notification isn't shown on Android when the app is in the foreground (tested release build on a real device).

Note that all test scenarios for iOS passed.

@cohenadair cohenadair reopened this Jul 16, 2024
@cohenadair
Copy link
Owner Author

Issue was I missed an Android configuration step for the notifications plugin: https://pub.dev/packages/flutter_local_notifications#release-build-configuration

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

No branches or pull requests

2 participants