Skip to content

Commit

Permalink
Merge pull request #11 from slawomirzaba/fix-passing-targeting-params…
Browse files Browse the repository at this point in the history
…-on-android

Fix passing targeting params on android
  • Loading branch information
andresilveirah authored Dec 12, 2024
2 parents f6885ee + ff251c6 commit ff99531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data class SPCampaign(
val rawTargetingParam: ReadableMap?,
val supportLegacyUSPString: Boolean
) {
val targetingParams = rawTargetingParam?.toHashMap()?.map { TargetingParam(it.key, it.toString()) } ?: emptyList()
val targetingParams = rawTargetingParam?.toHashMap()?.map { TargetingParam(it.key, it.value.toString()) } ?: emptyList()
}

data class SPCampaigns(
Expand Down

0 comments on commit ff99531

Please sign in to comment.