@capacitor-community/camera-preview 2.0.0-beta.0 → 2.0.0-beta.2

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 (95) hide show
  1. package/CapacitorCommunityCameraPreview.podspec +3 -2
  2. package/LICENSE +21 -0
  3. package/README.md +46 -57
  4. package/android/build.gradle +4 -4
  5. package/android/src/main/java/com/ahm/capacitor/camera/preview/CameraPreview.java +127 -118
  6. package/dist/esm/definitions.d.ts +9 -5
  7. package/dist/esm/definitions.js +1 -0
  8. package/dist/esm/index.d.ts +3 -1
  9. package/dist/esm/index.js +5 -1
  10. package/dist/esm/index.js.map +1 -1
  11. package/dist/esm/web.d.ts +7 -1
  12. package/dist/esm/web.js +89 -77
  13. package/dist/esm/web.js.map +1 -1
  14. package/ios/Plugin/CameraController.swift +155 -48
  15. package/ios/Plugin/Plugin.m +3 -0
  16. package/ios/Plugin/Plugin.swift +125 -46
  17. package/ios/Plugin.xcodeproj/project.pbxproj +2 -6
  18. package/ios/Podfile +2 -2
  19. package/ios/Podfile.lock +4 -4
  20. package/package.json +7 -6
  21. package/android/local.properties +0 -8
  22. package/ios/Plugin.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  23. package/ios/Plugin.xcodeproj/xcuserdata/nielsvanharen.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  24. package/ios/Plugin.xcworkspace/xcuserdata/ahernandez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  25. package/ios/Plugin.xcworkspace/xcuserdata/arielhernandezmusa.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  26. package/ios/Plugin.xcworkspace/xcuserdata/nielsvanharen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  27. package/ios/Pods/CapacitorCordova/LICENSE +0 -23
  28. package/ios/Pods/CapacitorCordova/README.md +0 -39
  29. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/CapacitorCordova.h +0 -21
  30. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.h +0 -8
  31. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.m +0 -5
  32. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDV.h +0 -28
  33. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVAvailability.h +0 -109
  34. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegate.h +0 -51
  35. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.h +0 -39
  36. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.m +0 -154
  37. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.h +0 -31
  38. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.m +0 -81
  39. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.h +0 -52
  40. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.m +0 -116
  41. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.h +0 -81
  42. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.m +0 -154
  43. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h +0 -25
  44. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.m +0 -77
  45. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.h +0 -82
  46. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.m +0 -216
  47. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVScreenOrientationDelegate.h +0 -33
  48. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.h +0 -41
  49. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.m +0 -399
  50. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.h +0 -27
  51. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.m +0 -74
  52. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.h +0 -27
  53. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.m +0 -156
  54. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.h +0 -30
  55. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.m +0 -34
  56. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.h +0 -35
  57. package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.m +0 -63
  58. package/ios/Pods/Local Podspecs/Capacitor.podspec.json +0 -31
  59. package/ios/Pods/Manifest.lock +0 -23
  60. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1296
  61. package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Capacitor.xcscheme +0 -60
  62. package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +0 -58
  63. package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +0 -58
  64. package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +0 -58
  65. package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/xcschememanagement.plist +0 -39
  66. package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +0 -26
  67. package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +0 -5
  68. package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +0 -12
  69. package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +0 -13
  70. package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +0 -7
  71. package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +0 -13
  72. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +0 -26
  73. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +0 -5
  74. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +0 -12
  75. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-umbrella.h +0 -32
  76. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +0 -12
  77. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +0 -6
  78. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +0 -12
  79. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +0 -26
  80. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +0 -57
  81. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +0 -95
  82. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +0 -5
  83. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +0 -16
  84. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +0 -13
  85. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +0 -6
  86. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +0 -13
  87. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +0 -26
  88. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +0 -57
  89. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +0 -95
  90. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +0 -5
  91. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +0 -187
  92. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +0 -16
  93. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +0 -14
  94. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +0 -6
  95. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +0 -14
@@ -1,16 +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
-
14
- FOUNDATION_EXPORT double Pods_PluginVersionNumber;
15
- FOUNDATION_EXPORT const unsigned char Pods_PluginVersionString[];
16
-
@@ -1,13 +0,0 @@
1
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
3
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4
- HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor/Capacitor.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova/Cordova.framework/Headers"
5
- LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks'
6
- OTHER_LDFLAGS = $(inherited) -framework "Capacitor" -framework "Cordova" -framework "WebKit"
7
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
8
- PODS_BUILD_DIR = ${BUILD_DIR}
9
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
10
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
11
- PODS_ROOT = ${SRCROOT}/Pods
12
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
13
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -1,6 +0,0 @@
1
- framework module Pods_Plugin {
2
- umbrella header "Pods-Plugin-umbrella.h"
3
-
4
- export *
5
- module * { export * }
6
- }
@@ -1,13 +0,0 @@
1
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
3
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4
- HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor/Capacitor.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova/Cordova.framework/Headers"
5
- LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks'
6
- OTHER_LDFLAGS = $(inherited) -framework "Capacitor" -framework "Cordova" -framework "WebKit"
7
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
8
- PODS_BUILD_DIR = ${BUILD_DIR}
9
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
10
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
11
- PODS_ROOT = ${SRCROOT}/Pods
12
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
13
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = 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>1.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,57 +0,0 @@
1
- # Acknowledgements
2
- This application makes use of the following third party libraries:
3
-
4
- ## Capacitor
5
-
6
- Copyright 2017-present Ionic
7
- https://ionic.io
8
-
9
- MIT License
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining
12
- a copy of this software and associated documentation files (the
13
- "Software"), to deal in the Software without restriction, including
14
- without limitation the rights to use, copy, modify, merge, publish,
15
- distribute, sublicense, and/or sell copies of the Software, and to
16
- permit persons to whom the Software is furnished to do so, subject to
17
- the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be
20
- included in all copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
-
30
-
31
- ## CapacitorCordova
32
-
33
- Copyright 2015-present Drifty Co.
34
- http://drifty.com/
35
-
36
- MIT License
37
-
38
- Permission is hereby granted, free of charge, to any person obtaining
39
- a copy of this software and associated documentation files (the
40
- "Software"), to deal in the Software without restriction, including
41
- without limitation the rights to use, copy, modify, merge, publish,
42
- distribute, sublicense, and/or sell copies of the Software, and to
43
- permit persons to whom the Software is furnished to do so, subject to
44
- the following conditions:
45
-
46
- The above copyright notice and this permission notice shall be
47
- included in all copies or substantial portions of the Software.
48
-
49
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
50
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
51
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
52
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
53
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
54
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
55
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
56
-
57
- Generated by CocoaPods - https://cocoapods.org
@@ -1,95 +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>PreferenceSpecifiers</key>
6
- <array>
7
- <dict>
8
- <key>FooterText</key>
9
- <string>This application makes use of the following third party libraries:</string>
10
- <key>Title</key>
11
- <string>Acknowledgements</string>
12
- <key>Type</key>
13
- <string>PSGroupSpecifier</string>
14
- </dict>
15
- <dict>
16
- <key>FooterText</key>
17
- <string>Copyright 2017-present Ionic
18
- https://ionic.io
19
-
20
- MIT License
21
-
22
- Permission is hereby granted, free of charge, to any person obtaining
23
- a copy of this software and associated documentation files (the
24
- "Software"), to deal in the Software without restriction, including
25
- without limitation the rights to use, copy, modify, merge, publish,
26
- distribute, sublicense, and/or sell copies of the Software, and to
27
- permit persons to whom the Software is furnished to do so, subject to
28
- the following conditions:
29
-
30
- The above copyright notice and this permission notice shall be
31
- included in all copies or substantial portions of the Software.
32
-
33
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
37
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
38
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
39
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40
- </string>
41
- <key>License</key>
42
- <string>MIT</string>
43
- <key>Title</key>
44
- <string>Capacitor</string>
45
- <key>Type</key>
46
- <string>PSGroupSpecifier</string>
47
- </dict>
48
- <dict>
49
- <key>FooterText</key>
50
- <string>Copyright 2015-present Drifty Co.
51
- http://drifty.com/
52
-
53
- MIT License
54
-
55
- Permission is hereby granted, free of charge, to any person obtaining
56
- a copy of this software and associated documentation files (the
57
- "Software"), to deal in the Software without restriction, including
58
- without limitation the rights to use, copy, modify, merge, publish,
59
- distribute, sublicense, and/or sell copies of the Software, and to
60
- permit persons to whom the Software is furnished to do so, subject to
61
- the following conditions:
62
-
63
- The above copyright notice and this permission notice shall be
64
- included in all copies or substantial portions of the Software.
65
-
66
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
69
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
70
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73
- </string>
74
- <key>License</key>
75
- <string>MIT</string>
76
- <key>Title</key>
77
- <string>CapacitorCordova</string>
78
- <key>Type</key>
79
- <string>PSGroupSpecifier</string>
80
- </dict>
81
- <dict>
82
- <key>FooterText</key>
83
- <string>Generated by CocoaPods - https://cocoapods.org</string>
84
- <key>Title</key>
85
- <string></string>
86
- <key>Type</key>
87
- <string>PSGroupSpecifier</string>
88
- </dict>
89
- </array>
90
- <key>StringsTable</key>
91
- <string>Acknowledgements</string>
92
- <key>Title</key>
93
- <string>Acknowledgements</string>
94
- </dict>
95
- </plist>
@@ -1,5 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- @interface PodsDummy_Pods_PluginTests : NSObject
3
- @end
4
- @implementation PodsDummy_Pods_PluginTests
5
- @end
@@ -1,187 +0,0 @@
1
- #!/bin/sh
2
- set -e
3
- set -u
4
- set -o pipefail
5
-
6
- function on_error {
7
- echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
8
- }
9
- trap 'on_error $LINENO' ERR
10
-
11
- if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
12
- # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
13
- # frameworks to, so exit 0 (signalling the script phase was successful).
14
- exit 0
15
- fi
16
-
17
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
18
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
19
-
20
- COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
21
- SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
22
- BCSYMBOLMAP_DIR="BCSymbolMaps"
23
-
24
-
25
- # This protects against multiple targets copying the same framework dependency at the same time. The solution
26
- # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
27
- RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
28
-
29
- # Copies and strips a vendored framework
30
- install_framework()
31
- {
32
- if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
33
- local source="${BUILT_PRODUCTS_DIR}/$1"
34
- elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
35
- local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
36
- elif [ -r "$1" ]; then
37
- local source="$1"
38
- fi
39
-
40
- local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
41
-
42
- if [ -L "${source}" ]; then
43
- echo "Symlinked..."
44
- source="$(readlink "${source}")"
45
- fi
46
-
47
- if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then
48
- # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied
49
- find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do
50
- echo "Installing $f"
51
- install_bcsymbolmap "$f" "$destination"
52
- rm "$f"
53
- done
54
- rmdir "${source}/${BCSYMBOLMAP_DIR}"
55
- fi
56
-
57
- # Use filter instead of exclude so missing patterns don't throw errors.
58
- echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
59
- rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
60
-
61
- local basename
62
- basename="$(basename -s .framework "$1")"
63
- binary="${destination}/${basename}.framework/${basename}"
64
-
65
- if ! [ -r "$binary" ]; then
66
- binary="${destination}/${basename}"
67
- elif [ -L "${binary}" ]; then
68
- echo "Destination binary is symlinked..."
69
- dirname="$(dirname "${binary}")"
70
- binary="${dirname}/$(readlink "${binary}")"
71
- fi
72
-
73
- # Strip invalid architectures so "fat" simulator / device frameworks work on device
74
- if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
75
- strip_invalid_archs "$binary"
76
- fi
77
-
78
- # Resign the code if required by the build settings to avoid unstable apps
79
- code_sign_if_enabled "${destination}/$(basename "$1")"
80
-
81
- # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
82
- if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
83
- local swift_runtime_libs
84
- swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
85
- for lib in $swift_runtime_libs; do
86
- echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
87
- rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
88
- code_sign_if_enabled "${destination}/${lib}"
89
- done
90
- fi
91
- }
92
- # Copies and strips a vendored dSYM
93
- install_dsym() {
94
- local source="$1"
95
- warn_missing_arch=${2:-true}
96
- if [ -r "$source" ]; then
97
- # Copy the dSYM into the targets temp dir.
98
- echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
99
- rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
100
-
101
- local basename
102
- basename="$(basename -s .dSYM "$source")"
103
- binary_name="$(ls "$source/Contents/Resources/DWARF")"
104
- binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"
105
-
106
- # Strip invalid architectures from the dSYM.
107
- if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
108
- strip_invalid_archs "$binary" "$warn_missing_arch"
109
- fi
110
- if [[ $STRIP_BINARY_RETVAL == 0 ]]; then
111
- # Move the stripped file into its final destination.
112
- echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
113
- rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
114
- else
115
- # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
116
- touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
117
- fi
118
- fi
119
- }
120
-
121
- # Used as a return value for each invocation of `strip_invalid_archs` function.
122
- STRIP_BINARY_RETVAL=0
123
-
124
- # Strip invalid architectures
125
- strip_invalid_archs() {
126
- binary="$1"
127
- warn_missing_arch=${2:-true}
128
- # Get architectures for current target binary
129
- binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
130
- # Intersect them with the architectures we are building for
131
- intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
132
- # If there are no archs supported by this binary then warn the user
133
- if [[ -z "$intersected_archs" ]]; then
134
- if [[ "$warn_missing_arch" == "true" ]]; then
135
- echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
136
- fi
137
- STRIP_BINARY_RETVAL=1
138
- return
139
- fi
140
- stripped=""
141
- for arch in $binary_archs; do
142
- if ! [[ "${ARCHS}" == *"$arch"* ]]; then
143
- # Strip non-valid architectures in-place
144
- lipo -remove "$arch" -output "$binary" "$binary"
145
- stripped="$stripped $arch"
146
- fi
147
- done
148
- if [[ "$stripped" ]]; then
149
- echo "Stripped $binary of architectures:$stripped"
150
- fi
151
- STRIP_BINARY_RETVAL=0
152
- }
153
-
154
- # Copies the bcsymbolmap files of a vendored framework
155
- install_bcsymbolmap() {
156
- local bcsymbolmap_path="$1"
157
- local destination="${BUILT_PRODUCTS_DIR}"
158
- echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}""
159
- rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"
160
- }
161
-
162
- # Signs a framework with the provided identity
163
- code_sign_if_enabled() {
164
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
165
- # Use the current code_sign_identity
166
- echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
167
- local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
168
-
169
- if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
170
- code_sign_cmd="$code_sign_cmd &"
171
- fi
172
- echo "$code_sign_cmd"
173
- eval "$code_sign_cmd"
174
- fi
175
- }
176
-
177
- if [[ "$CONFIGURATION" == "Debug" ]]; then
178
- install_framework "${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework"
179
- install_framework "${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework"
180
- fi
181
- if [[ "$CONFIGURATION" == "Release" ]]; then
182
- install_framework "${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework"
183
- install_framework "${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework"
184
- fi
185
- if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
186
- wait
187
- fi
@@ -1,16 +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
-
14
- FOUNDATION_EXPORT double Pods_PluginTestsVersionNumber;
15
- FOUNDATION_EXPORT const unsigned char Pods_PluginTestsVersionString[];
16
-
@@ -1,14 +0,0 @@
1
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
4
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5
- HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor/Capacitor.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova/Cordova.framework/Headers"
6
- LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
7
- OTHER_LDFLAGS = $(inherited) -framework "Capacitor" -framework "Cordova" -framework "WebKit"
8
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
9
- PODS_BUILD_DIR = ${BUILD_DIR}
10
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
11
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
12
- PODS_ROOT = ${SRCROOT}/Pods
13
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
14
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -1,6 +0,0 @@
1
- framework module Pods_PluginTests {
2
- umbrella header "Pods-PluginTests-umbrella.h"
3
-
4
- export *
5
- module * { export * }
6
- }
@@ -1,14 +0,0 @@
1
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3
- FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova"
4
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5
- HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Capacitor/Capacitor.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/CapacitorCordova/Cordova.framework/Headers"
6
- LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
7
- OTHER_LDFLAGS = $(inherited) -framework "Capacitor" -framework "Cordova" -framework "WebKit"
8
- OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
9
- PODS_BUILD_DIR = ${BUILD_DIR}
10
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
11
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
12
- PODS_ROOT = ${SRCROOT}/Pods
13
- PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
14
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES