Repository navigation
chore: [SDK-5809] default Expo demos to the shared example app - #332
Merged
Merged
Conversation
Demos build com.onesignal.example (team 99SW8E36CT) with the shared OneSignal app by default; e2e sets DEMO_BUNDLE_ID/DEMO_TEAM_ID back to com.onesignal.sdkdemo on the enterprise team. 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
Expo 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 demo also failed prebuild without an app ID in.env. Same pattern as the Capacitor pilot (OneSignal/OneSignal-Capacitor-SDK#89) and React Native (OneSignal/react-native-onesignal#2024).Scope
com.onesignal.exampleon team99SW8E36CT, Android packagecom.onesignal.example, app ID1154c350-e715-4b71-a58b-1b84b6745baa. An emptyEXPO_PUBLIC_ONESIGNAL_APP_IDnow uses the default; theapp.config.tscheck that failed prebuild is removed.examples/demo:app.config.tsreadsDEMO_BUNDLE_ID/DEMO_TEAM_ID(env or.env) forbundleIdentifier,appleTeamIdandpackage, since prebuild regenerates the native projects. The NSE, widget and app group IDs derive from the bundle ID.e2e.ymlsetsDEMO_BUNDLE_ID=com.onesignal.sdkdemoon both build jobs andDEMO_TEAM_ID=DL8TF3X4K3on iOS, so the e2e app, profiles andgoogle-services.jsonare unchanged. sdk-sharedrun-localdoes the same (OneSignal/sdk-shared@e529fc6).demo-no-location,disable-nse,expo-notif: not built by e2e, so the new IDs, team and app ID are set directly. The "set your app ID" placeholder guards are removed.ExportOptions.plistand the enterprise release profiles.Follow-ups
com.onesignal.example.Testing
Manual testing
expo configinexamples/demoresolvescom.onesignal.example/99SW8E36CTand app groupgroup.com.onesignal.example.onesignalby default, andcom.onesignal.sdkdemo/DL8TF3X4K3with the e2e env.vp testpasses.vp checkhas no format or lint issues from this change; the remaining type errors come from example apps whose dependencies weren't installed locally.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code