IdentityLogic

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun mergeAttributes(newAttributes: Map<String, Any?>, oldAttributes: Map<String, Any>, appInstalledAtString: String): MutableMap<String, Any>
Link copied to clipboard
fun sanitize(userId: String): String?

Removes white spaces and new lines

Link copied to clipboard
fun shouldGetAssignments(isLoggedIn: Boolean, neverCalledStaticConfig: Boolean, isFirstAppOpen: Boolean): Boolean

Logic to figure out whether to get assignments before firing triggers.