Add SPM support, add base64 challenge support, implement generateAssertion on iOS#3
Open
slawomir-krol-s3 wants to merge 2 commits intoErluan:mainfrom
Open
Add SPM support, add base64 challenge support, implement generateAssertion on iOS#3slawomir-krol-s3 wants to merge 2 commits intoErluan:mainfrom
slawomir-krol-s3 wants to merge 2 commits intoErluan:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
iOS SPM Support and Assertion Generation
Summary
Added Swift Package Manager support, enhanced Base64 challenge handling, and implemented assertion generation functionality for iOS App Attest.
Changes Made
iOS Platform Enhancements
Swift Package Manager (SPM) Support
PodfileandPodfile.lockBase64URL Challenge Support
generateKeyAndAttestandgenerateAssertionmethodsAssertion Generation API
generateAssertionmethod for iOS platformCode Quality Improvements
Swift Code Refactoring
AppDeviceIntegrityclassDart API Updates
generateAssertionmethod to public APIPlatformExceptionExample App Updates
getAttestationServiceSupportAppDelegate.swiftto use modern@mainannotationTechnical Details
Files Modified:
lib/app_device_integrity.dart- AddedgenerateAssertionAPIlib/app_device_integrity_platform_interface.dart- Added interface methodlib/app_device_integrity_method_channel.dart- Implemented method channelios/.../AppDeviceIntegrity.swift- Added assertion generation logicios/.../AppDeviceIntegrityPlugin.swift- Added method handlerexample/integration_test/plugin_integration_test.dart- Updated testsexample/ios/Podfile- Removed (migrated to SPM)example/ios/Runner/AppDelegate.swift- Updated to modern Swift syntaxBreaking Changes:
New Features:
Testing
Migration Guide
For projects using this plugin:
generateAssertionfor validating previously attested devicesVersion
Updated to version 1.2.0 in
pubspec.yaml