Skip to content

Conversation

Aniket-indulkar
Copy link
Contributor

@Aniket-indulkar Aniket-indulkar commented Sep 17, 2025

Summary

This PR introduces multiple updates and refinements across the Flutter plugin and native Android integration:

  • SDK Upgrade: Bumped complycube to version 0.0.9 and switched to a local path dependency for development.

  • Configuration: Added a comprehensive all-settings.json file to centralize configuration and testing.

  • Flutter Example App:

    • Refactored main.dart to leverage event streams for real-time status updates.
    • Moved verification start logic behind a dedicated button for improved UX.
  • Android Build:

    • Integrated the Kotlin serialization plugin into the build pipeline.
    • Updated minSdkVersion for compatibility.
    • Applied packaging options to resolve META-INF conflicts (e.g., Netty dependencies).
  • Manifest Changes: Renamed MainActivity class reference in AndroidManifest.xml to align with current package structure.

Impact

  • Provides a cleaner and more interactive verification flow in the example app.
  • Ensures the Android SDK compiles with built-in serialization support, reducing client-side setup.
  • Improves build stability by handling resource conflicts internally.
  • Aligns configuration with latest SDK version for testing and development.

Migration Notes

For client applications consuming the SDK:

  • Version change: Ensure your project is updated to depend on complycube 0.0.9 or higher.
  • Packaging options: META-INF conflicts (e.g., Netty) are now handled within the SDK. Clients should remove any custom packagingOptions added previously in app/build.gradle.
  • Serialization dependencies: Kotlin serialization support is built into the SDK. Clients no longer need to apply org.jetbrains.kotlin.plugin.serialization in their own Gradle files.

Upgraded complycube to version 0.0.9 and switched to a local path dependency. Added a comprehensive all-settings.json configuration file. Refactored main.dart to use event streams for status updates and moved verification start to a button. Updated Android build files for Kotlin serialization plugin, minSdkVersion, and packaging options. Changed MainActivity class name in AndroidManifest.xml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant