Repository navigation
chore: [SDK-5635] add extra IAM type buttons to demo apps - #1196
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sherwinski
approved these changes
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
One Line Summary
Adds HTML, Full Bleed, Carousel, and Carousel Bleed IAM buttons to the demo apps (
demo,demo-fm,demo-pods) and lays out all 8 in a 2-column grid.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
iam_typevalues and test IDs (send_iam_{type}_button) are unchanged.InAppMessageType: 4 new entries in grid order.SendIamSection: rows of 2, gaps useAppSpacing.gap.PrimaryButton: label wrapped inFittedBox(scaleDown)so long labels shrink instead of overflowing (labels that fit are unchanged), plus an optionalpaddingparam used only by the IAM grid.demo-pods: drops the per-button IAM icons to matchdemoand the spec.Testing
Unit testing
None needed, demo UI only.
Manual testing
Ran
flutter analyze(no new issues) andflutter testin demo-pods. Checked the grid indemoon an iOS 27 simulator.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code