Skip to main content

Installation Issues

Pod Install Fails (iOS)

Symptom:
Solutions:
  1. Ensure your minimum iOS version is 13.0 or higher in your Podfile:
  1. Update your CocoaPods repository:
  1. If still failing, try clearing the cache:

Gradle Sync Fails (Android)

Symptom:
Solutions:
  1. Ensure mavenCentral() is in your repositories in android/build.gradle:
  1. Check that your minSdkVersion is at least 26:
  1. Try cleaning and rebuilding:

Plugin Not Found

Symptom:
Solutions:
  1. Verify your pubspec.yaml dependency is correct
  2. Run flutter pub get again
  3. If using a path dependency, verify the path is correct

Runtime Errors

”SEON SDK not initialized” Error

Symptom:
Solution: You must call initialize() before calling startVerification(). The SDK remains initialized across multiple verification flows until dispose() is called:
Make sure initialization completes successfully before starting verification:

Missing Permissions

Symptom: Verification fails immediately or SDK requests permissions that crash the app.
Ensure all required keys are in ios/Runner/Info.plist:
Missing any of these will cause the app to crash when the SDK requests that permission.

Device Testing Issues

Camera/Location Not Working on Device

Symptom: Verification starts but camera or location features don’t work. Solutions:
  1. Handle permission denial in code:
  1. Check device settings:
    • iOS: Settings > Your App > Permissions
    • Android: Settings > Apps > Your App > Permissions
  2. Test on a different device — some devices may have hardware or OS limitations.

Build Fails on Simulator

Symptom: App builds and runs fine on device but fails on simulator. Solution: The SEON SDKs require real device hardware. They are not designed to work on simulators or emulators.
Always test on real physical devices (iPhone/iPad for iOS, Android phone/tablet for Android).
If you need to develop without a device, you can mock the plugin in your app:

Debugging Tips

Enable Verbose Logging

Check Native Logs

  1. Open your project in Xcode
  2. Run on device
  3. Check Console for native logs

Test Initialization Separately

Isolate initialization to narrow down issues:

Getting Help

If you’re still experiencing issues:
  1. Check the API Reference for correct usage
  2. Review Platform Notes for platform-specific requirements
  3. Check the Architecture doc to understand how the bridge works
  4. Open an issue on GitHub with:
    • Flutter version
    • iOS/Android version
    • Error messages
    • Steps to reproduce