File tree Expand file tree Collapse file tree
app/src/main/java/com/onesignal/sdktest/data/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ enum class InAppMessageType(
1717 val icon : ImageVector
1818) {
1919 TOP_BANNER (
20- title = " Top Banner " ,
20+ title = " TOP BANNER " ,
2121 triggerKey = " iam_type" ,
2222 triggerValue = " top_banner" ,
2323 icon = Icons .Filled .VerticalAlignTop
2424 ),
2525 BOTTOM_BANNER (
26- title = " Bottom Banner " ,
26+ title = " BOTTOM BANNER " ,
2727 triggerKey = " iam_type" ,
2828 triggerValue = " bottom_banner" ,
2929 icon = Icons .Filled .VerticalAlignBottom
3030 ),
3131 CENTER_MODAL (
32- title = " Center Modal " ,
32+ title = " CENTER MODAL " ,
3333 triggerKey = " iam_type" ,
3434 triggerValue = " center_modal" ,
3535 icon = Icons .Filled .CropSquare
3636 ),
3737 FULL_SCREEN (
38- title = " Full Screen " ,
38+ title = " FULL SCREEN " ,
3939 triggerKey = " iam_type" ,
4040 triggerValue = " full_screen" ,
4141 icon = Icons .Filled .Fullscreen
Original file line number Diff line number Diff line change @@ -236,18 +236,18 @@ In-App Messaging Section (placed right after Send Push):
236236Send In-App Message Section (placed right after In-App Messaging):
237237- Section title: "Send In-App Message" with info icon for tooltip
238238- Four FULL-WIDTH buttons (not a grid):
239- 1. TOP BANNER - VerticalAlignTop icon, trigger: "iam_key " = "top_banner"
240- 2. BOTTOM BANNER - VerticalAlignBottom icon, trigger: "iam_key " = "bottom_banner"
241- 3. CENTER MODAL - CropSquare icon, trigger: "iam_key " = "center_modal"
242- 4. FULL SCREEN - Fullscreen icon, trigger: "iam_key " = "full_screen"
239+ 1. TOP BANNER - VerticalAlignTop icon, trigger: "iam_type " = "top_banner"
240+ 2. BOTTOM BANNER - VerticalAlignBottom icon, trigger: "iam_type " = "bottom_banner"
241+ 3. CENTER MODAL - CropSquare icon, trigger: "iam_type " = "center_modal"
242+ 4. FULL SCREEN - Fullscreen icon, trigger: "iam_type " = "full_screen"
243243- Button styling:
244244 - RED background color (#E9444E)
245245 - WHITE text
246246 - Type-specific icon on LEFT side only (no right side icon)
247247 - Full width of the card
248248 - Left-aligned text and icon content (not centered)
249249 - UPPERCASE button text
250- - On click: adds trigger "iam_key " with the type's value and shows toast "Sent In-App Message: {type}"
250+ - On click: adds trigger "iam_type " with the type's value and shows toast "Sent In-App Message: {type}"
251251
252252Tooltip should explain each IAM type.
253253```
You can’t perform that action at this time.
0 commit comments