Immuni app fails to register with exposure notification framework on multiuser system
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
I'm filing this without honestly having reproduced this on another device yet, and it may just be a fluke, but I don't want to forget, and also I suspect you're close to release, so I'm putting it there both for me to remember and in case someone wants to try reproducing, but it's fine if it's ignored for now.
Basically, I have a LineageOS 14.1 system with two users; I installed Immuni as the first user, and EN was successfully enabled for the app, and appears to be generally working. Later I've tried to install the app as the second user, and what happened is that after the screen where Immuni explained that the system was about to ask me for permission, the system (i.e. microG) did ask me for permission, and I granted it, but Immuni stayed on the same page, and seemingly didn't notice that any permission was given. Subsequently, if I tried to press the "Next" button again to get the microG permission request again, I would get nothing instead. I've tried force stopping Immuni and redoing everything from scratch, but the permission request no longer appears.
Things to try: see if Immuni is registered as an EN app from microG's point of view in the second user, and try the same process on other phones with different versions of LineageOS.
Question: is microG supposed to support EN on a multiuser system at all? If not, I guess it would be nice if it failed more gracefully, for example with a dialog box explaining that EN is already active for another user (do IDs keep being added to the database by the system, and is the own ID still broadcast, even if I'm switched to a different user?).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the permission flow on LineageOS 14.1 with two users, then check whether Immuni is registered as an exposure-notification app from microG's perspective for the second user. Compare behavior on other phones or LineageOS versions. Done means establishing whether multiuser exposure notification is supported and, if not, defining the graceful failure behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100