79283408

Date: 2024-12-16 00:21:40
Score: 0.5
Natty:
Report link

The problem is the hashValue is unstable and will change between executions of the app.

From hashValue documentation:

Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.

The best solution at the moment seems to be storing a notificationId in my model which imho does look a lot more cleaner than a hacky extension to extract the UUID from the id.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 0x1801CE