Installation Issues
Pod Install Fails (iOS)
Symptom:- Ensure your minimum iOS version is 13.0 or higher in your Podfile:
- Update your CocoaPods repository:
- If still failing, try clearing the cache:
Gradle Sync Fails (Android)
Symptom:- Ensure
mavenCentral()is in your repositories inandroid/build.gradle:
- Check that your
minSdkVersionis at least 26:
- Try cleaning and rebuilding:
Plugin Not Found
Symptom:- Verify your
pubspec.yamldependency is correct - Run
flutter pub getagain - If using a path dependency, verify the path is correct
Runtime Errors
”SEON SDK not initialized” Error
Symptom:initialize() before calling startVerification(). The SDK remains initialized across multiple verification flows until dispose() is called:
Missing Permissions
Symptom: Verification fails immediately or SDK requests permissions that crash the app.- iOS
- Android
Ensure all required keys are in
ios/Runner/Info.plist:Device Testing Issues
Camera/Location Not Working on Device
Symptom: Verification starts but camera or location features don’t work. Solutions:- Handle permission denial in code:
-
Check device settings:
- iOS: Settings > Your App > Permissions
- Android: Settings > Apps > Your App > Permissions
- 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. If you need to develop without a device, you can mock the plugin in your app:Debugging Tips
Enable Verbose Logging
Check Native Logs
- iOS (Xcode)
- Android (Logcat)
- Open your project in Xcode
- Run on device
- Check Console for native logs
Test Initialization Separately
Isolate initialization to narrow down issues:Getting Help
If you’re still experiencing issues:- Check the API Reference for correct usage
- Review Platform Notes for platform-specific requirements
- Check the Architecture doc to understand how the bridge works
- Open an issue on GitHub with:
- Flutter version
- iOS/Android version
- Error messages
- Steps to reproduce