Android SDK
Show Zigpoll surveys inside your Android app. The SDK presents surveys in a native bottom sheet — you decide exactly when a survey appears by triggering it from code.
Requirements
Android 7.0 (API 24) or later
Kotlin or Java
Installation
The SDK is distributed via JitPack. Add the repository in settings.gradle:
dependencyResolutionManagement {
repositories {
maven { url 'https://jitpack.io' }
}
}Then add the dependency in your module's build.gradle:
dependencies {
implementation 'com.github.zigpoll:zigpoll-android:master-SNAPSHOT'
}Set up your survey
In the Zigpoll dashboard, create a survey.
Set the survey's delivery type to API (Delivery Settings → API).
Copy the survey ID from the survey's install section.
Configure the SDK
In your Application subclass:
Identify the user (recommended)
Call Zigpoll.logout() when the user signs out.
Trigger a survey
The survey appears in a bottom sheet. Responses are recorded question by question, so partial responses are captured even if the user dismisses the sheet mid-survey.
Metadata
The SDK automatically includes source=mobile-sdk, platform=android, the SDK version, and your app version.
Callbacks
Development builds
With preview = true, surveys open and behave normally but responses are not billed or counted in your analytics.
Last updated
Was this helpful?

