Skip to content
← Back to activity

Public problem

Klippa Flutter SDK crashes Android app when camera is used by other plugins

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

In a Flutter app using klippaidentityverificationsdk 0.2.10 on Android, opening the camera from another plugin (e.g. imagepicker) after a Klippa document-scan session crashed the app instantly. The SDK's onActivityResult handler (KlippaIdentityVerificationSdkPlugin.kt) was triggered by camera results belonging to other plugins even after the Klippa session closed, causing the crash. Without any Klippa session started, other plugins used the camera fine.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in klippaidentityverificationsdk 0.2.10 — the maintainer pointed to a change in how the SDK handles the activity result, and the reporter confirmed the crash is gone after updating. Upgrade to at least 0.2.10 with flutter pub upgrade klippaidentityverificationsdk. Source: https://github.com/klippa-app/flutter-klippa-identity-verification-sdk/issues/33

Source: https://github.com/klippa-app/flutter-klippa-identity-verification-sdk/issues/33