nextcloud / notes-android

✎ Android client for Nextcloud Notes app.
https://play.google.com/store/apps/details?id=it.niedermann.owncloud.notes
GNU General Public License v3.0
932 stars 135 forks source link

Notes getting overwritten with nothing #2171

Open MedjoPangit opened 5 months ago

MedjoPangit commented 5 months ago

This issue respects the following points:

Describe the bug

Open the notes app, biometric authenticate, open an existing note with content, leave the app, return to the open note, which curiously has its own screen, and witness all content within that note vanish.

Expected behavior

There should only be one screen for the app I would presume, and when returning to the screen in which the open note exists, content should not vanish.

Notes Android version

4.2.1

Notes server version

4.9.4

Nextcloud Android version

3.29.0

Nextcloud version

27.1.8

Device

Moto ThinkPhone

Android Version

14

App Store

Stacktrace

No response

larena1 commented 4 months ago

There should only be one screen for the app I would presume

I'm afraid that will not be possible anymore and we must live with the second task / window for now.

@alperozturk96 recently discovered a vulnerability dating back to 2015 affecting devices running Android 8 or earlier. In order to protect possible enterprise customers still using devices from more than 6 years ago, measures had to be taken to provide them with an at least half secure notes app, as the other version of the vulnerability can only be mitigated on OS and not app level.

Of course that should not be causing any data loss but the sync mechanism is very basic and will for instance also overwrite notes that had already been changed on the server but were still opened in the notes app on the phone.