Skip to content

Commit

Permalink
fix: analytics (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomokisun authored Aug 28, 2024
1 parent acaee47 commit 119cbdf
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 88 deletions.
2 changes: 1 addition & 1 deletion App/TapMatch/Multiplatform/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Staging"
"value" : "TapMatch"
}
},
"es" : {
Expand Down
2 changes: 1 addition & 1 deletion App/Trinket/Multiplatform/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "\"Allow\" to see your optimized ads"
"value" : "Allow to see your optimized ads"
}
},
"es" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ import AnalyticsClient
public extension UserPropertyKeys {
var id: String { "id" }
var gender: String { "gender" }
var username: String { "username" }
var onboardCompleted: String { "onboard_completed" }
}
1 change: 0 additions & 1 deletion Packages/MatchCore/Sources/AppLogic/AuthLogic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public struct AuthLogic {

analytics.setUserProperty(key: \.id, value: user.id)
analytics.setUserProperty(key: \.gender, value: user.gender.rawValue)
analytics.setUserProperty(key: \.username, value: user.berealUsername)

appsFlyer.customerUserID(user.id)
appsFlyer.waitForATTUserAuthorization(60)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"sourceLanguage" : "en",
"strings" : {
"%@ for %@" : {
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
Expand Down Expand Up @@ -695,6 +696,7 @@
}
},
"when they use your invitation code you get" : {
"extractionState" : "stale",
"localizations" : {
"es" : {
"stringUnit" : {
Expand Down
Loading

0 comments on commit 119cbdf

Please sign in to comment.