Skip to content

chore: Updating the example app#2543

Merged
fadi-george merged 51 commits intomainfrom
samplev2
Feb 13, 2026
Merged

chore: Updating the example app#2543
fadi-george merged 51 commits intomainfrom
samplev2

Conversation

@abdulraqeeb33
Copy link
Contributor

@abdulraqeeb33 abdulraqeeb33 commented Feb 4, 2026

Description

One Line Summary

  • updates sample app to have more modern compose ui and logic

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
    • If it is hard to explain how any codes changes are related to each other then it most likely needs to be more than one PR
  • 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
  • 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.
    • Simplify with less code, followed by splitting up code into well named functions and variables, followed by adding comments to the code.
  • I have reviewed this PR myself, ensuring it meets each checklist item
    • WIP (Work In Progress) is ok, but explain what is still in progress and what you would like feedback on. Start the PR title with "WIP" to indicate this.

This change is Reviewable

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

📊 Diff Coverage Report

✓ Coverage check passed (no source files changed)

📥 View workflow run

@abdulraqeeb33 abdulraqeeb33 changed the title example app chore: example app Feb 10, 2026
@abdulraqeeb33 abdulraqeeb33 changed the title chore: example app chore: Updating the example app Feb 10, 2026
fadi-george and others added 14 commits February 11, 2026 15:59
- dont need remove all aliases button
- Resolved conflicts keeping Jetpack Compose UI
- Added batch operations to Repository: addAliases, addTags, addTriggers
- Added batch operations to ViewModel: removeSelectedAliases/Tags/Triggers
- Fixed trackEvent signature to use Map<String, Any?>?
- Removed unused XML layouts (using Compose dialogs instead)

Co-authored-by: Cursor <[email protected]>
- Add MultiPairInputDialog for adding multiple aliases/tags/triggers
- Add MultiSelectRemoveDialog for removing selected items
- Update AliasesSection, TagsSection, TriggersSection with batch buttons
- Wire up batch dialogs in MainScreen

Co-authored-by: Cursor <[email protected]>
- Use known working image URLs (from V1 sample app)
- Add large_icon support to NotificationType
- Update Accept header to match V1 format
- Add better logging for debugging API calls

Co-authored-by: Cursor <[email protected]>
- Add Material icons to InAppMessageType (VerticalAlignTop, VerticalAlignBottom, CropSquare, Fullscreen)
- Update SendInAppMessageSection to show type-specific icons
- Improve sendInAppMessage toast to show "Sent In-App Message: Top Banner" etc
- Update triggers list when sending IAM

Co-authored-by: Cursor <[email protected]>
- Update project foundation to reflect Compose UI
- Add batch operations documentation (addAliases, addTags, etc.)
- Add REST API key requirement for notifications
- Update section descriptions with new batch buttons
- Add Track Event JSON validation details
- Add Send IAM icons documentation
- Update file structure for Compose architecture
- Add Phase 8: Jetpack Compose Architecture section
- Document reusable components, theme, and toast messages

Co-authored-by: Cursor <[email protected]>
@fadi-george
Copy link
Contributor

Should squash and maybe also delete old example

@nan-li
Copy link
Contributor

nan-li commented Feb 12, 2026

we should keep the old one unless the new one is already hooked up into the SDK

@fadi-george fadi-george force-pushed the samplev2 branch 2 times, most recently from 72f1d79 to 2025b53 Compare February 13, 2026 07:20
@fadi-george fadi-george marked this pull request as ready for review February 13, 2026 20:12
@fadi-george fadi-george merged commit 9d2b4b7 into main Feb 13, 2026
6 checks passed
@fadi-george fadi-george deleted the samplev2 branch February 13, 2026 20:12
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.

3 participants