nextcloud / nextcloud/notes-android

Opening note from widget when device credentials is enabled empties the note.

Open
#1,379 3 comments 4 reactions 0 assignees View on GitHub

@nwatson3 is already working on this.

Since Nov 11, 2021.

  • #1400 by @nwatson3 — open
bug Widget :: Notes List
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug

I enabled Device Credentials security in the Notes app to prevent accidentally opening notes by touching homepage widget. However when I touch the widget now and scan my fingerprint - the note opens as blank and the data is gone and I have to roll back the version in Nextcloud Files to get it back.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Device Credentials in Security options of the Notes app
  2. Exit the app
  3. Create a homepage Notes widget
  4. Touch any note in the widget
  5. Device will ask for its biometric/pattern/pin lock
  6. Unlock
  7. The note that will load will be empty and the data will be gone

Expected behavior
The note should display normally

Screenshots

N/A

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 3.4.16
  • F-Droid or Play Store: Play Store
  • Android-Version: 11
  • Device: OnePlus 6T with OxygenOS 11.1.1.1

Server

  • Nextcloud version: 22.2.0
  • Nextcloud Notes version (server app): 4.1.1

Stacktrace
No ide what that is. There is nothing coming up in NC server log while this is happening.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Android Notes widget flow and the Device Credentials security handling, then reproduce the issue using the listed seven steps. Done means an authenticated widget-opened note retains and displays its content instead of appearing empty; an open linked pull request indicates work may already be underway.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.