Examples
Examples
Section titled “Examples”This repository includes native demo applications. There is no checked-in public web demo in the repository, so this site does not publish a /demo/ experience today.
Android example app
Section titled “Android example app”Path:
example-android/What it demonstrates:
- consuming the published Android package
com.deepdots.sdk:shared-android:0.3.0 - initialization with a
publicKey - user metadata through
metadata = mapOf("userId" to userId) - path updates for
/login,/home, and detail routes - event listeners for popup lifecycle events
- manual triggering of a popup
- event-driven and scroll-driven flows in the demo UI
Android local example app
Section titled “Android local example app”Path:
example-android-local/What it demonstrates:
- consuming the local
:sharedmodule directly during repository development - validating SDK behavior without relying on the published Android artifact
iOS example app
Section titled “iOS example app”Path:
iosApp/What it demonstrates:
- initialization from Swift
- attaching
PlatformContextfrom a root view controller - navigation-driven path updates
- scroll percentage reporting via
onScroll - custom event triggering
- binary Swift Package consumption through
DeepdotsSDK
Recommended validation flow for stakeholders
Section titled “Recommended validation flow for stakeholders”- Use the Android or iOS demo app to validate timing, UX placement, and event behavior.
- Confirm path naming with the screens used in the production host app.
- Verify popup lifecycle events against analytics expectations.
- Confirm the popups configured in Deepdots load and behave as expected in the app.
Public demo status
Section titled “Public demo status”- Public web demo currently available in this repository: none
- Native example apps available for internal validation: yes