TGX-Android / Telegram-X

The main repository of Telegram X — official alternative Telegram client for Android.
https://play.google.com/store/apps/details?id=org.thunderdog.challegram
GNU General Public License v3.0
3.54k stars 558 forks source link

Issue with Profile Picture Upload in Telegram-X #405

Open mariopaglia opened 1 year ago

mariopaglia commented 1 year ago

Hello Telegram-X Development Team,

I hope this message finds you well. I'm writing to report an issue we've encountered when trying to set a new profile picture on Telegram-X.

To describe the issue in more detail, when attempting to change the profile picture from the gallery, the application consistently fails to upload the selected image. The failure manifests itself in an error message reading something along the lines of "bitmap === null".

Interestingly, taking a picture directly from the camera to set as the profile picture appears to work flawlessly. The issue only arises when attempting to use a picture from the device's gallery.

This unexpected behavior disrupts user experience, particularly for those who prefer to set pre-existing photos from their galleries as profile pictures.

Given the importance of profile picture management for user expression and identity on the platform, I believe this is an issue worth addressing. I'm confident that the community would benefit from a resolution to this problem.

Please let me know if additional information or further description is required, I would be glad to provide further assistance.

Thank you in advance for your time and support.

Best regards, Mario Paglia

mariopaglia commented 1 year ago

I found the solution, for some reason the app hadn't requested permission to access photos and gallery on my phone. I had to manually grant this permission in the phone settings. I think it would be advisable for you to look into this behavior.