We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78a4eb commit 559f15aCopy full SHA for 559f15a
swift-sdk/Internal/in-app/InAppMessageParser.swift
@@ -81,6 +81,7 @@ struct InAppMessageParser {
81
return .failure(.parseFailed(reason: "no messageId", messageId: nil))
82
}
83
84
+ // Check if the jsonOnly key is present and is set to 1 (true)
85
let jsonOnly = (json[JsonKey.InApp.jsonOnly] as? Int ?? 0) == 1
86
var customPayload = parseCustomPayload(fromPayload: json)
87
0 commit comments