diff --git a/android/nativebrik/src/main/java/com/nativebrik/sdk/data/user/user.kt b/android/nativebrik/src/main/java/com/nativebrik/sdk/data/user/user.kt index c61be8c..15f6d3c 100644 --- a/android/nativebrik/src/main/java/com/nativebrik/sdk/data/user/user.kt +++ b/android/nativebrik/src/main/java/com/nativebrik/sdk/data/user/user.kt @@ -103,6 +103,12 @@ class NativebrikUser { this.comeBack() } + fun set(props: Map) { + props.forEach { (key, value) -> + this.properties[key] = value + } + } + fun comeBack() { val now = getCurrentDate() val lastBootTime = getCurrentDate()