Repository navigation
chore: [SDK-5806] default demos to the shared example app - #2024
Merged
Merged
Conversation
Demos build com.onesignal.example (team 99SW8E36CT) with the shared OneSignal app by default; e2e overrides back to com.onesignal.sdkdemo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sherwinski
approved these changes
Nov 24, 2026
Merged
6 of 18 tasks
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
React Native demos build and run against the shared OneSignal example app out of the box, while e2e keeps using
com.onesignal.sdkdemo.Details
Motivation
com.onesignal.sdkdemois registered to the enterprise team (DL8TF3X4K3), so nobody outside it can sign the demo, and a bundle ID can only belong to one team. The demos also failed to bundle without an app ID in.env. Same pattern as the Capacitor pilot (OneSignal/OneSignal-Capacitor-SDK#89).Scope
com.onesignal.exampleon team99SW8E36CT, AndroidapplicationIdcom.onesignal.example, app ID1154c350-e715-4b71-a58b-1b84b6745baa. An emptyONESIGNAL_APP_IDnow uses the default; themetro.config.jscheck that failed the bundle is removed.examples/demoandexamples/demo-pods:DEMO_BUNDLE_ID/DEMO_TEAM_IDfromios/demo.xcconfig(project-level base config), with an optional gitignoredios/local.xcconfigoverride. Extension (.NSE,.LA) and app group IDs derive fromDEMO_BUNDLE_ID.demoonly) reads-PDEMO_BUNDLE_ID, defaultcom.onesignal.example.e2e.ymlpassesDEMO_BUNDLE_ID=com.onesignal.sdkdemo DEMO_TEAM_ID=DL8TF3X4K3to xcodebuild and-PDEMO_BUNDLE_ID=com.onesignal.sdkdemoto Gradle, so the e2e app, profiles andgoogle-services.jsonare unchanged. sdk-sharedrun-localpasses the same overrides for React Native (OneSignal/sdk-shared@d2feac3).demo-no-location: not built by e2e, so the new IDs, team and app ID are set directly.namespace/ Kotlin packages,ExportOptions.plist, and the enterprise release profiles.Follow-ups
com.onesignal.example.Testing
Manual testing
xcodebuild -showBuildSettingsindemoanddemo-podsresolvescom.onesignal.example(+.NSE,.LA) on99SW8E36CTby default, andcom.onesignal.sdkdemoonDL8TF3X4K3with the e2e overrides.applicationIdcom.onesignal.exampleby default,com.onesignal.sdkdemowith-PDEMO_BUNDLE_ID, and falls back to the default when blank.vp testpasses;vp checkpasses except for tsconfig errors in demos whose deps weren't installed locally.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code