@@ -13,13 +13,19 @@ Before building anything, an Android emulator MUST be running with the
1313reference OneSignal demo app installed. These screenshots are the source
1414of truth for the UI you are building. Do NOT proceed to Phase 1 without them.
1515
16- Check for a connected emulator :
16+ Check for connected emulators :
1717 adb devices
1818
1919If no device is listed, stop and ask the user to start one.
2020
21+ Identify which emulator has com.onesignal.sdktest installed by checking each listed device, e.g.:
22+ adb -s emulator-5554 shell pm list packages 2>/dev/null | grep -i onesignal
23+ adb -s emulator-5556 shell pm list packages 2>/dev/null | grep -i onesignal
24+
25+ Use that emulator's serial (e.g. emulator-5556) for all subsequent adb commands via the -s flag.
26+
2127Launch the reference app:
22- adb shell am start -n com.onesignal.sdktest/.ui.main.MainActivity
28+ adb -s <emulator-serial> shell am start -n com.onesignal.sdktest/.ui.main.MainActivity
2329
2430Dismiss any in-app messages that appear on launch. Tap the X or
2531click-through button on each IAM until the main UI is fully visible
@@ -92,6 +98,8 @@ Build the app with:
9298- Clean architecture: repository pattern with ChangeNotifier-based state management (Provider)
9399- Dart 3+ with null safety
94100- Material 3 theming with OneSignal brand colors
101+ - App name: "OneSignal Demo"
102+ - Top app bar: centered title with OneSignal logo SVG + "Sample App" text (use centerTitle: true on AppBar)
95103- Support for both Android and iOS
96104- Android package name: com.onesignal.example
97105- iOS bundle identifier: com.onesignal.example
0 commit comments