-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MOB-10624] add anonymous user id to keychain #868
[MOB-10624] add anonymous user id to keychain #868
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the failure handleer
private boolean encryptionEnforced = false; | ||
private boolean enableAnonActivation = false; | ||
private boolean enableEmbeddedMessaging = false; | ||
private int eventThresholdLimit = 100; | ||
private IterableIdentityResolution identityResolution = new IterableIdentityResolution(); | ||
private IterableAnonUserHandler iterableAnonUserHandler; | ||
private IterableDecryptionFailureHandler decryptionFailureHandler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a duplicate. See line 157. I added two by accident in the merge conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right i didnt notice the one on top my bad
]
@@ -357,6 +355,8 @@ public Builder setEnableEmbeddedMessaging(boolean enableEmbeddedMessaging) { | |||
|
|||
public Builder setIdentityResolution(IterableIdentityResolution identityResolution) { | |||
this.identityResolution = identityResolution; | |||
return this; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it necessary to return this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I am just following the other config values. It was deleted when resolving the merge conflicts for some reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense if other config values are also doing it
} else { | ||
IterableLogger.w(TAG, "No anon user ID found to migrate.") | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since there was no KEY_ANON_USER_ID stored in encrypted shared prefs before we dont need to migrate it either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm good point I will remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
🔹 Jira Ticket(s) if any
✏️ Description