When Jami is "forced stop", sharing any file through Android's menu will wake up the app again
Hello devs,
Would it be possible to prevent this from happening? Other apps stay frozen and only unfreeze when specifically triggered to do so.
It doesn't matter for what app "share with" is being used, merely using OS's sharing command wake Jami up.
Thanks
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Owner
(I'm not an android dev)
Mhh, I'm not convinced about "Other apps stay frozen and only unfreeze when specifically triggered to do so."
I've just tested with 2 devices and did this scenario:
- Force stopped Discord, Signal, Silence, Element, Tusky
- Opened twitter and tried to share a picture
- Some of these apps are waking up and loading. I think it's because Android try to get suggestions to what contact you want to share the info with. To be confirmed but it seems logic.
Collapse replies - Owner
yeah element is the same on my device, but I don't see any contact suggestion for sharing with Element. Didn't tried with wire.
- Adrien Béraud assigned to @aberaud
assigned to @aberaud
- Adrien Béraud changed milestone to %Iteration 23
changed milestone to %Iteration 23
- Sébastien Blin removed milestone
removed milestone
- Sébastien Blin changed milestone to %Iteration 24
changed milestone to %Iteration 24
- Sébastien Blin changed milestone to %Iteration 25
changed milestone to %Iteration 25
- Adrien Béraud assigned to @anaghshzan
assigned to @anaghshzan
- Owner
A new Android API allows declarative share target instead of runtime queries waking up the app. https://developer.android.com/training/sharing/receive
We should use this new API (for Android 10+ only).
Edited by Adrien Béraud - Sébastien Blin changed milestone to %Iteration 26
changed milestone to %Iteration 26
- Sébastien Blin changed milestone to %Iteration 27
changed milestone to %Iteration 27
- Amirhossein Naghshzan added SprintIn progress label
added SprintIn progress label
- Amirhossein Naghshzan added SprintTo review label and removed SprintIn progress label
added SprintTo review label and removed SprintIn progress label
- Amirhossein Naghshzan added SprintDone label and removed SprintTo review label
added SprintDone label and removed SprintTo review label
- Amirhossein Naghshzan closed
closed