This version of Clean Days fixes a bug introduced in the last release (oops!). It also includes a few miscellaneous changes to improve the security of the app.
Bug fix
The bug caused a friend’s user page to sometimes load with “You will need to be friends to see their clean time. You are friends!” instead of showing their clean date. This would go away after the page was refreshed.
The last version introduced this bug by loading their profile info before loading the friend relationship. By loading the friend relationship first, the page will now load a bit more slowly (more noticeable on slower connections) but it will load their clean date instead of the erroneous message.
Security patches
- Add a security feature to Apple Login that prevents replay attacks
- Include App Check token to validate which server requests come from the app
- Upgrade to the latest Firebase SDK