Closed mat1th closed 3 weeks ago
In the following situation the SDK could crash
Parley.configure
Parley.purgeLocalMemory
registerDevice
ParleyRemote.createHeaders#37
To solve this issue the observers also need to be removed in the reset and purgeLocalMemory functions.
reset
purgeLocalMemory
@alexkok could you review this pr and create a new release? We do see this issue in production.
Sure, looks good. On it! 👍
Released in 4.1.8 🚀
In the following situation the SDK could crash
Parley.configure
is calledParley.purgeLocalMemory
is calledregisterDevice
call will create a fatal error because the secret is not set anymore.ParleyRemote.createHeaders#37
.To solve this issue the observers also need to be removed in the
reset
andpurgeLocalMemory
functions.