Repository navigation
chore: [SDK-5803] default iOS demo to the shared example app - #1825
Merged
Merged
Conversation
The demo builds as com.onesignal.example on team 99SW8E36CT with the shared default app ID. E2E overrides DEMO_BUNDLE_ID / DEMO_TEAM_ID to keep com.onesignal.sdkdemo on DL8TF3X4K3. A pre-build step creates an empty Secrets.plist so a fresh clone builds without credentials. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sherwinski
approved these changes
Nov 24, 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
Build the iOS demo as
com.onesignal.exampleon team99SW8E36CTwith the shared default app ID, and keepcom.onesignal.sdkdemofor E2E.Details
Motivation
Part of SDK-5802: every SDK demo should build out of the box against the shared example app, while E2E keeps the
com.onesignal.sdkdemo/DL8TF3X4K3identity its In House profiles are issued for.Scope
Build.xcconfigdefinesDEMO_BUNDLE_ID(com.onesignal.example) andDEMO_TEAM_ID(99SW8E36CT). The DebugDEVELOPMENT_TEAMuses the team. Developers can override both inLocal.xcconfig.project.yml: the App, NSE and widget bundle IDs are$(DEMO_BUNDLE_ID),.NSEand.LA.App.xcodeprojis regenerated.OneSignal_app_groups_key) isgroup.$(DEMO_BUNDLE_ID).onesignal.SecretsConfig.defaultAppIdis now1154c350-e715-4b71-a58b-1b84b6745baa.App/Secrets.plistwhen it's missing. Before this, a fresh clone failed with "Build input file cannot be found".e2e.ymlpassesDEMO_BUNDLE_ID=com.onesignal.sdkdemo DEMO_TEAM_ID=DL8TF3X4K3to the archive.retry-test.shdefaults tocom.onesignal.example.Release signing, the Appium In House profiles and
ExportOptions.plistare unchanged. They still apply only to the E2E bundle ID.The matching sdk-shared
run-localchange, which passes the E2E bundle ID to the native iOS build, is on sdk-shared main.Testing
Manual testing
Secrets.plist: the bundles arecom.onesignal.example,.NSEand.LA, and the App Group isgroup.com.onesignal.example.onesignal, both in the app and NSE entitlements and inOneSignal_app_groups_key.run-local.sh --platform=ios --sdk=ios --install-onlybuilt Release for the simulator ascom.onesignal.sdkdemo,.NSEand.LAwithgroup.com.onesignal.sdkdemo.onesignal, and installed it.xcodebuild -showBuildSettingsfor Release/iphoneos with the E2E overrides resolves to teamDL8TF3X4K3and theAppium Demo - Mainprofile.The default app still needs APNs credentials for
com.onesignal.examplebefore push works on that bundle ID.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code