Local Offer
The Local Offer DPApp provides location-based deals and discounts, allowing users to discover, browse, and redeem exclusive local offers, dining deals, and lifestyle experiences directly within your host app.
Prerequisites
- A registered
clientIdfrom the DP Platform — contact us to get one - The
localOfferappId configured under your client - DP Hybrid SDK integrated into your host app
iOS
Swift
// From any UIViewController
DPSDK.open(appId: "localOffer", from: self)
Android
Kotlin
// From any Activity or Fragment
DPSDK.getDPApp("localOffer").open(this)
Reference
- Getting Started — SDK installation & initialization
- Connect — SSO setup
- Custom Events System — Handle DPApp events
- Error Codes — Error code reference