Repository navigation
chore: [SDK-5593] sign demos with enterprise team and sdkdemo IDs - #916
Conversation
- iOS bundle ID com.onesignal.sdkdemo (NSE/LA and the app group derive from it) and team DL8TF3X4K3. - CI manual signing uses the in-house iPhone Distribution cert and ExportOptions uses enterprise, so BrowserStack can install the IPA without re-signing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- SectionBuilder.CreateButtonGrid: a flex-wrap row where buttons grow from a 40% basis, so an odd last button spans and display:none buttons reflow. Used by every multi-button section, replacing the IAM rows. - Dialogs anchor below the real safe-area inset instead of a fixed 80px; the dropdown keeps its anchored position. - Shorter labels (ADD TAGS/ALIASES/TRIGGERS, CLEAR ALL, START/END ACTIVITY, CHECK LOCATION); buttons drop Unity's default side margins so they line up with cards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI installed the latest CSharpier (1.4.0), whose formatting differs from the 1.3.0 the repo is formatted with, failing the check on unchanged files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
abdulraqeeb33
left a comment
There was a problem hiding this comment.
The team, bundle IDs, and profile names match the enterprise demo (DL8TF3X4K3, com.onesignal.sdkdemo, Appium Demo - Main / NSE / Live Activity). Two signing holes will fail the device archive once the Enterprise API 401 is fixed.
-
SigningPostProcessor still writes aps-environment=development on every build, including CI (ApsEnvironment, line 24). Export is now enterprise with iPhone Distribution and In House profile Appium Demo - Main. That profile only grants production APNs. The .NET demo sets production for this same profile. Keep development for local automatic signing, and write production when IsCiBuild() is true. BuildiOSDevice still says the development value is what lets those profiles sign.
-
The distribution identity is only applied to Unity-iPhone, the NSE, and the widget. UnityFramework is in the Unity-iPhone scheme and is not updated. The archive command line forces CODE_SIGN_STYLE=Manual for every target and does not set an identity, so the framework keeps Unity's development identity. The cert setup-ios-demo-codesigning installs is the in-house distribution p12. Set iPhone Distribution and DL8TF3X4K3 on the framework for CI, and leave its provisioning profile empty.
Nit: the demo README calls com.onesignal.sdkdemo the app ID. In that file the app ID is ONESIGNAL_APP_ID. Say bundle ID.
CI builds now write aps-environment=production, and the archive pins the distribution identity and team for every target, including UnityFramework and Pods. The IPA check requires production. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@abdulraqeeb33 Thanks, addressed in faae2f8. CI now writes aps-environment=production (local stays development) and the IPA check requires it. The archive pins iPhone Distribution and DL8TF3X4K3 for every target, which covers UnityFramework and Pods. README says bundle ID now. The archive can't be verified until the Enterprise API 401 is fixed. |
Description
One Line Summary
Sign the iOS demos with the OneSignal Enterprise team and
com.onesignal.sdkdemoIDs, and align the demo UI with the shared build.md (button grid, safe-area dialogs, shorter labels).Details
Motivation
BrowserStack needs an In House signed IPA it can install without re-signing (
resignApp: false) so push entitlements survive and the iOS push E2E tests run on real devices. The UI changes match the shared demo spec and the other wrapper demos.Scope
demo,demo-no-location: iOS bundle IDcom.onesignal.sdkdemo(NSE/LA suffixes and the app group derive from it). Android was alreadycom.onesignal.sdkdemo.SigningPostProcessor: teamDL8TF3X4K3; CI-only manual signing usesiPhone Distributionwith theAppium Demo - Main / NSE / Live ActivityIn House profiles. Local builds keep Xcode auto-signing.iOS/ExportOptions.plist: methodenterprise, teamDL8TF3X4K3, sdkdemo profile keys.SectionBuilder.CreateButtonGrid: a flex-wrap container; a USS rule makes its buttons grow from a 40% basis, so an odd last button spans anddisplay: nonebuttons drop out of layout. Used by every multi-button section; replaces the manual IAM rows.DialogBase: dialogs sit below the real safe-area inset (container keeps its 24px margin) instead of a fixed 80px; the language dropdown keeps its anchored position.Testing
Manual testing
Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code