App does not show direct links to alternative clients for Telegram and Signal
Checklist
- [x] I can reproduce the bug with the latest version given here.
- [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [x] This issue contains only one bug.
- [x] I have read and understood the contribution guidelines.
Affected app version
1.1.0
Affected Android/Custom ROM version
Android 13
Affected device model
Fairphone4
How did you install the app?
GitHub releases
Steps to reproduce the bug
1 - Having contacts that are on Telegram and Signal 2 - Use alternative clients instead of official ones
Expected behavior
The lines are shown as for e.g. WhatsApp.
Actual behavior
If I use official Telegram and Signal official client, they are fully shown in contact's page and i can tap on the related line to reach directly. If I use alternative clients (like Momogram for Telegram and Molly for Signal) thay aren't shown, or the line isn't fuctional.
Screenshots/Screen recordings
This contact has Signal, and the line for Molly is shown, but since there isn't the icon on the right I can't reach them directly from there.
This contact has Telegram but the line isn't shown at all.
Additional information
No response
The app you're showing in screenshots is not Fossify Contacts. Are you sure you've reported this request in a proper repository?
I'm so sorry, now I uploaded the right ones. I'm currently using Fossify Contacts, the other ones were just an attempt I made on another app, derived from Simple Tools too.
By the way, which feature does allow Contacts app to show if a person is on WhatsApp/Telegram/Signal? Knowing this could help, I opened issue on those clients' repo.
The account type, see https://developer.android.com/reference/android/accounts/AccountManager.
Use alternative clients instead of official ones
Why should Fossify Contacts recognize unofficial clients? Are there any contacts app that do?
The account type, see https://developer.android.com/reference/android/accounts/AccountManager.
Where can I check this on the phone? I'm not so expert.
Use alternative clients instead of official ones
Why should Fossify Contacts recognize unofficial clients? Are there any contacts app that do?
Well, as part of degoogling, one can easily search for degoogled versions of apps, Telegram and Signal being among them. Anyway, Fossify Contacts correctly shows Telegram contacts with this client and from this Signal client, but I had to look for an alternative since it isn't maintained anymore.
Your telegram/signal account should show up under system settings ➜ accounts. If it does not, then it's likely a client issue.
Your telegram/signal account should show up under system settings ➜ accounts. If it does not, then it's likely a client issue.
They correctly do.
I have the same problems as you @EdoSecco I think there are two issues here because Telegram and Signal don't have the same identifiers.
- Telegram has its own unique identifier, so if you don't have it saved with your contact in you contact list, Fossify Contacts will not be able to link the two IDs. → I don't think this is a bug.
Signal uses the phone number so if you save the phone number of your contact in Fossify Contacts, it will match your friend with its Signal contact. Only when you use Molly, it will not display the icon because only Signal, Whatsapp, Telegram and Viber icons are handled in Fossify Contacts. → I think this is possibly a bug.
I am not familiar with Kotlin but I think there are two ways to fix this:
- in
getPackageDrawable, the fallback icon is usingicon R.drawable.ic_threema_rect_vector. If you don't have threema App installed, there will not be any icon displayed. I think the fallback should be a generic svg. - In
setupContactSourcesThere is no instruction to look for other icon that the known usual known IM app icons. Maybe Molly could be added here and maybe also a fallback image. @naveensingh should we open another issue with a "bug" label?
I may be wrong as I am not a Kotlin expert but if someone with a stronger knowledge can have a look we may be able to solve the issue.
@naveensingh should we open another issue with a "bug" label?
Let's keep it here. I'll investigate this when I have some time.