Commit acbbf7e
committed
feat(secure_storage): add Swift Package Manager support to amplify_secure_storage
Migrate amplify_secure_storage iOS and macOS plugins to support Swift
Package Manager while maintaining backward compatibility with CocoaPods.
Changes:
- Add Package.swift for both iOS and macOS platforms
- Move sources from Classes/ to amplify_secure_storage/Sources/amplify_secure_storage/
- Move Obj-C public headers to include/amplify_secure_storage/ (iOS)
- Move PrivacyInfo.xcprivacy to SPM Sources directory
- Update podspec source_files and resource_bundles paths
- Update Pigeon swiftOut path for new directory structure
- Update Obj-C import path for relocated header
- Add .build/ and .swiftpm/ to .gitignore"1 parent a2a418b commit acbbf7e
21 files changed
Lines changed: 117 additions & 56 deletions
File tree
- packages/secure_storage/amplify_secure_storage
- example
- ios
- Flutter
- Runner.xcodeproj
- ios
- Classes
- amplify_secure_storage
- Sources/amplify_secure_storage
- macos
- amplify_secure_storage
- Sources/amplify_secure_storage
- pigeons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 24 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
0 commit comments