Skip to content

Commit

Permalink
Merge pull request #292 from PermanentOrg/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
flaviuvsp authored Aug 19, 2024
2 parents 72921a3 + 45e8a93 commit 63b7bbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {
applicationId "org.permanent.PermanentArchive"
minSdkVersion 26
targetSdkVersion 34
versionCode 67
versionName "1.9.1"
versionCode 68
versionName "1.9.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/java/org/permanent/permanent/EventsManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ class EventsManager(context: Context) {
mp.track(event.value, properties)
}

fun setUserProfile(id: Int? = null, email: String? = null) {
fun setUserProfile(id: Int? = null, userEmail: String? = null) {
id?.let {
mp.identify(it.toString())
}
email?.let {
mp.people.set("email", email)
userEmail?.let {
mp.people.set("\$email", userEmail)
}
}

Expand Down

0 comments on commit 63b7bbc

Please sign in to comment.