Skip to content

Conversation

@terrier989
Copy link
Member

@terrier989 terrier989 commented Nov 20, 2025

This PR modernizes the cryptography_flutter plugin by migrating to newer Flutter tooling and updating dependencies.

Copilot AI review requested due to automatic review settings November 20, 2025 20:25
Copilot finished reviewing on behalf of terrier989 November 20, 2025 20:26
@terrier989 terrier989 force-pushed the fix/cryptography_flutter branch from b869b7f to 448f6ff Compare November 20, 2025 20:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the cryptography_flutter plugin by migrating to newer Flutter tooling, updating dependencies, and improving test coverage. The changes primarily focus on removing deprecated platform support (Windows, Web, Linux), migrating iOS/macOS from CocoaPods to Swift Package Manager, and enhancing Ed25519 test coverage to handle platform-specific behavior.

Key changes:

  • Migrated iOS/macOS from CocoaPods to Swift Package Manager with privacy manifests
  • Improved Ed25519 test organization to handle iOS randomized signatures
  • Updated dependency ranges to support older Flutter SDKs
  • Removed Windows, Web, and Linux platform files
  • Updated Android build configuration to modern Gradle/Kotlin versions

Reviewed Changes

Copilot reviewed 153 out of 175 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cryptography_test/lib/algorithms/hkdf.dart Removed unused import
cryptography_test/lib/algorithms/ed25519.dart Split test into platform-specific cases for iOS randomized signatures
cryptography_flutter/pubspec.yaml Expanded flutter_lints version range for SDK compatibility
cryptography_flutter_integration_test/pubspec.yaml Expanded flutter_lints version range for SDK compatibility
cryptography_flutter/ios/cryptography_flutter.podspec Updated podspec for SPM migration
cryptography_flutter/macos/cryptography_flutter.podspec Updated podspec for SPM migration
cryptography_flutter_integration_test/android/settings.gradle.kts Migrated to Kotlin DSL build configuration
cryptography_flutter_integration_test/tool/test.sh Added test automation script
Multiple iOS/macOS files Removed CocoaPods files, added SPM Package.swift and privacy manifests
Multiple Windows/Web/Linux files Removed platform support files
Multiple Android files Updated to modern Gradle 8.14 and Kotlin 2.2.20
Files not reviewed (4)
  • cryptography_flutter/example/ios/Runner.xcworkspace/contents.xcworkspacedata: Language not supported
  • cryptography_flutter/example/macos/Runner.xcworkspace/contents.xcworkspacedata: Language not supported
  • cryptography_flutter_integration_test/ios/Runner.xcworkspace/contents.xcworkspacedata: Language not supported
  • cryptography_flutter_integration_test/macos/Runner.xcworkspace/contents.xcworkspacedata: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@terrier989 terrier989 force-pushed the fix/cryptography_flutter branch 5 times, most recently from 6f7cd4f to 621c317 Compare November 20, 2025 20:41
@terrier989 terrier989 force-pushed the fix/cryptography_flutter branch from 621c317 to ca2d6dd Compare November 20, 2025 20:44
@terrier989 terrier989 merged commit 457dc0c into master Nov 20, 2025
21 checks passed
@terrier989 terrier989 deleted the fix/cryptography_flutter branch November 21, 2025 06:15
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.

2 participants