impierce / identity-wallet

A Tauri-based Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
https://www.impierce.com
Apache License 2.0
25 stars 3 forks source link

fix: use hashed `logo_uri` as identifier for temporary image assets #186

Closed daniel-mader closed 6 months ago

daniel-mader commented 7 months ago

Description of change

Using a static name for issuer logos (client_0.svg, client_0.png) might have caused unintended caching in the frontend when querying image assets from the Tauri core ("backend"). This was never an issue in local development (possibly due to inactive caching), but resulted in previous issuer images being displayed when others were expected. Hashing the path to the original image should make the temporary image names unique and thereby solve the caching issue.

Links to any relevant issues

n/a

How the change has been tested

Physical iOS device

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.