Mobile SDK overview
Show the screens you build in the dashboard inside iOS and Android apps, drawn natively, with your app keeping the purchase.
The Mobile SDK shows the same screens as the Web SDK, inside your iOS and Android apps. A screen is the JSON you publish from the editor. The SDK reads it and draws it with the system's own views: SwiftUI on iOS and Jetpack Compose on Android. There is no web view, and a screen looks the same as in the editor preview.
It only renders. Prices and checkout stay in your app, matched to the screen by package ID, exactly as on the web. Miniwall never charges (D-109).
Platforms
| Platform | Package | Requires |
|---|---|---|
| iOS | MiniwallSDK (Swift Package Manager or CocoaPods) | iOS 16 or later, Swift 5.9 |
| Android | com.miniwall:sdk (Maven Central) | Android 7.0 (API 24) or later |
| React Native | @miniwall/react-native (npm) | React Native 0.74 or later, a development build |
| Flutter | miniwall_flutter (pub.dev) | Flutter 3.22 or later |
React Native and Flutter are thin layers over the two native SDKs, so a screen looks and behaves the same on every platform.
The same as the Web SDK
Everything you set up in the dashboard applies on a phone too: placements, A/B tests, schedules, audiences, holdout and frequency cap, questions and flows, variables and localization. Change a screen and publish it, and apps pick it up without an App Store or Play Store release.
What is different on a phone
| Web | Mobile |
|---|---|
| Allowed websites checks the page's origin. | Not applied: apps send no origin. The public key (pk_...) is the only credential, and it can only read published screens and send events. |
| Triggers: page load, delay, scroll, exit intent. | Triggers: app open, delay, event. See Auto placements. |
| The screen opens as a popup, full screen, banner, slide-in, toast, drawer or launcher. | The display maps to a full-screen cover, a sheet, a banner or a toast. See Display modes. |
onClose and onSkip callbacks. | The result of present carries closed and skipped. |
| Cookie banner and CSP. | App Store privacy answers instead. See Events and privacy. |
| Fonts from web font files. | TrueType files for the fonts in the Miniwall catalog. See Platform notes. |