Bug #731
closedPrivacy Browser proposes to open Telegram and WhatsApp contacts
0%
Description
Hello, I'm not sure if it can be considered a bug, but anyway.
After last update I noticed that PB shows up as a possible app when messaging/calling for Telegram and WA.
In the attached image you see the right icons for 'messaging' because I told "open always with".
I have a Samsung Galaxy A5 2017 with Android 8.
Thank you!
Files
Updated by Soren Stoutner over 3 years ago
I'm not sure I fully understand what let to the attached screenshot. What app are you in, and what option did you select, that led to that screenshot?
Updated by Edoardo Secco over 3 years ago
The situation is: no app opened at all, I just open my list of contacts on the phone, then I go on a contact and see as in the picture.
If I actually try to follow PB in opening, for example, a call on Telegram it shows:
"Impossible to load the web page at content://com.android.contacts/data/6864 since: net::ERR_FILE_NOT_FOUND"
I didn't make any setting for PB.
Updated by Soren Stoutner over 3 years ago
Privacy Browser can read any data shared via a content URL with a VIEW intent. This lets it open text files, pictures, and other things. There is a bit of information about this at https://www.stoutner.com/privacy-browser-3-8/. You can see the intent filter in the Manifest beginning at line 130.
However, I am not able to replicate your behavior. For example, if I open the contacts on my phone (Google's default Contacts app), go to a contact, and select share from the menu, Privacy Browser is not listed as an option. This is most likely because Contacts is not using a VIEW intent, but a different intent that matches the behavior it is looking for. Are you perhaps using a custom contacts app? Could you post a video showing the behavior?
Updated by Soren Stoutner over 3 years ago
If you can't post a video, a precise description of each step, with the version number of the contact app you are using, would be helpful.
Updated by Edoardo Secco over 3 years ago
- File Screenshot_composed.jpg Screenshot_composed.jpg added
Yes, unfortunately a video would show telephone numbers, so I'm forced to avoid it. I tried to make an image instead. Please see it attached here :-)
The contacts app is: "Contacts" by Samsung, version 3.8.27.9
Updated by Soren Stoutner over 3 years ago
- Status changed from New to In Progress
- Priority changed from 3.x to Next Release
Thanks for the detailed images. They explained to me what is going on, and I am able to replicate the problem on a Samsung tablet.
The solution is to limit Privacy Browser's content intent filters. Probably to something like the following:
<data android:mimeType="text/*" />
<data android:mimeType="image/*" />
<data android:mimeType="multipart/related" />
<data android:mimeType="mmessage/rfc822" />
I'll have to play around with them a little bit to see exactly what is needed.
Updated by Soren Stoutner over 3 years ago
- Status changed from In Progress to Closed