Does this logic work?
if (maybeCurrentAppUserID != nil && maybeAppUserID != nil) && maybeAppUserID != maybeCurrentAppUserID { return }
We don't know! Currently maybeCurrentAppUserID is optional, but we should change that (tracked in #731) , then it becomes a question of:
Is it harmful/helpful/no-op to run
deviceCache.cache(appUserID: appUserID)
deviceCache.cleanupSubscriberAttributes()
If there is no change in appUserID?
Does this logic work?
if (maybeCurrentAppUserID != nil && maybeAppUserID != nil) && maybeAppUserID != maybeCurrentAppUserID { return }We don't know! Currently
maybeCurrentAppUserIDis optional, but we should change that (tracked in #731) , then it becomes a question of:Is it harmful/helpful/no-op to run
If there is no change in
appUserID?