App SDK (iOS & Android)
Reconstructed from internal integration threads (the Mindbody app integration), not an official SDK reference. Verify every detail against the current iOS/Android SDK release docs before publishing. Owner TBD — the original author (Aryan) has departed; the source of record is the Mindbody integration materials + the mobile SDK release notes.
Disco's native iOS and Android App SDK displays DiscoOffers inside mobile apps — on post-purchase / post-booking surfaces and in an in-app drawer format. The SDKs are versioned and ship with your app's release cycle.
Placement & data model
The App SDK uses the same attribute setup as the Web SDK — see the Web SDK loadWidget() field reference (email, order, purchases, etc.) for the shared model. Two app-specific notes:
placement_details.view—THANK_YOU(post-purchase) orORDER_STATUS(e.g., a post-booking / order-status surface).placement— set todrawerat SDK execution to render the in-app drawer format.
Events & callbacks
The SDK emits events through a global event handler (impression, click, etc.) so the host app can respond.
Capabilities (from integration history)
- Inline Terms & Conditions rendering (iOS SDK v1.0.9+).
- Additional targeting attributes in progress —
order_recency,order_frequency,segment— rolling out across iOS + Android.
Distribution
- Native SDKs, versioned; updates ship with the host app's release cycle.
- iOS: a TestFlight build is shared for UAT before publishing a version update.
Related
- Web SDK — the web integration + shared field model.