Skip to content

chore: [SDK-5592] sign demos with enterprise team and follow new demo spec - #83

Merged
fadi-george merged 3 commits into
mainfrom
fadi/SDK-5592
Nov 17, 2026
Merged

fadi-george merged 3 commits into
mainfrom
fadi/SDK-5592

Conversation

@fadi-george

Copy link
Copy Markdown
Contributor

Description

One Line Summary

Sign the Capacitor demos with the OneSignal, Inc. Enterprise team under com.onesignal.sdkdemo, and update the demo UI to the new sdk-shared spec (button grid, top-anchored dialogs, shorter labels).

Details

Motivation

BrowserStack real devices can't install development-signed builds without registering each device, so iOS push and notification Appium specs are skipped there. The Enterprise team's in-house cert and In House profiles install on any device. The demo UI changes follow the sdk-shared demo/build.md and styles.md updates, so all SDK demos keep the same layout and Appium sees stable element frames.

Scope

Signing (all four demos: demo, demo_cap7, demo_pods, demo-no-location)

  • Bundle IDs com.onesignal.example* -> com.onesignal.sdkdemo*, App Group group.com.onesignal.sdkdemo.onesignal
  • Team DL8TF3X4K3
  • demo Release: iPhone Distribution identity, ExportOptions.plist method enterprise with the "Appium Demo - *" In House profiles
  • build.md and demo/README.md updated

Demo UI (examples/demo/src)

  • ButtonGrid: two columns, an odd last button spans both, hidden buttons reflow. Used by User, Send Push, Send IAM, Aliases, Tags, Triggers, Location and Live Activities
  • Dialogs are top-anchored below the safe area, bounded to the screen height, and the textarea has a max height, so they don't move when the keyboard opens and never overflow
  • Labels: ADD TAGS / ADD ALIASES / ADD TRIGGERS, CLEAR ALL (triggers), CHECK LOCATION, START ACTIVITY / END ACTIVITY
  • The Live Activity UPDATE label replaces every underscore (ON THE WAY, not ON THE_WAY)

Not changed: e2e.yml. It uses sdk-shared setup-ios-demo-codesigning, which now defaults to the sdkdemo IDs and IOS_APP_INHOUSE. Accessibility IDs are unchanged, so Appium specs need no updates.

Dependencies

iOS e2e will fail until the APPIUM_* GitHub secrets (p12, password, App Store Connect key) are updated to the Enterprise team. Related: OneSignal/OneSignal-iOS-SDK#1810.

Testing

Manual testing

  • vp check (lint, format, types) and vp build pass
  • demo Release device build signs with iPhone Distribution: OneSignal, Inc. and the In House profiles
  • demo Debug build on an iOS 26.5 simulator: checked each grid section, the odd-count span, the Live Activity labels, and the Send Outcome dialog clearing the Dynamic Island
  • Appium not yet run against the Capacitor demo

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
  • 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

fadi-george and others added 2 commits November 16, 2026 18:28
Move the Capacitor demos to the OneSignal, Inc. Enterprise team
(DL8TF3X4K3) and rename identifiers from com.onesignal.example to
com.onesignal.sdkdemo (app, NSE, LA, App Group). The demo's Release build
signs with the in-house distribution identity and exports with method
enterprise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow the updated sdk-shared demo spec:
- ButtonGrid (two columns, odd last button spans both) for every section
  with two or more buttons, replacing the IAM-only grid
- dialogs top-anchored below the safe area and bounded to the screen
  height so they don't move with the keyboard or overflow
- ADD TAGS/ALIASES/TRIGGERS, CLEAR ALL (triggers), CHECK LOCATION and
  START/END ACTIVITY labels
- UPDATE label replaces every underscore (ON THE WAY, not ON THE_WAY)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george requested a review from a team November 17, 2026 19:02

@abdulraqeeb33 abdulraqeeb33 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The signing ids, the three Appium profiles, the button grid, and replaceAll in demo match the description.

examples/demo_pods still uses replace on the Live Activity label, so on_the_way renders ON THE_WAY. examples/build.md still says that tree's TypeScript stays in sync with demo.

The sample config comment still says Android overrides the iOS bundle id. Both are com.onesignal.sdkdemo now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george

Copy link
Copy Markdown
Contributor Author

Thanks! Switched demo_pods to replaceAll, updated build.md to say demo_pods may lag behind demo, and dropped the stale Android override comment.

@fadi-george
fadi-george merged commit 6205eff into main Nov 17, 2026
2 checks passed
@fadi-george
fadi-george deleted the fadi/SDK-5592 branch November 17, 2026 19:41
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