Skip to content

Commit

Permalink
_message_suppressedでremote configをignoreする処理を再度追加 (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
tikidunpon authored Sep 19, 2024
1 parent ee88fb5 commit 6896c8b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ class InAppMessaging : Library, ActionModule, UserModule, TrackModule, ActivityL
val action = message.getJSONObject("action")
val campaignId = action.getString("campaign_id")
val shortenId = action.getString("shorten_id")
val campaign = message.getJSONObject("campaign")
val serviceActionType = campaign.getString("service_action_type")
if (serviceActionType == "remote_config") {
return
}
val values = mapOf("reason" to reason)
Tracker.track(MessageEvent(MessageEventType.Suppressed, campaignId, shortenId, values))
} catch (e: JSONException) {
Expand Down

0 comments on commit 6896c8b

Please sign in to comment.