OiO.lk Blog Android Persist Custom Profile Attributes Across User Logins/App Reinstallations in Mesibo
Android

Persist Custom Profile Attributes Across User Logins/App Reinstallations in Mesibo


I’m developing archive, mute, and pin features for my messenger app using the Mesibo Android Kotlin SDK. However, I’ve noticed that these settings don’t persist between login and logout cycles. Is there a way to make Mesibo retain these custom values across sessions?

profile?.apply {
// Toggle mute status
val newMuteStatus = !getBoolean("muted", false)
setBoolean("muted", newMuteStatus)

// Toggle archive status
val archiveStatus = !getBoolean("archived", false)
setBoolean("archived", newMuteStatus)
save()



You need to sign in to view this answers

Exit mobile version