capacitor-secure-storage-plugin 0.6.2 → 0.6.4-testing

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/CapacitorSecureStoragePlugin.podspec +12 -7
  2. package/README.md +2 -2
  3. package/android/build.gradle +13 -7
  4. package/android/src/main/AndroidManifest.xml +3 -5
  5. package/android/src/main/java/com/whitestein/securestorage/{SecureStoragePlugin.java → SecureStoragePluginPlugin.java} +31 -15
  6. package/android/{.gradle/5.6.4/gc.properties → src/main/res/.gitkeep} +0 -0
  7. package/dist/docs.json +93 -0
  8. package/dist/esm/definitions.js +1 -0
  9. package/dist/esm/definitions.js.map +1 -1
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/web.d.ts +2 -4
  13. package/dist/esm/web.js +15 -11
  14. package/dist/esm/web.js.map +1 -1
  15. package/dist/plugin.cjs.js +64 -0
  16. package/dist/plugin.cjs.js.map +1 -0
  17. package/dist/plugin.js +67 -0
  18. package/dist/plugin.js.map +1 -0
  19. package/ios/Plugin/{Plugin.h → SecureStoragePluginPlugin.h} +0 -0
  20. package/ios/Plugin/{Plugin.m → SecureStoragePluginPlugin.m} +0 -0
  21. package/ios/Plugin/{Plugin.swift → SecureStoragePluginPlugin.swift} +18 -9
  22. package/package.json +56 -29
  23. package/android/.gitignore +0 -72
  24. package/android/.gradle/5.6.4/executionHistory/executionHistory.bin +0 -0
  25. package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
  26. package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
  27. package/android/.gradle/5.6.4/fileContent/fileContent.lock +0 -0
  28. package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
  29. package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
  30. package/android/.gradle/5.6.4/fileHashes/resourceHashesCache.bin +0 -0
  31. package/android/.gradle/5.6.4/javaCompile/classAnalysis.bin +0 -0
  32. package/android/.gradle/5.6.4/javaCompile/jarAnalysis.bin +0 -0
  33. package/android/.gradle/5.6.4/javaCompile/javaCompile.lock +0 -0
  34. package/android/.gradle/5.6.4/javaCompile/taskHistory.bin +0 -0
  35. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  36. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  37. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  38. package/android/.gradle/vcs-1/gc.properties +0 -0
  39. package/android/.idea/.gitignore +0 -3
  40. package/android/.idea/compiler.xml +0 -6
  41. package/android/.idea/gradle.xml +0 -20
  42. package/android/.idea/jarRepositories.xml +0 -30
  43. package/android/.idea/libraries/Gradle__androidx_activity_activity_1_2_0_aar.xml +0 -16
  44. package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml +0 -13
  45. package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml +0 -13
  46. package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml +0 -16
  47. package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml +0 -13
  48. package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml +0 -11
  49. package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_1_0_aar.xml +0 -13
  50. package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml +0 -11
  51. package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +0 -16
  52. package/android/.idea/libraries/Gradle__androidx_core_core_1_3_2_aar.xml +0 -16
  53. package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +0 -13
  54. package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +0 -13
  55. package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +0 -16
  56. package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_3_0_aar.xml +0 -16
  57. package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +0 -13
  58. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_3_0.xml +0 -11
  59. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +0 -13
  60. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_3_0_aar.xml +0 -13
  61. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_3_0_aar.xml +0 -13
  62. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_3_0_aar.xml +0 -13
  63. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_savedstate_2_3_0_aar.xml +0 -13
  64. package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +0 -13
  65. package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_1_0_aar.xml +0 -13
  66. package/android/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml +0 -15
  67. package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml +0 -15
  68. package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml +0 -15
  69. package/android/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml +0 -15
  70. package/android/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml +0 -15
  71. package/android/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml +0 -15
  72. package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +0 -13
  73. package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +0 -13
  74. package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +0 -13
  75. package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +0 -13
  76. package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1.xml +0 -9
  77. package/android/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml +0 -13
  78. package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +0 -13
  79. package/android/.idea/libraries/Gradle__junit_junit_4_12.xml +0 -13
  80. package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_10_18.xml +0 -13
  81. package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_10_18.xml +0 -13
  82. package/android/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml +0 -13
  83. package/android/.idea/libraries/Gradle__org_apache_cordova_framework_7_0_0_aar.xml +0 -13
  84. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml +0 -13
  85. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml +0 -13
  86. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml +0 -13
  87. package/android/.idea/libraries/Gradle__org_json_json_20140107.xml +0 -13
  88. package/android/.idea/libraries/Gradle__org_mockito_mockito_core_3_6_28.xml +0 -13
  89. package/android/.idea/libraries/Gradle__org_mockito_mockito_inline_3_6_28.xml +0 -13
  90. package/android/.idea/libraries/Gradle__org_objenesis_objenesis_3_1.xml +0 -13
  91. package/android/.idea/misc.xml +0 -9
  92. package/android/.idea/modules/1586507569/android.capacitor-android.iml +0 -93
  93. package/android/.idea/modules/android.iml +0 -65
  94. package/android/.idea/modules.xml +0 -9
  95. package/android/.idea/runConfigurations.xml +0 -10
  96. package/android/.idea/vcs.xml +0 -6
  97. package/android/.npmignore +0 -1
  98. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  99. package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  100. package/android/gradle.properties +0 -21
  101. package/android/gradlew +0 -160
  102. package/android/gradlew.bat +0 -90
  103. package/android/local.properties +0 -8
  104. package/android/proguard-rules.pro +0 -21
  105. package/android/settings.gradle +0 -2
  106. package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +0 -121
  107. package/android/src/main/res/layout/bridge_layout_main.xml +0 -15
  108. package/android/src/main/res/values/colors.xml +0 -3
  109. package/android/src/main/res/values/strings.xml +0 -3
  110. package/android/src/main/res/values/styles.xml +0 -3
  111. package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +0 -17
  112. package/ios/Plugin.xcodeproj/project.pbxproj +0 -735
  113. package/ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme +0 -77
  114. package/ios/Plugin.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme +0 -88
  115. package/ios/Plugin.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/xcschememanagement.plist +0 -37
  116. package/ios/Plugin.xcworkspace/contents.xcworkspacedata +0 -10
  117. package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  118. package/ios/Plugin.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -5
  119. package/ios/Plugin.xcworkspace/xcuserdata/mka.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  120. package/ios/Plugin.xcworkspace/xcuserdata/mka.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -24
  121. package/ios/PluginTests/Info.plist +0 -22
  122. package/ios/PluginTests/PluginTests.swift +0 -245
  123. package/ios/Podfile +0 -18
  124. package/ios/Podfile.lock +0 -29
  125. package/ios/Pods/CapacitorCordova/LICENSE +0 -23
  126. package/ios/Pods/CapacitorCordova/README.md +0 -37
  127. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/CapacitorCordova.h +0 -21
  128. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.h +0 -8
  129. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.m +0 -5
  130. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDV.h +0 -28
  131. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVAvailability.h +0 -109
  132. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegate.h +0 -51
  133. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.h +0 -39
  134. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.m +0 -154
  135. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.h +0 -31
  136. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.m +0 -81
  137. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.h +0 -52
  138. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.m +0 -116
  139. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.h +0 -81
  140. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.m +0 -154
  141. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h +0 -25
  142. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.m +0 -77
  143. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.h +0 -82
  144. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.m +0 -216
  145. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVScreenOrientationDelegate.h +0 -33
  146. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.h +0 -41
  147. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.m +0 -399
  148. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.h +0 -27
  149. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.m +0 -74
  150. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.h +0 -27
  151. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.m +0 -156
  152. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.h +0 -30
  153. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.m +0 -34
  154. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.h +0 -35
  155. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.m +0 -63
  156. package/ios/Pods/Local Podspecs/Capacitor.podspec.json +0 -34
  157. package/ios/Pods/Local Podspecs/CapacitorCordova.podspec.json +0 -26
  158. package/ios/Pods/Manifest.lock +0 -29
  159. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1512
  160. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/Capacitor.xcscheme +0 -58
  161. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +0 -58
  162. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +0 -58
  163. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +0 -58
  164. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/SwiftKeychainWrapper.xcscheme +0 -58
  165. package/ios/Pods/Pods.xcodeproj/xcuserdata/mka.xcuserdatad/xcschemes/xcschememanagement.plist +0 -36
  166. package/ios/Pods/SwiftKeychainWrapper/LICENSE +0 -22
  167. package/ios/Pods/SwiftKeychainWrapper/README.md +0 -168
  168. package/ios/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainItemAccessibility.swift +0 -123
  169. package/ios/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainWrapper.swift +0 -447
  170. package/ios/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/SwiftKeychainWrapper.h +0 -37
  171. package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +0 -26
  172. package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +0 -5
  173. package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +0 -12
  174. package/ios/Pods/Target Support Files/Capacitor/Capacitor-umbrella.h +0 -23
  175. package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +0 -13
  176. package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +0 -7
  177. package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +0 -13
  178. package/ios/Pods/Target Support Files/Capacitor/Capacitor.xcconfig +0 -10
  179. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +0 -26
  180. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +0 -5
  181. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +0 -12
  182. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-umbrella.h +0 -33
  183. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +0 -12
  184. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +0 -6
  185. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +0 -12
  186. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.xcconfig +0 -9
  187. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +0 -26
  188. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +0 -83
  189. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +0 -127
  190. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +0 -5
  191. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +0 -16
  192. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +0 -13
  193. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +0 -6
  194. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +0 -13
  195. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +0 -26
  196. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +0 -83
  197. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +0 -127
  198. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +0 -5
  199. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +0 -189
  200. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +0 -16
  201. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +0 -14
  202. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +0 -6
  203. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +0 -14
  204. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper-Info.plist +0 -26
  205. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper-dummy.m +0 -5
  206. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper-prefix.pch +0 -12
  207. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper-umbrella.h +0 -17
  208. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper.debug.xcconfig +0 -12
  209. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper.modulemap +0 -6
  210. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper.release.xcconfig +0 -12
  211. package/ios/Pods/Target Support Files/SwiftKeychainWrapper/SwiftKeychainWrapper.xcconfig +0 -9
  212. package/ios/TestApp/AppDelegate.swift +0 -37
  213. package/ios/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
  214. package/ios/TestApp/Assets.xcassets/Contents.json +0 -6
  215. package/ios/TestApp/Base.lproj/LaunchScreen.storyboard +0 -25
  216. package/ios/TestApp/Base.lproj/Main.storyboard +0 -24
  217. package/ios/TestApp/ContentView.swift +0 -21
  218. package/ios/TestApp/Info.plist +0 -60
  219. package/ios/TestApp/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  220. package/ios/TestApp/SceneDelegate.swift +0 -64
  221. package/ios/TestApp/TestApp/AppDelegate.swift +0 -46
  222. package/ios/TestApp/TestApp/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
  223. package/ios/TestApp/TestApp/Assets.xcassets/Contents.json +0 -6
  224. package/ios/TestApp/TestApp/Base.lproj/LaunchScreen.storyboard +0 -25
  225. package/ios/TestApp/TestApp/Base.lproj/Main.storyboard +0 -24
  226. package/ios/TestApp/TestApp/Info.plist +0 -45
  227. package/ios/TestApp/TestApp/TestApp.entitlements +0 -10
  228. package/ios/TestApp/TestApp/ViewController.swift +0 -20
  229. package/ios/TestApp/TestApp.entitlements +0 -8
  230. package/ios/TestApp/ViewController.swift +0 -20
@@ -1,447 +0,0 @@
1
- //
2
- // KeychainWrapper.swift
3
- // KeychainWrapper
4
- //
5
- // Created by Jason Rendel on 9/23/14.
6
- // Copyright (c) 2014 Jason Rendel. All rights reserved.
7
- //
8
- // The MIT License (MIT)
9
- //
10
- // Permission is hereby granted, free of charge, to any person obtaining a copy
11
- // of this software and associated documentation files (the "Software"), to deal
12
- // in the Software without restriction, including without limitation the rights
13
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- // copies of the Software, and to permit persons to whom the Software is
15
- // furnished to do so, subject to the following conditions:
16
- //
17
- // The above copyright notice and this permission notice shall be included in all
18
- // copies or substantial portions of the Software.
19
- //
20
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- // SOFTWARE.
27
-
28
- import Foundation
29
-
30
-
31
- private let SecMatchLimit: String! = kSecMatchLimit as String
32
- private let SecReturnData: String! = kSecReturnData as String
33
- private let SecReturnPersistentRef: String! = kSecReturnPersistentRef as String
34
- private let SecValueData: String! = kSecValueData as String
35
- private let SecAttrAccessible: String! = kSecAttrAccessible as String
36
- private let SecClass: String! = kSecClass as String
37
- private let SecAttrService: String! = kSecAttrService as String
38
- private let SecAttrGeneric: String! = kSecAttrGeneric as String
39
- private let SecAttrAccount: String! = kSecAttrAccount as String
40
- private let SecAttrAccessGroup: String! = kSecAttrAccessGroup as String
41
- private let SecReturnAttributes: String = kSecReturnAttributes as String
42
-
43
- /// KeychainWrapper is a class to help make Keychain access in Swift more straightforward. It is designed to make accessing the Keychain services more like using NSUserDefaults, which is much more familiar to people.
44
- open class KeychainWrapper {
45
-
46
- @available(*, deprecated, message: "KeychainWrapper.defaultKeychainWrapper is deprecated since version 2.2.1, use KeychainWrapper.standard instead")
47
- public static let defaultKeychainWrapper = KeychainWrapper.standard
48
-
49
- /// Default keychain wrapper access
50
- public static let standard = KeychainWrapper()
51
-
52
- /// ServiceName is used for the kSecAttrService property to uniquely identify this keychain accessor. If no service name is specified, KeychainWrapper will default to using the bundleIdentifier.
53
- private (set) public var serviceName: String
54
-
55
- /// AccessGroup is used for the kSecAttrAccessGroup property to identify which Keychain Access Group this entry belongs to. This allows you to use the KeychainWrapper with shared keychain access between different applications.
56
- private (set) public var accessGroup: String?
57
-
58
- private static let defaultServiceName: String = {
59
- return Bundle.main.bundleIdentifier ?? "SwiftKeychainWrapper"
60
- }()
61
-
62
- private convenience init() {
63
- self.init(serviceName: KeychainWrapper.defaultServiceName)
64
- }
65
-
66
- /// Create a custom instance of KeychainWrapper with a custom Service Name and optional custom access group.
67
- ///
68
- /// - parameter serviceName: The ServiceName for this instance. Used to uniquely identify all keys stored using this keychain wrapper instance.
69
- /// - parameter accessGroup: Optional unique AccessGroup for this instance. Use a matching AccessGroup between applications to allow shared keychain access.
70
- public init(serviceName: String, accessGroup: String? = nil) {
71
- self.serviceName = serviceName
72
- self.accessGroup = accessGroup
73
- }
74
-
75
- // MARK:- Public Methods
76
-
77
- /// Checks if keychain data exists for a specified key.
78
- ///
79
- /// - parameter forKey: The key to check for.
80
- /// - parameter withAccessibility: Optional accessibility to use when retrieving the keychain item.
81
- /// - returns: True if a value exists for the key. False otherwise.
82
- open func hasValue(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
83
- if let _ = data(forKey: key, withAccessibility: accessibility) {
84
- return true
85
- } else {
86
- return false
87
- }
88
- }
89
-
90
- open func accessibilityOfKey(_ key: String) -> KeychainItemAccessibility? {
91
- var keychainQueryDictionary = setupKeychainQueryDictionary(forKey: key)
92
-
93
- // Remove accessibility attribute
94
- keychainQueryDictionary.removeValue(forKey: SecAttrAccessible)
95
-
96
- // Limit search results to one
97
- keychainQueryDictionary[SecMatchLimit] = kSecMatchLimitOne
98
-
99
- // Specify we want SecAttrAccessible returned
100
- keychainQueryDictionary[SecReturnAttributes] = kCFBooleanTrue
101
-
102
- // Search
103
- var result: AnyObject?
104
- let status = SecItemCopyMatching(keychainQueryDictionary as CFDictionary, &result)
105
-
106
- guard status == noErr, let resultsDictionary = result as? [String:AnyObject], let accessibilityAttrValue = resultsDictionary[SecAttrAccessible] as? String else {
107
- return nil
108
- }
109
-
110
- return KeychainItemAccessibility.accessibilityForAttributeValue(accessibilityAttrValue as CFString)
111
- }
112
-
113
- /// Get the keys of all keychain entries matching the current ServiceName and AccessGroup if one is set.
114
- open func allKeys() -> Set<String> {
115
- var keychainQueryDictionary: [String:Any] = [
116
- SecClass: kSecClassGenericPassword,
117
- SecAttrService: serviceName,
118
- SecReturnAttributes: kCFBooleanTrue!,
119
- SecMatchLimit: kSecMatchLimitAll,
120
- ]
121
-
122
- if let accessGroup = self.accessGroup {
123
- keychainQueryDictionary[SecAttrAccessGroup] = accessGroup
124
- }
125
-
126
- var result: AnyObject?
127
- let status = SecItemCopyMatching(keychainQueryDictionary as CFDictionary, &result)
128
-
129
- guard status == errSecSuccess else { return [] }
130
-
131
- var keys = Set<String>()
132
- if let results = result as? [[AnyHashable: Any]] {
133
- for attributes in results {
134
- if let accountData = attributes[SecAttrAccount] as? Data,
135
- let key = String(data: accountData, encoding: String.Encoding.utf8) {
136
- keys.insert(key)
137
- } else if let accountData = attributes[kSecAttrAccount] as? Data,
138
- let key = String(data: accountData, encoding: String.Encoding.utf8) {
139
- keys.insert(key)
140
- }
141
- }
142
- }
143
- return keys
144
- }
145
-
146
- // MARK: Public Getters
147
-
148
- open func integer(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Int? {
149
- guard let numberValue = object(forKey: key, withAccessibility: accessibility) as? NSNumber else {
150
- return nil
151
- }
152
-
153
- return numberValue.intValue
154
- }
155
-
156
- open func float(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Float? {
157
- guard let numberValue = object(forKey: key, withAccessibility: accessibility) as? NSNumber else {
158
- return nil
159
- }
160
-
161
- return numberValue.floatValue
162
- }
163
-
164
- open func double(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Double? {
165
- guard let numberValue = object(forKey: key, withAccessibility: accessibility) as? NSNumber else {
166
- return nil
167
- }
168
-
169
- return numberValue.doubleValue
170
- }
171
-
172
- open func bool(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool? {
173
- guard let numberValue = object(forKey: key, withAccessibility: accessibility) as? NSNumber else {
174
- return nil
175
- }
176
-
177
- return numberValue.boolValue
178
- }
179
-
180
- /// Returns a string value for a specified key.
181
- ///
182
- /// - parameter forKey: The key to lookup data for.
183
- /// - parameter withAccessibility: Optional accessibility to use when retrieving the keychain item.
184
- /// - returns: The String associated with the key if it exists. If no data exists, or the data found cannot be encoded as a string, returns nil.
185
- open func string(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> String? {
186
- guard let keychainData = data(forKey: key, withAccessibility: accessibility) else {
187
- return nil
188
- }
189
-
190
- return String(data: keychainData, encoding: String.Encoding.utf8) as String?
191
- }
192
-
193
- /// Returns an object that conforms to NSCoding for a specified key.
194
- ///
195
- /// - parameter forKey: The key to lookup data for.
196
- /// - parameter withAccessibility: Optional accessibility to use when retrieving the keychain item.
197
- /// - returns: The decoded object associated with the key if it exists. If no data exists, or the data found cannot be decoded, returns nil.
198
- open func object(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> NSCoding? {
199
- guard let keychainData = data(forKey: key, withAccessibility: accessibility) else {
200
- return nil
201
- }
202
-
203
- return NSKeyedUnarchiver.unarchiveObject(with: keychainData) as? NSCoding
204
- }
205
-
206
-
207
- /// Returns a Data object for a specified key.
208
- ///
209
- /// - parameter forKey: The key to lookup data for.
210
- /// - parameter withAccessibility: Optional accessibility to use when retrieving the keychain item.
211
- /// - returns: The Data object associated with the key if it exists. If no data exists, returns nil.
212
- open func data(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Data? {
213
- var keychainQueryDictionary = setupKeychainQueryDictionary(forKey: key, withAccessibility: accessibility)
214
-
215
- // Limit search results to one
216
- keychainQueryDictionary[SecMatchLimit] = kSecMatchLimitOne
217
-
218
- // Specify we want Data/CFData returned
219
- keychainQueryDictionary[SecReturnData] = kCFBooleanTrue
220
-
221
- // Search
222
- var result: AnyObject?
223
- let status = SecItemCopyMatching(keychainQueryDictionary as CFDictionary, &result)
224
-
225
- return status == noErr ? result as? Data : nil
226
- }
227
-
228
-
229
- /// Returns a persistent data reference object for a specified key.
230
- ///
231
- /// - parameter forKey: The key to lookup data for.
232
- /// - parameter withAccessibility: Optional accessibility to use when retrieving the keychain item.
233
- /// - returns: The persistent data reference object associated with the key if it exists. If no data exists, returns nil.
234
- open func dataRef(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Data? {
235
- var keychainQueryDictionary = setupKeychainQueryDictionary(forKey: key, withAccessibility: accessibility)
236
-
237
- // Limit search results to one
238
- keychainQueryDictionary[SecMatchLimit] = kSecMatchLimitOne
239
-
240
- // Specify we want persistent Data/CFData reference returned
241
- keychainQueryDictionary[SecReturnPersistentRef] = kCFBooleanTrue
242
-
243
- // Search
244
- var result: AnyObject?
245
- let status = SecItemCopyMatching(keychainQueryDictionary as CFDictionary, &result)
246
-
247
- return status == noErr ? result as? Data : nil
248
- }
249
-
250
- // MARK: Public Setters
251
-
252
- @discardableResult open func set(_ value: Int, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
253
- return set(NSNumber(value: value), forKey: key, withAccessibility: accessibility)
254
- }
255
-
256
- @discardableResult open func set(_ value: Float, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
257
- return set(NSNumber(value: value), forKey: key, withAccessibility: accessibility)
258
- }
259
-
260
- @discardableResult open func set(_ value: Double, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
261
- return set(NSNumber(value: value), forKey: key, withAccessibility: accessibility)
262
- }
263
-
264
- @discardableResult open func set(_ value: Bool, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
265
- return set(NSNumber(value: value), forKey: key, withAccessibility: accessibility)
266
- }
267
-
268
- /// Save a String value to the keychain associated with a specified key. If a String value already exists for the given key, the string will be overwritten with the new value.
269
- ///
270
- /// - parameter value: The String value to save.
271
- /// - parameter forKey: The key to save the String under.
272
- /// - parameter withAccessibility: Optional accessibility to use when setting the keychain item.
273
- /// - returns: True if the save was successful, false otherwise.
274
- @discardableResult open func set(_ value: String, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
275
- if let data = value.data(using: .utf8) {
276
- return set(data, forKey: key, withAccessibility: accessibility)
277
- } else {
278
- return false
279
- }
280
- }
281
-
282
- /// Save an NSCoding compliant object to the keychain associated with a specified key. If an object already exists for the given key, the object will be overwritten with the new value.
283
- ///
284
- /// - parameter value: The NSCoding compliant object to save.
285
- /// - parameter forKey: The key to save the object under.
286
- /// - parameter withAccessibility: Optional accessibility to use when setting the keychain item.
287
- /// - returns: True if the save was successful, false otherwise.
288
- @discardableResult open func set(_ value: NSCoding, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
289
- let data = NSKeyedArchiver.archivedData(withRootObject: value)
290
-
291
- return set(data, forKey: key, withAccessibility: accessibility)
292
- }
293
-
294
- /// Save a Data object to the keychain associated with a specified key. If data already exists for the given key, the data will be overwritten with the new value.
295
- ///
296
- /// - parameter value: The Data object to save.
297
- /// - parameter forKey: The key to save the object under.
298
- /// - parameter withAccessibility: Optional accessibility to use when setting the keychain item.
299
- /// - returns: True if the save was successful, false otherwise.
300
- @discardableResult open func set(_ value: Data, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
301
- var keychainQueryDictionary: [String:Any] = setupKeychainQueryDictionary(forKey: key, withAccessibility: accessibility)
302
-
303
- keychainQueryDictionary[SecValueData] = value
304
-
305
- if let accessibility = accessibility {
306
- keychainQueryDictionary[SecAttrAccessible] = accessibility.keychainAttrValue
307
- } else {
308
- // Assign default protection - Protect the keychain entry so it's only valid when the device is unlocked
309
- keychainQueryDictionary[SecAttrAccessible] = KeychainItemAccessibility.whenUnlocked.keychainAttrValue
310
- }
311
-
312
- let status: OSStatus = SecItemAdd(keychainQueryDictionary as CFDictionary, nil)
313
-
314
- if status == errSecSuccess {
315
- return true
316
- } else if status == errSecDuplicateItem {
317
- return update(value, forKey: key, withAccessibility: accessibility)
318
- } else {
319
- return false
320
- }
321
- }
322
-
323
- @available(*, deprecated, message: "remove is deprecated since version 2.2.1, use removeObject instead")
324
- @discardableResult open func remove(key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
325
- return removeObject(forKey: key, withAccessibility: accessibility)
326
- }
327
-
328
- /// Remove an object associated with a specified key. If re-using a key but with a different accessibility, first remove the previous key value using removeObjectForKey(:withAccessibility) using the same accessibilty it was saved with.
329
- ///
330
- /// - parameter forKey: The key value to remove data for.
331
- /// - parameter withAccessibility: Optional accessibility level to use when looking up the keychain item.
332
- /// - returns: True if successful, false otherwise.
333
- @discardableResult open func removeObject(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
334
- let keychainQueryDictionary: [String:Any] = setupKeychainQueryDictionary(forKey: key, withAccessibility: accessibility)
335
-
336
- // Delete
337
- let status: OSStatus = SecItemDelete(keychainQueryDictionary as CFDictionary)
338
-
339
- if status == errSecSuccess {
340
- return true
341
- } else {
342
- return false
343
- }
344
- }
345
-
346
- /// Remove all keychain data added through KeychainWrapper. This will only delete items matching the currnt ServiceName and AccessGroup if one is set.
347
- @discardableResult open func removeAllKeys() -> Bool {
348
- // Setup dictionary to access keychain and specify we are using a generic password (rather than a certificate, internet password, etc)
349
- var keychainQueryDictionary: [String:Any] = [SecClass:kSecClassGenericPassword]
350
-
351
- // Uniquely identify this keychain accessor
352
- keychainQueryDictionary[SecAttrService] = serviceName
353
-
354
- // Set the keychain access group if defined
355
- if let accessGroup = self.accessGroup {
356
- keychainQueryDictionary[SecAttrAccessGroup] = accessGroup
357
- }
358
-
359
- let status: OSStatus = SecItemDelete(keychainQueryDictionary as CFDictionary)
360
-
361
- if status == errSecSuccess {
362
- return true
363
- } else {
364
- return false
365
- }
366
- }
367
-
368
- /// Remove all keychain data, including data not added through keychain wrapper.
369
- ///
370
- /// - Warning: This may remove custom keychain entries you did not add via SwiftKeychainWrapper.
371
- ///
372
- open class func wipeKeychain() {
373
- deleteKeychainSecClass(kSecClassGenericPassword) // Generic password items
374
- deleteKeychainSecClass(kSecClassInternetPassword) // Internet password items
375
- deleteKeychainSecClass(kSecClassCertificate) // Certificate items
376
- deleteKeychainSecClass(kSecClassKey) // Cryptographic key items
377
- deleteKeychainSecClass(kSecClassIdentity) // Identity items
378
- }
379
-
380
- // MARK:- Private Methods
381
-
382
- /// Remove all items for a given Keychain Item Class
383
- ///
384
- ///
385
- @discardableResult private class func deleteKeychainSecClass(_ secClass: AnyObject) -> Bool {
386
- let query = [SecClass: secClass]
387
- let status: OSStatus = SecItemDelete(query as CFDictionary)
388
-
389
- if status == errSecSuccess {
390
- return true
391
- } else {
392
- return false
393
- }
394
- }
395
-
396
- /// Update existing data associated with a specified key name. The existing data will be overwritten by the new data.
397
- private func update(_ value: Data, forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> Bool {
398
- var keychainQueryDictionary: [String:Any] = setupKeychainQueryDictionary(forKey: key, withAccessibility: accessibility)
399
- let updateDictionary = [SecValueData:value]
400
-
401
- // on update, only set accessibility if passed in
402
- if let accessibility = accessibility {
403
- keychainQueryDictionary[SecAttrAccessible] = accessibility.keychainAttrValue
404
- }
405
-
406
- // Update
407
- let status: OSStatus = SecItemUpdate(keychainQueryDictionary as CFDictionary, updateDictionary as CFDictionary)
408
-
409
- if status == errSecSuccess {
410
- return true
411
- } else {
412
- return false
413
- }
414
- }
415
-
416
- /// Setup the keychain query dictionary used to access the keychain on iOS for a specified key name. Takes into account the Service Name and Access Group if one is set.
417
- ///
418
- /// - parameter forKey: The key this query is for
419
- /// - parameter withAccessibility: Optional accessibility to use when setting the keychain item. If none is provided, will default to .WhenUnlocked
420
- /// - returns: A dictionary with all the needed properties setup to access the keychain on iOS
421
- private func setupKeychainQueryDictionary(forKey key: String, withAccessibility accessibility: KeychainItemAccessibility? = nil) -> [String:Any] {
422
- // Setup default access as generic password (rather than a certificate, internet password, etc)
423
- var keychainQueryDictionary: [String:Any] = [SecClass:kSecClassGenericPassword]
424
-
425
- // Uniquely identify this keychain accessor
426
- keychainQueryDictionary[SecAttrService] = serviceName
427
-
428
- // Only set accessibiilty if its passed in, we don't want to default it here in case the user didn't want it set
429
- if let accessibility = accessibility {
430
- keychainQueryDictionary[SecAttrAccessible] = accessibility.keychainAttrValue
431
- }
432
-
433
- // Set the keychain access group if defined
434
- if let accessGroup = self.accessGroup {
435
- keychainQueryDictionary[SecAttrAccessGroup] = accessGroup
436
- }
437
-
438
- // Uniquely identify the account who will be accessing the keychain
439
- let encodedIdentifier: Data? = key.data(using: String.Encoding.utf8)
440
-
441
- keychainQueryDictionary[SecAttrGeneric] = encodedIdentifier
442
-
443
- keychainQueryDictionary[SecAttrAccount] = encodedIdentifier
444
-
445
- return keychainQueryDictionary
446
- }
447
- }
@@ -1,37 +0,0 @@
1
- //
2
- // SwiftKeychainWrapper.h
3
- // SwiftKeychainWrapper
4
- //
5
- // Created by Jason Rendel on 1/13/15.
6
- // Copyright (c) 2014 Jason Rendel. All rights reserved.
7
- //
8
- // The MIT License (MIT)
9
- //
10
- // Permission is hereby granted, free of charge, to any person obtaining a copy
11
- // of this software and associated documentation files (the "Software"), to deal
12
- // in the Software without restriction, including without limitation the rights
13
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- // copies of the Software, and to permit persons to whom the Software is
15
- // furnished to do so, subject to the following conditions:
16
- //
17
- // The above copyright notice and this permission notice shall be included in all
18
- // copies or substantial portions of the Software.
19
- //
20
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- // SOFTWARE.
27
- #import <UIKit/UIKit.h>
28
-
29
- //! Project version number for SwiftKeychainWrapper.
30
- FOUNDATION_EXPORT double SwiftKeychainWrapperVersionNumber;
31
-
32
- //! Project version string for SwiftKeychainWrapper.
33
- FOUNDATION_EXPORT const unsigned char SwiftKeychainWrapperVersionString[];
34
-
35
- // In this header, you should import all the public headers of your framework using statements like #import <SwiftKeychainWrapper/PublicHeader.h>
36
-
37
-
@@ -1,26 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>${EXECUTABLE_NAME}</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>${PRODUCT_NAME}</string>
15
- <key>CFBundlePackageType</key>
16
- <string>FMWK</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>3.0.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>${CURRENT_PROJECT_VERSION}</string>
23
- <key>NSPrincipalClass</key>
24
- <string></string>
25
- </dict>
26
- </plist>
@@ -1,5 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- @interface PodsDummy_Capacitor : NSObject
3
- @end
4
- @implementation PodsDummy_Capacitor
5
- @end
@@ -1,12 +0,0 @@
1
- #ifdef __OBJC__
2
- #import <UIKit/UIKit.h>
3
- #else
4
- #ifndef FOUNDATION_EXPORT
5
- #if defined(__cplusplus)
6
- #define FOUNDATION_EXPORT extern "C"
7
- #else
8
- #define FOUNDATION_EXPORT extern
9
- #endif
10
- #endif
11
- #endif
12
-
@@ -1,23 +0,0 @@
1
- #ifdef __OBJC__
2
- #import <UIKit/UIKit.h>
3
- #else
4
- #ifndef FOUNDATION_EXPORT
5
- #if defined(__cplusplus)
6
- #define FOUNDATION_EXPORT extern "C"
7
- #else
8
- #define FOUNDATION_EXPORT extern
9
- #endif
10
- #endif
11
- #endif
12
-
13
- #import "Capacitor.h"
14
- #import "CAPBridgedPlugin.h"
15
- #import "CAPPlugin.h"
16
- #import "CAPPluginCall.h"
17
- #import "CAPPluginMethod.h"
18
- #import "DefaultPlugins.h"
19
- #import "Keyboard.h"
20
-
21
- FOUNDATION_EXPORT double CapacitorVersionNumber;
22
- FOUNDATION_EXPORT const unsigned char CapacitorVersionString[];
23
-
@@ -1,13 +0,0 @@
1
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2
- CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Capacitor
3
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
4
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
6
- PODS_BUILD_DIR = ${BUILD_DIR}
7
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8
- PODS_ROOT = ${SRCROOT}
9
- PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../node_modules/@capacitor/ios
10
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11
- PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
12
- SKIP_INSTALL = YES
13
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -1,7 +0,0 @@
1
- framework module Capacitor {
2
- umbrella header "Capacitor.h"
3
- exclude header "CAPBridgedJSTypes.h"
4
-
5
- export *
6
- module * { export * }
7
- }
@@ -1,13 +0,0 @@
1
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2
- CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Capacitor
3
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
4
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
6
- PODS_BUILD_DIR = ${BUILD_DIR}
7
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8
- PODS_ROOT = ${SRCROOT}
9
- PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../node_modules/@capacitor/ios
10
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11
- PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
12
- SKIP_INSTALL = YES
13
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -1,10 +0,0 @@
1
- CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Capacitor
2
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
3
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
5
- PODS_BUILD_DIR = ${BUILD_DIR}
6
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
7
- PODS_ROOT = ${SRCROOT}
8
- PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../node_modules/@capacitor/ios
9
- PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
10
- SKIP_INSTALL = YES
@@ -1,26 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>${EXECUTABLE_NAME}</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>${PRODUCT_NAME}</string>
15
- <key>CFBundlePackageType</key>
16
- <string>FMWK</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>3.0.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>${CURRENT_PROJECT_VERSION}</string>
23
- <key>NSPrincipalClass</key>
24
- <string></string>
25
- </dict>
26
- </plist>
@@ -1,5 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- @interface PodsDummy_CapacitorCordova : NSObject
3
- @end
4
- @implementation PodsDummy_CapacitorCordova
5
- @end
@@ -1,12 +0,0 @@
1
- #ifdef __OBJC__
2
- #import <UIKit/UIKit.h>
3
- #else
4
- #ifndef FOUNDATION_EXPORT
5
- #if defined(__cplusplus)
6
- #define FOUNDATION_EXPORT extern "C"
7
- #else
8
- #define FOUNDATION_EXPORT extern
9
- #endif
10
- #endif
11
- #endif
12
-