@capacitor-community/camera-preview 2.0.0-beta.0 → 2.1.0
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.
- package/CapacitorCommunityCameraPreview.podspec +3 -2
- package/LICENSE +21 -0
- package/README.md +80 -61
- package/android/.gradle/4.10.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/4.10.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/4.10.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/4.10.1/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +20 -0
- package/android/.idea/jarRepositories.xml +45 -0
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_2_3_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_2_0.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_3_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_1_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_core_core_1_3_2_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_core_core_1_5_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_exifinterface_exifinterface_1_3_2_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_3_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_3_4_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_3_0.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_3_1.xml +9 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_3_1_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_3_1_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_3_1_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_savedstate_2_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_savedstate_2_3_1_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_1_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_core_1_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_1_0_alpha3_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_1_0_alpha3_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_2_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_monitor_1_1_0_alpha3_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_monitor_1_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_runner_1_1_0_alpha3_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_test_runner_1_3_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_tracing_tracing_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_1_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1.xml +9 -0
- package/android/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml +9 -0
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +9 -0
- package/android/.idea/libraries/Gradle__junit_junit_4_12.xml +9 -0
- package/android/.idea/libraries/Gradle__junit_junit_4_13_1.xml +9 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_10_18.xml +9 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_10_18.xml +9 -0
- package/android/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml +9 -0
- package/android/.idea/libraries/Gradle__org_apache_cordova_framework_7_0_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml +9 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml +9 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml +9 -0
- package/android/.idea/libraries/Gradle__org_json_json_20140107.xml +9 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_core_3_6_28.xml +9 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_inline_3_6_28.xml +9 -0
- package/android/.idea/libraries/Gradle__org_objenesis_objenesis_3_1.xml +9 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/modules/1419750366/android.capacitor-android.iml +92 -0
- package/android/.idea/modules/android.iml +87 -0
- package/android/.idea/modules.xml +9 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build.gradle +4 -4
- package/android/src/main/java/com/ahm/capacitor/camera/preview/CameraActivity.java +128 -70
- package/android/src/main/java/com/ahm/capacitor/camera/preview/CameraPreview.java +163 -118
- package/android/src/main/java/com/ahm/capacitor/camera/preview/CustomTextureView.java +31 -0
- package/android/src/main/java/com/ahm/capacitor/camera/preview/Preview.java +96 -19
- package/dist/esm/definitions.d.ts +18 -5
- package/dist/esm/definitions.js +1 -0
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +8 -1
- package/dist/esm/web.js +95 -77
- package/dist/esm/web.js.map +1 -1
- package/ios/Plugin/CameraController.swift +237 -48
- package/ios/Plugin/Plugin.m +3 -0
- package/ios/Plugin/Plugin.swift +130 -46
- package/ios/Plugin.xcodeproj/project.pbxproj +2 -6
- package/ios/Podfile +2 -2
- package/ios/Podfile.lock +4 -4
- package/package.json +7 -6
- package/android/local.properties +0 -8
- package/ios/Plugin.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/ios/Plugin.xcodeproj/xcuserdata/nielsvanharen.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/ios/Plugin.xcworkspace/xcuserdata/ahernandez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/arielhernandezmusa.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/nielsvanharen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Pods/CapacitorCordova/LICENSE +0 -23
- package/ios/Pods/CapacitorCordova/README.md +0 -39
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/CapacitorCordova.h +0 -21
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.h +0 -8
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/AppDelegate.m +0 -5
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDV.h +0 -28
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVAvailability.h +0 -109
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegate.h +0 -51
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.h +0 -39
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVCommandDelegateImpl.m +0 -154
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.h +0 -31
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVConfigParser.m +0 -81
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.h +0 -52
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVInvokedUrlCommand.m +0 -116
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.h +0 -81
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPlugin.m +0 -154
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h +0 -25
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.m +0 -77
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.h +0 -82
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginResult.m +0 -216
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVScreenOrientationDelegate.h +0 -33
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.h +0 -41
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUIWebViewDelegate.m +0 -399
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.h +0 -27
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVURLProtocol.m +0 -74
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.h +0 -27
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVUserAgentUtil.m +0 -156
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.h +0 -30
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVViewController.m +0 -34
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.h +0 -35
- package/ios/Pods/CapacitorCordova/ios/CapacitorCordova/CapacitorCordova/Classes/Public/NSDictionary+CordovaPreferences.m +0 -63
- package/ios/Pods/Local Podspecs/Capacitor.podspec.json +0 -31
- package/ios/Pods/Manifest.lock +0 -23
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1296
- package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Capacitor.xcscheme +0 -60
- package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/ahernandez.xcuserdatad/xcschemes/xcschememanagement.plist +0 -39
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +0 -26
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +0 -5
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +0 -12
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +0 -13
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +0 -7
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +0 -13
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +0 -26
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +0 -5
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +0 -12
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-umbrella.h +0 -32
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +0 -12
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +0 -6
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +0 -12
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +0 -26
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +0 -57
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +0 -95
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +0 -5
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +0 -16
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +0 -13
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +0 -6
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +0 -13
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +0 -26
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +0 -57
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +0 -95
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +0 -5
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +0 -187
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +0 -16
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +0 -14
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +0 -6
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +0 -14
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
Pod::Spec.new do |s|
|
|
3
3
|
s.name = 'CapacitorCommunityCameraPreview'
|
|
4
|
-
s.version = '0.0
|
|
4
|
+
s.version = '2.0.0'
|
|
5
5
|
s.summary = 'Camera preview'
|
|
6
6
|
s.license = 'MIT'
|
|
7
7
|
s.homepage = 'https://github.com/capacitor-community/camera-preview.git'
|
|
8
8
|
s.author = 'Ariel Hernandez Musa'
|
|
9
9
|
s.source = { :git => 'https://github.com/capacitor-community/camera-preview.git', :tag => s.version.to_s }
|
|
10
10
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
11
|
-
s.ios.deployment_target = '
|
|
11
|
+
s.ios.deployment_target = '12.0'
|
|
12
12
|
s.dependency 'Capacitor'
|
|
13
|
+
s.swift_version = '5.1'
|
|
13
14
|
end
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Ariel Hernandez Musa.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
|
|
2
|
+
<h3 align="center">Capacitor Camera Preview</h3>
|
|
3
|
+
<p align="center"><strong><code>@capacitor-community/camera-preview</code></strong></p>
|
|
4
|
+
<br>
|
|
5
|
+
<p align="center"><strong>CAPACITOR 3</strong></p><br>
|
|
2
6
|
|
|
3
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
Capacitor plugin that allows camera interaction from Javascript and HTML<br>(based on cordova-plugin-camera-preview).
|
|
9
|
+
</p>
|
|
10
|
+
<br>
|
|
4
11
|
|
|
5
|
-
|
|
12
|
+
Version 2 of this plugin is compatible with Ionic 5+ and Capacitor 3. If your project uses Capacitor 2, please make sure you install [version 1](https://github.com/capacitor-community/camera-preview/releases/tag/v1.2.1) of this plugin.
|
|
6
13
|
|
|
7
|
-
**
|
|
14
|
+
**PR's are greatly appreciated.**
|
|
8
15
|
|
|
9
|
-
|
|
16
|
+
-- [@arielhernandezmusa](https://github.com/arielhernandezmusa) and [@pbowyer](https://github.com/pbowyer), current maintainers
|
|
10
17
|
|
|
11
18
|
<!-- # Features
|
|
12
19
|
|
|
@@ -25,22 +32,6 @@ Capacitor plugin that allows camera interaction from Javascript and HTML (based
|
|
|
25
32
|
|
|
26
33
|
# Installation
|
|
27
34
|
|
|
28
|
-
<!-- Use any one of the installation methods listed below depending on which framework you use. -->
|
|
29
|
-
|
|
30
|
-
<!-- To install the master version with latest fixes and features -->
|
|
31
|
-
|
|
32
|
-
<!-- ```
|
|
33
|
-
cordova plugin add https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git
|
|
34
|
-
|
|
35
|
-
ionic cordova plugin add https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git
|
|
36
|
-
|
|
37
|
-
meteor add cordova:cordova-plugin-camera-preview@https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git#[latest_commit_id]
|
|
38
|
-
|
|
39
|
-
<plugin spec="https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git" source="git" />
|
|
40
|
-
``` -->
|
|
41
|
-
|
|
42
|
-
<!-- or if you want to use the last released version on npm -->
|
|
43
|
-
|
|
44
35
|
```
|
|
45
36
|
yarn add @capacitor-community/camera-preview
|
|
46
37
|
|
|
@@ -53,44 +44,19 @@ Then run
|
|
|
53
44
|
npx cap sync
|
|
54
45
|
```
|
|
55
46
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
import com.ahm.capacitor.camera.preview.CameraPreview;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
|
|
64
|
-
// Additional plugins you've installed go here
|
|
65
|
-
// Ex: add(TotallyAwesomePlugin.class);
|
|
66
|
-
add(CameraPreview.class);
|
|
67
|
-
}});
|
|
47
|
+
## Extra Android installation steps
|
|
48
|
+
Open `android/app/src/main/AndroidManifest.xml` and above the closing `</manifest>` tag add this line to request the CAMERA permission:
|
|
49
|
+
```xml
|
|
50
|
+
<uses-permission android:name="android.permission.CAMERA" />
|
|
68
51
|
```
|
|
52
|
+
For more help consult the [Capacitor docs](https://capacitorjs.com/docs/android/configuration#configuring-androidmanifestxml).
|
|
69
53
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<!--
|
|
73
|
-
#### iOS Quirks
|
|
74
|
-
If you are developing for iOS 10+ you must also add the following to your config.xml
|
|
75
|
-
|
|
76
|
-
```xml
|
|
77
|
-
<config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription" overwrite="true">
|
|
78
|
-
<string>Allow the app to use your camera</string>
|
|
79
|
-
</config-file> -->
|
|
54
|
+
## Extra iOS installation steps
|
|
55
|
+
You will need to add two permissions to `Info.plist`. Follow the [Capacitor docs](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) and add permissions with the raw keys `NSCameraUsageDescription` and `NSMicrophoneUsageDescription`.
|
|
80
56
|
|
|
81
|
-
|
|
57
|
+
## Extra Web installation steps
|
|
58
|
+
Add `import '@capacitor-community/camera-preview'` to you entry script in ionic on `app.module.ts`, so capacitor can register the web platform from the plugin
|
|
82
59
|
|
|
83
|
-
<!-- <gap:config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription" overwrite="true">
|
|
84
|
-
<string>Allow the app to use your camera</string>
|
|
85
|
-
</gap:config-file>
|
|
86
|
-
``` -->
|
|
87
|
-
<!--
|
|
88
|
-
#### Android Quirks (older devices)
|
|
89
|
-
When using the plugin for older devices, the camera preview will take the focus inside the app once initialized.
|
|
90
|
-
In order to prevent the app from closing when a user presses the back button, the event for the camera view is disabled.
|
|
91
|
-
If you still want the user to navigate, you can add a listener for the back event for the preview
|
|
92
|
-
(see <code>[onBackButton](#onBackButton)</code>)
|
|
93
|
-
-->
|
|
94
60
|
|
|
95
61
|
# Methods
|
|
96
62
|
|
|
@@ -111,7 +77,11 @@ Starts the camera preview instance.
|
|
|
111
77
|
| rotateWhenOrientationChanged | boolean | (optional) Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) |
|
|
112
78
|
| storeToFile | boolean | (optional) Capture images to a file and return back the file path instead of returning base64 encoded data, default false. |
|
|
113
79
|
| disableExifHeaderStripping | boolean | (optional) Disable automatic rotation of the image, and let the browser deal with it, default true (applicable to the android and ios platforms only) |
|
|
80
|
+
| enableHighResolution | boolean | (optional) Defaults to false - iOS only - Activate high resolution image capture so that output images are from the highest resolution possible on the device |
|
|
114
81
|
| disableAudio | boolean | (optional) Disables audio stream to prevent permission requests, default false. (applicable to web only) |
|
|
82
|
+
| lockAndroidOrientation | boolean | (optional) Locks device orientation when camera is showing, default false. (applicable to Android only) |
|
|
83
|
+
| enableOpacity | boolean | (optional) Make the camera preview see-through. Ideal for augmented reality uses. Default false (applicable to Android and web only)
|
|
84
|
+
| enableZoom | boolean | (optional) Set if you can pinch to zoom. Default false (applicable to the android and ios platforms only)
|
|
115
85
|
|
|
116
86
|
<!-- <strong>Options:</strong>
|
|
117
87
|
All options stated are optional and will default to values here
|
|
@@ -129,9 +99,7 @@ All options stated are optional and will default to values here
|
|
|
129
99
|
* `disableExifHeaderStripping` - Defaults to false - **Android Only** - Disable automatic rotation of the image, and let the browser deal with it (keep reading on how to achieve it) -->
|
|
130
100
|
|
|
131
101
|
```javascript
|
|
132
|
-
import {
|
|
133
|
-
const { CameraPreview } = Plugins;
|
|
134
|
-
import { CameraPreviewOptions } from '@capacitor-community/camera-preview';
|
|
102
|
+
import { CameraPreview, CameraPreviewOptions } from '@capacitor-community/camera-preview';
|
|
135
103
|
|
|
136
104
|
const cameraPreviewOptions: CameraPreviewOptions = {
|
|
137
105
|
position: 'rear',
|
|
@@ -148,7 +116,8 @@ ion-content {
|
|
|
148
116
|
--background: transparent;
|
|
149
117
|
}
|
|
150
118
|
```
|
|
151
|
-
|
|
119
|
+
|
|
120
|
+
Take into account that this will make transparent all ion-content on application, if you want to show camera preview only in one page, just add a custom class to your ion-content and make it transparent:
|
|
152
121
|
|
|
153
122
|
```css
|
|
154
123
|
.my-custom-camera-preview-content {
|
|
@@ -156,6 +125,23 @@ Take into account that this will make transparent all ion-content on application
|
|
|
156
125
|
}
|
|
157
126
|
```
|
|
158
127
|
|
|
128
|
+
If the camera preview is not displaying after applying the above styles, apply transparent background color to the root div element of the parent component
|
|
129
|
+
Ex: VueJS >> App.vue component
|
|
130
|
+
```html
|
|
131
|
+
<template>
|
|
132
|
+
<ion-app id="app">
|
|
133
|
+
<ion-router-outlet />
|
|
134
|
+
</ion-app>
|
|
135
|
+
</template>
|
|
136
|
+
|
|
137
|
+
<style>
|
|
138
|
+
#app {
|
|
139
|
+
background-color: transparent !important;
|
|
140
|
+
}
|
|
141
|
+
<style>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
|
|
159
145
|
### stop()
|
|
160
146
|
|
|
161
147
|
<info>Stops the camera preview instance.</info><br/>
|
|
@@ -205,7 +191,7 @@ CameraPreview.hide();
|
|
|
205
191
|
<!-- <info>Take the picture. If width and height are not specified or are 0 it will use the defaults. If width and height are specified, it will choose a supported photo size that is closest to width and height specified and has closest aspect ratio to the preview. The argument `quality` defaults to `85` and specifies the quality/compression value: `0=max compression`, `100=max quality`.</info><br/> -->
|
|
206
192
|
|
|
207
193
|
```javascript
|
|
208
|
-
import {
|
|
194
|
+
import { CameraPreviewPictureOptions } from '@capacitor-community/camera-preview';
|
|
209
195
|
|
|
210
196
|
const cameraPreviewPictureOptions: CameraPreviewPictureOptions = {
|
|
211
197
|
quality: 50
|
|
@@ -218,6 +204,28 @@ const base64PictureData = result.value;
|
|
|
218
204
|
|
|
219
205
|
```
|
|
220
206
|
|
|
207
|
+
### captureSample(options)
|
|
208
|
+
|
|
209
|
+
| Option | values | descriptions |
|
|
210
|
+
|----------|---------------|----------------------------------------------------------------------|
|
|
211
|
+
| quality | number | (optional) The picture quality, 0 - 100, default 85 |
|
|
212
|
+
|
|
213
|
+
<info>Captures a sample image from the video stream. Only for Android and iOS, web implementation falls back to `capture` method. This can be used to perform real-time analysis on the current frame in the video. The argument `quality` defaults to `85` and specifies the quality/compression value: `0=max compression`, `100=max quality`.</info><br/>
|
|
214
|
+
|
|
215
|
+
```javascript
|
|
216
|
+
import { CameraSampleOptions } from '@capacitor-community/camera-preview';
|
|
217
|
+
|
|
218
|
+
const cameraSampleOptions: CameraSampleOptions = {
|
|
219
|
+
quality: 50
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
const result = await CameraPreview.captureSample(cameraSampleOptions);
|
|
223
|
+
const base64PictureData = result.value;
|
|
224
|
+
|
|
225
|
+
// do something with base64PictureData
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
|
|
221
229
|
### getSupportedFlashModes()
|
|
222
230
|
|
|
223
231
|
<info>Get the flash modes supported by the camera device currently started. Returns an array containing supported flash modes. See <code>[FLASH_MODE](#camera_Settings.FlashMode)</code> for possible values that can be returned</info><br/>
|
|
@@ -252,7 +260,7 @@ const cameraPreviewOptions: CameraPreviewOptions = {
|
|
|
252
260
|
CameraPreview.startRecordVideo(cameraPreviewOptions);
|
|
253
261
|
```
|
|
254
262
|
|
|
255
|
-
###
|
|
263
|
+
### stopRecordVideo() ---- ANDROID only
|
|
256
264
|
|
|
257
265
|
<info>Finish capturing a video. The captured video will be returned as a file path and the video format is .mp4</info><br/>
|
|
258
266
|
|
|
@@ -261,6 +269,15 @@ const resultRecordVideo = await CameraPreview.stopRecordVideo();
|
|
|
261
269
|
this.stopCamera();
|
|
262
270
|
```
|
|
263
271
|
|
|
272
|
+
### setOpacity(options: CameraOpacityOptions): Promise<{}>; ---- ANDROID only
|
|
273
|
+
|
|
274
|
+
<info>Set the opacity for the camera preview</info><br/>
|
|
275
|
+
|
|
276
|
+
```javascript
|
|
277
|
+
const myCamera = CameraPreview.start({enableOpacity: true});
|
|
278
|
+
myCamera.setOpacity({opacity: 0.4});
|
|
279
|
+
```
|
|
280
|
+
|
|
264
281
|
# Settings
|
|
265
282
|
|
|
266
283
|
<a name="camera_Settings.FlashMode"></a>
|
|
@@ -408,3 +425,5 @@ Created by Marcel Barbosa Pinto [@mbppower](https://github.com/mbppower)
|
|
|
408
425
|
# Demo
|
|
409
426
|
|
|
410
427
|
A working example can be found at [Demo](https://github.com/capacitor-community/camera-preview/tree/master/demo)
|
|
428
|
+
|
|
429
|
+
To run the demo on your local network and access media devices, a secure context is needed. Add an `.env` file at the root of the demo folder with `HTTPS=true` to start react with HTTPS.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
+
<component name="GradleSettings">
|
|
5
|
+
<option name="linkedExternalProjectsSettings">
|
|
6
|
+
<GradleProjectSettings>
|
|
7
|
+
<option name="testRunner" value="GRADLE" />
|
|
8
|
+
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
+
<option name="modules">
|
|
11
|
+
<set>
|
|
12
|
+
<option value="$PROJECT_DIR$" />
|
|
13
|
+
<option value="$PROJECT_DIR$/../node_modules/@capacitor/android/capacitor" />
|
|
14
|
+
</set>
|
|
15
|
+
</option>
|
|
16
|
+
<option name="resolveModulePerSourceSet" value="false" />
|
|
17
|
+
</GradleProjectSettings>
|
|
18
|
+
</option>
|
|
19
|
+
</component>
|
|
20
|
+
</project>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
+
<remote-repository>
|
|
5
|
+
<option name="id" value="central" />
|
|
6
|
+
<option name="name" value="Maven Central repository" />
|
|
7
|
+
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
+
</remote-repository>
|
|
9
|
+
<remote-repository>
|
|
10
|
+
<option name="id" value="jboss.community" />
|
|
11
|
+
<option name="name" value="JBoss Community repository" />
|
|
12
|
+
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
+
</remote-repository>
|
|
14
|
+
<remote-repository>
|
|
15
|
+
<option name="id" value="MavenRepo" />
|
|
16
|
+
<option name="name" value="MavenRepo" />
|
|
17
|
+
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
|
18
|
+
</remote-repository>
|
|
19
|
+
<remote-repository>
|
|
20
|
+
<option name="id" value="$USER_HOME$/Library/Android/sdk/extras/m2repository" />
|
|
21
|
+
<option name="name" value="$USER_HOME$/Library/Android/sdk/extras/m2repository" />
|
|
22
|
+
<option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/m2repository" />
|
|
23
|
+
</remote-repository>
|
|
24
|
+
<remote-repository>
|
|
25
|
+
<option name="id" value="$USER_HOME$/Library/Android/sdk/extras/google/m2repository" />
|
|
26
|
+
<option name="name" value="$USER_HOME$/Library/Android/sdk/extras/google/m2repository" />
|
|
27
|
+
<option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/google/m2repository" />
|
|
28
|
+
</remote-repository>
|
|
29
|
+
<remote-repository>
|
|
30
|
+
<option name="id" value="BintrayJCenter" />
|
|
31
|
+
<option name="name" value="BintrayJCenter" />
|
|
32
|
+
<option name="url" value="https://jcenter.bintray.com/" />
|
|
33
|
+
</remote-repository>
|
|
34
|
+
<remote-repository>
|
|
35
|
+
<option name="id" value="$USER_HOME$/Library/Android/sdk/extras/android/m2repository" />
|
|
36
|
+
<option name="name" value="$USER_HOME$/Library/Android/sdk/extras/android/m2repository" />
|
|
37
|
+
<option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/android/m2repository" />
|
|
38
|
+
</remote-repository>
|
|
39
|
+
<remote-repository>
|
|
40
|
+
<option name="id" value="Google" />
|
|
41
|
+
<option name="name" value="Google" />
|
|
42
|
+
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
43
|
+
</remote-repository>
|
|
44
|
+
</component>
|
|
45
|
+
</project>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.activity:activity:1.2.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.0.aar/a00e980e7373e3c1264eea2ea40a4306/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.0.aar/a00e980e7373e3c1264eea2ea40a4306/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.0.aar/a00e980e7373e3c1264eea2ea40a4306/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.0.aar/a00e980e7373e3c1264eea2ea40a4306/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.activity:activity:1.2.3@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.3.aar/7d04ca02a74d7ddbf005e01247139cd7/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.3.aar/7d04ca02a74d7ddbf005e01247139cd7/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.3.aar/7d04ca02a74d7ddbf005e01247139cd7/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/activity-1.2.3.aar/7d04ca02a74d7ddbf005e01247139cd7/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.annotation:annotation:1.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/e3a6fb2f40e3a3842e6b7472628ba4ce416ea4c8/annotation-1.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES />
|
|
8
|
+
</library>
|
|
9
|
+
</component>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.annotation:annotation:1.2.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.2.0/57136ff68ee784c6e19db34ed4a175338fadfde1/annotation-1.2.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES />
|
|
8
|
+
</library>
|
|
9
|
+
</component>
|
package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.annotation:annotation-experimental:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/annotation-experimental-1.0.0.aar/b80073ea51a8a4abb90083f9e775f7a6/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/annotation-experimental-1.0.0.aar/b80073ea51a8a4abb90083f9e775f7a6/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/annotation-experimental-1.0.0.aar/b80073ea51a8a4abb90083f9e775f7a6/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat:1.2.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.2.0.aar/f49c0939043f2316680fadbeac301be6/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.2.0.aar/f49c0939043f2316680fadbeac301be6/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.2.0.aar/f49c0939043f2316680fadbeac301be6/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.2.0.aar/f49c0939043f2316680fadbeac301be6/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat:1.3.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.3.0.aar/55f41c53035a70ded8147eae160ee0f3/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.3.0.aar/55f41c53035a70ded8147eae160ee0f3/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.3.0.aar/55f41c53035a70ded8147eae160ee0f3/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-1.3.0.aar/55f41c53035a70ded8147eae160ee0f3/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat-resources:1.2.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.2.0.aar/a8231bca9d578de7e6d3f85e1b70812d/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.2.0.aar/a8231bca9d578de7e6d3f85e1b70812d/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.2.0.aar/a8231bca9d578de7e6d3f85e1b70812d/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat-resources:1.3.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.3.0.aar/a27893bfeaab9d337ee94e0da3fd89de/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.3.0.aar/a27893bfeaab9d337ee94e0da3fd89de/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/appcompat-resources-1.3.0.aar/a27893bfeaab9d337ee94e0da3fd89de/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.arch.core:core-common:2.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.1.0/b3152fc64428c9354344bd89848ecddc09b6f07e/core-common-2.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES />
|
|
8
|
+
</library>
|
|
9
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.arch.core:core-runtime:2.1.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-runtime-2.1.0.aar/15b35476bb7ca6e1e764d438491247ba/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-runtime-2.1.0.aar/15b35476bb7ca6e1e764d438491247ba/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-runtime-2.1.0.aar/15b35476bb7ca6e1e764d438491247ba/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.collection:collection:1.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES />
|
|
8
|
+
</library>
|
|
9
|
+
</component>
|
package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.coordinatorlayout:coordinatorlayout:1.1.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/coordinatorlayout-1.1.0.aar/0820383a09dfde804725e2dd7ac61f69/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/coordinatorlayout-1.1.0.aar/0820383a09dfde804725e2dd7ac61f69/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/coordinatorlayout-1.1.0.aar/0820383a09dfde804725e2dd7ac61f69/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/coordinatorlayout-1.1.0.aar/0820383a09dfde804725e2dd7ac61f69/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.core:core:1.3.2@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.3.2.aar/a693f241748ec48e46877e6ca44bd060/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.3.2.aar/a693f241748ec48e46877e6ca44bd060/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.3.2.aar/a693f241748ec48e46877e6ca44bd060/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.3.2.aar/a693f241748ec48e46877e6ca44bd060/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.core:core:1.5.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.5.0.aar/b7d3a442fb0a8dc809106ef6a3781050/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.5.0.aar/b7d3a442fb0a8dc809106ef6a3781050/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.5.0.aar/b7d3a442fb0a8dc809106ef6a3781050/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/core-1.5.0.aar/b7d3a442fb0a8dc809106ef6a3781050/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/cursoradapter-1.0.0.aar/49e15d74ca0c4fc62b1e4a5b09f6bc9b/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/cursoradapter-1.0.0.aar/49e15d74ca0c4fc62b1e4a5b09f6bc9b/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/cursoradapter-1.0.0.aar/49e15d74ca0c4fc62b1e4a5b09f6bc9b/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.customview:customview:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-1.0.0.aar/d86157a8e1ef05313beb901fb3f3abaf/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-1.0.0.aar/d86157a8e1ef05313beb901fb3f3abaf/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-1.0.0.aar/d86157a8e1ef05313beb901fb3f3abaf/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.drawerlayout:drawerlayout:1.0.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/drawerlayout-1.0.0.aar/da79aaa00d09e5f51c7393a44c25cbd0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/drawerlayout-1.0.0.aar/da79aaa00d09e5f51c7393a44c25cbd0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/drawerlayout-1.0.0.aar/da79aaa00d09e5f51c7393a44c25cbd0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/drawerlayout-1.0.0.aar/da79aaa00d09e5f51c7393a44c25cbd0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.exifinterface:exifinterface:1.3.2@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/exifinterface-1.3.2.aar/ac15c9c9e5efe0e87935fa5fd9700187/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/exifinterface-1.3.2.aar/ac15c9c9e5efe0e87935fa5fd9700187/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/exifinterface-1.3.2.aar/ac15c9c9e5efe0e87935fa5fd9700187/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/exifinterface-1.3.2.aar/ac15c9c9e5efe0e87935fa5fd9700187/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|