emansih / FireflyMobile

Mobile Application for Firefly III written in Kotlin
GNU General Public License v3.0
323 stars 48 forks source link

Transaction not uploaded after returning online #158

Closed mehuser closed 3 years ago

mehuser commented 3 years ago

Firefly III Server Version: 5.5.0-beta.1

Firefly III Mobile Version: 4.5.0

Android Version:

Device Information:
Android 11 - GrapheneOS

Current Behaviour

The app displays the message will be "added when you are back online" and (while offline) it immediately send notification that states "Error Adding. Please try again later". When the app regain connectivity to the server, the offline transactions never gets uploaded, even after 30+ minutes. The app shows the error notification even after regaining connection (i.e quick toggle airplane mode (offline), add transaction, retoggle airplane mode (back online))

Steps to Reproduce

  1. Open the application
  2. switch the airplane toggle to reproduce Firefly server unreachability
  3. add a transaction from dashboard and get notified with "Error Adding. Please try again later".
  4. disable airplane toggle and wait. Offline transaction never gets uploaded
emansih commented 3 years ago

yes I notice this bug a few days ago. I will fix it when I have the time