It should be possible for the SDK user to change the anonymousIdentityKey at any point during their apps lifetime. Currently, if a user goes to the app and gets say a _uid which is the default key it works great. However, if I then change the config and reoload the app to say _newuid we don't set that key until we manually flush the entire identity. This behavior should be:
When the application initializes we make sure a value has been set for anonymousIdentityKey and if it has no value currently we generate one. We don't need to worry about cleaning up the old ids or anything like that as we'll handle the resolution on our end but we should proactively ensure that value is being generated and not require a complete user flush to trigger it.
It should be possible for the SDK user to change the
anonymousIdentityKey
at any point during their apps lifetime. Currently, if a user goes to the app and gets say a_uid
which is the default key it works great. However, if I then change the config and reoload the app to say_newuid
we don't set that key until we manually flush the entire identity. This behavior should be:anonymousIdentityKey
and if it has no value currently we generate one. We don't need to worry about cleaning up the old ids or anything like that as we'll handle the resolution on our end but we should proactively ensure that value is being generated and not require a complete user flush to trigger it.