Mobile SDKs
Android Native SDK (Kotlin / Java)
Native Android library for client-side PII masking, biometric Section 9 age-gating, and offline consent caching.
implementation 'in.dpdpashield:shield-android:2.4.0'
View Android SDK on GitHubInitialize in Application Class
kotlinclass App : Application() {
override fun onCreate() {
super.onCreate()
DpdpaShield.initialize(
context = this,
tenantId = "tenant_in_882",
enforceAgeGating = true
)
}
}Present Verifiable Parental Consent Flow
kotlinDpdpaShield.presentAgeGate(activity) { result ->
when (result) {
is AgeGateResult.Adult -> proceedWithOnboarding()
is AgeGateResult.Minor -> {
// Triggers DigiLocker VPC flow and disables AdMob/Analytics
DpdpaShield.lockTrackingForMinor()
}
}
}Need sandbox API keys for testing?
Create a free developer assessment account in under 60 seconds.