Skip to content

chore: [SDK-5640] add extra IAM type buttons to demo app - #214

Merged
fadi-george merged 1 commit into
mainfrom
fadi/sdk-5640
Oct 30, 2026
Merged

fadi-george merged 1 commit into
mainfrom
fadi/sdk-5640

Conversation

@fadi-george

@fadi-george fadi-george commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

One Line Summary

Adds HTML, Full Bleed, Carousel, and Carousel Bleed IAM buttons to the demo app and lays out all 8 in a 2-column grid.

iOS Android

Details

Motivation

Lets us test the extra IAM layouts from the demo app. Follows the shared spec update in OneSignal/sdk-shared#66 and matches iOS (OneSignal/OneSignal-iOS-SDK#1787).

Scope

  • Labels are now Top, Bottom, Center, HTML, Full, Full Bleed, Carousel, Carousel Bleed (uppercased). Existing iam_type values and test IDs (send_iam_{type}_button) are unchanged.
  • InAppMessageType: 4 new values. Log names stay long ("Top Banner").
  • SendIamSection.xaml: 2-column Grid, row and column spacing 8. Grid buttons use a local style on PrimaryButtonStyle with FontSize=13, Padding=8,0, LineBreakMode=NoWrap (MAUI buttons can't auto-shrink). Other buttons are unchanged.
  • Demo app only. No SDK changes.

Testing

Unit testing

None needed, demo UI only.

Manual testing

Ran csharpier check . and dotnet build -f net10.0-android (Debug and Release). Checked the grid on an Android 16 emulator. iOS not built.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed (demo app UI only)
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george requested a review from a team as a code owner October 30, 2026 18:43
@fadi-george
fadi-george merged commit dd5e42e into main Oct 30, 2026
5 checks passed
@fadi-george
fadi-george deleted the fadi/sdk-5640 branch October 30, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants