Skip to content

Commit

Permalink
Merge pull request #5 from atroo/updateios
Browse files Browse the repository at this point in the history
verify fix
  • Loading branch information
laszloblum authored Nov 30, 2023
2 parents 283e178 + 1800a76 commit 97e76b9
Show file tree
Hide file tree
Showing 17 changed files with 615 additions and 239 deletions.
4 changes: 2 additions & 2 deletions AtrooCapacitorSecureStoragePlugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Pod::Spec.new do |s|
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source_files = 'ios/Plugin/*.{swift,h,m,c,cc,mm,cpp}', 'capacitor-secure-storage-plugin/ios/Plugin/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'KeychainAccess'
s.dependency 'KeychainAccess', '~> 4.2'
s.swift_version = '5.1'
end
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ npx cap sync

## Notes
### Android
#### AutoBackup
To stay secure you need to handle the Auto Backup rules in Android.
Please refer to [this document](https://developer.android.com/guide/topics/data/autobackup#IncludingFiles).
#### Java 17
The plugin requires Java 17 to run.
You can set it using the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.


## API

Expand Down
10 changes: 10 additions & 0 deletions ios/Plugin.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFFA52020D75100D50D53 /* Capacitor.framework */; };
50ADFFA82020EE4F00D50D53 /* SecureStoragePlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFFA72020EE4F00D50D53 /* SecureStoragePlugin.m */; };
50E1A94820377CB70090CE1A /* SecureStoragePlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50E1A94720377CB70090CE1A /* SecureStoragePlugin.swift */; };
EEC248C92B18BF3200DC4CE5 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = EEC248C72B18BF3200DC4CE5 /* Utils.swift */; };
EEC248CA2B18BF3200DC4CE5 /* TmpValues.swift in Sources */ = {isa = PBXBuildFile; fileRef = EEC248C82B18BF3200DC4CE5 /* TmpValues.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -43,6 +45,8 @@
5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig"; sourceTree = "<group>"; };
91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.release.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig"; sourceTree = "<group>"; };
96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig"; sourceTree = "<group>"; };
EEC248C72B18BF3200DC4CE5 /* Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
EEC248C82B18BF3200DC4CE5 /* TmpValues.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TmpValues.swift; sourceTree = "<group>"; };
F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig"; sourceTree = "<group>"; };
F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -92,6 +96,8 @@
50ADFF8A201F53D600D50D53 /* Plugin */ = {
isa = PBXGroup;
children = (
EEC248C82B18BF3200DC4CE5 /* TmpValues.swift */,
EEC248C72B18BF3200DC4CE5 /* Utils.swift */,
50E1A94720377CB70090CE1A /* SecureStoragePlugin.swift */,
2F98D68124C9AAE400613A4C /* SecureStoragePluginImpl.swift */,
50ADFF8B201F53D600D50D53 /* SecureStoragePlugin.h */,
Expand Down Expand Up @@ -270,11 +276,13 @@
"${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework",
"${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Capacitor.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cordova.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -307,8 +315,10 @@
buildActionMask = 2147483647;
files = (
50E1A94820377CB70090CE1A /* SecureStoragePlugin.swift in Sources */,
EEC248CA2B18BF3200DC4CE5 /* TmpValues.swift in Sources */,
2F98D68224C9AAE500613A4C /* SecureStoragePluginImpl.swift in Sources */,
50ADFFA82020EE4F00D50D53 /* SecureStoragePlugin.m in Sources */,
EEC248C92B18BF3200DC4CE5 /* Utils.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
2 changes: 2 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ end

target 'Plugin' do
capacitor_pods
pod 'KeychainAccess', '~> 4.2'
end

target 'PluginTests' do
capacitor_pods
pod 'KeychainAccess', '~> 4.2'
end
9 changes: 8 additions & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ PODS:
- Capacitor (5.5.1):
- CapacitorCordova
- CapacitorCordova (5.5.1)
- KeychainAccess (4.2.2)

DEPENDENCIES:
- "Capacitor (from `../node_modules/@capacitor/ios`)"
- "CapacitorCordova (from `../node_modules/@capacitor/ios`)"
- KeychainAccess (~> 4.2)

SPEC REPOS:
trunk:
- KeychainAccess

EXTERNAL SOURCES:
Capacitor:
Expand All @@ -16,7 +22,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Capacitor: 9da0a2415e3b6098511f8b5ffdb578d91ee79f8f
CapacitorCordova: e128cc7688c070ca0bfa439898a5f609da8dbcfe
KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51

PODFILE CHECKSUM: 14e8b2400457751b865e1c327e7cfa1c6fa67da6
PODFILE CHECKSUM: aa149865ec27f9bfa4147872591f27b4cfe7c422

COCOAPODS: 1.11.2
9 changes: 8 additions & 1 deletion ios/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 97e76b9

Please sign in to comment.