pocket-casts-ios
pocket-casts-ios copied to clipboard
Add "Change Avatar" button to account settings
Fixes # gravatarp2 -> 2024/06/10/pt-integrating-gravatar-into-pocket-casts
Adding the ability to change the avatar. Avatar is coming from user's Gravatar account. So the "Change Avatar" button opens the Gravatar web link via in-app Safari.
To test
Profile > Account > "Change Avatar" Observe: In app Safari is presented
- Inside the browser, if you are not logged in you should see the login first, then you'll be redirected to avatar update page.
- The avatar change does not always get reflected to the app immediately even though we force refresh the avatar on the mobile side skipping all client-side caches. This is a known limitation. There's a backend cache too and it's not updated immediately. The plan is to show such a message inside the browser:
If you are not logged in to the app then "Change Avatar" button will not be present for you.
Known issue:
A strange auto-zoom happens when testing in a Simulator but this issue is not reproduced in real device. But let me know if you can reproduce this in a real device.
Checklist
- [x] I have considered if this change warrants user-facing release notes and have added them to
CHANGELOG.md
if necessary. - [x] I have considered adding unit tests for my changes.
- [x] I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.