@capacitor-community/camera-preview 1.2.0 → 2.0.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 +61 -57
- 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 +155 -48
- package/ios/Plugin/Plugin.m +3 -0
- package/ios/Plugin/Plugin.swift +126 -47
- package/ios/Plugin.xcodeproj/project.pbxproj +4 -8
- package/ios/Podfile +2 -2
- package/ios/Podfile.lock +5 -5
- package/package.json +4 -3
- package/android/local.properties +0 -8
- package/ios/Plugin.xcodeproj/xcuserdata/nielsvanharen.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/ios/Plugin.xcworkspace/xcuserdata/arielhernandezmusa.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/nielsvanharen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
|
@@ -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,10 +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>
|
|
6
|
+
|
|
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>
|
|
2
11
|
|
|
3
|
-
|
|
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.
|
|
4
13
|
|
|
5
|
-
**
|
|
14
|
+
**PR's are greatly appreciated.**
|
|
6
15
|
|
|
7
|
-
|
|
16
|
+
-- [@arielhernandezmusa](https://github.com/arielhernandezmusa) and [@pbowyer](https://github.com/pbowyer), current maintainers
|
|
8
17
|
|
|
9
18
|
<!-- # Features
|
|
10
19
|
|
|
@@ -23,22 +32,6 @@ Capacitor plugin that allows camera interaction from Javascript and HTML (based
|
|
|
23
32
|
|
|
24
33
|
# Installation
|
|
25
34
|
|
|
26
|
-
<!-- Use any one of the installation methods listed below depending on which framework you use. -->
|
|
27
|
-
|
|
28
|
-
<!-- To install the master version with latest fixes and features -->
|
|
29
|
-
|
|
30
|
-
<!-- ```
|
|
31
|
-
cordova plugin add https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git
|
|
32
|
-
|
|
33
|
-
ionic cordova plugin add https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git
|
|
34
|
-
|
|
35
|
-
meteor add cordova:cordova-plugin-camera-preview@https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git#[latest_commit_id]
|
|
36
|
-
|
|
37
|
-
<plugin spec="https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git" source="git" />
|
|
38
|
-
``` -->
|
|
39
|
-
|
|
40
|
-
<!-- or if you want to use the last released version on npm -->
|
|
41
|
-
|
|
42
35
|
```
|
|
43
36
|
yarn add @capacitor-community/camera-preview
|
|
44
37
|
|
|
@@ -51,44 +44,19 @@ Then run
|
|
|
51
44
|
npx cap sync
|
|
52
45
|
```
|
|
53
46
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
import com.ahm.capacitor.camera.preview.CameraPreview;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
|
|
62
|
-
// Additional plugins you've installed go here
|
|
63
|
-
// Ex: add(TotallyAwesomePlugin.class);
|
|
64
|
-
add(CameraPreview.class);
|
|
65
|
-
}});
|
|
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" />
|
|
66
51
|
```
|
|
52
|
+
For more help consult the [Capacitor docs](https://capacitorjs.com/docs/android/configuration#configuring-androidmanifestxml).
|
|
67
53
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<!--
|
|
71
|
-
#### iOS Quirks
|
|
72
|
-
If you are developing for iOS 10+ you must also add the following to your config.xml
|
|
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`.
|
|
73
56
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<string>Allow the app to use your camera</string>
|
|
77
|
-
</config-file> -->
|
|
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
|
|
78
59
|
|
|
79
|
-
<!-- or for Phonegap -->
|
|
80
|
-
|
|
81
|
-
<!-- <gap:config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription" overwrite="true">
|
|
82
|
-
<string>Allow the app to use your camera</string>
|
|
83
|
-
</gap:config-file>
|
|
84
|
-
``` -->
|
|
85
|
-
<!--
|
|
86
|
-
#### Android Quirks (older devices)
|
|
87
|
-
When using the plugin for older devices, the camera preview will take the focus inside the app once initialized.
|
|
88
|
-
In order to prevent the app from closing when a user presses the back button, the event for the camera view is disabled.
|
|
89
|
-
If you still want the user to navigate, you can add a listener for the back event for the preview
|
|
90
|
-
(see <code>[onBackButton](#onBackButton)</code>)
|
|
91
|
-
-->
|
|
92
60
|
|
|
93
61
|
# Methods
|
|
94
62
|
|
|
@@ -110,6 +78,9 @@ Starts the camera preview instance.
|
|
|
110
78
|
| storeToFile | boolean | (optional) Capture images to a file and return back the file path instead of returning base64 encoded data, default false. |
|
|
111
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) |
|
|
112
80
|
| disableAudio | boolean | (optional) Disables audio stream to prevent permission requests, default false. (applicable to web only) |
|
|
81
|
+
| lockAndroidOrientation | boolean | (optional) Locks device orientation when camera is showing, default false. (applicable to Android only) |
|
|
82
|
+
| enableOpacity | boolean | (optional) Make the camera preview see-through. Ideal for augmented reality uses. Default false (applicable to Android and web only)
|
|
83
|
+
| enableZoom | boolean | (optional) Set if you can pinch to zoom. Default false (applicable to Android only)
|
|
113
84
|
|
|
114
85
|
<!-- <strong>Options:</strong>
|
|
115
86
|
All options stated are optional and will default to values here
|
|
@@ -146,7 +117,7 @@ ion-content {
|
|
|
146
117
|
--background: transparent;
|
|
147
118
|
}
|
|
148
119
|
```
|
|
149
|
-
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
|
|
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:
|
|
150
121
|
|
|
151
122
|
```css
|
|
152
123
|
.my-custom-camera-preview-content {
|
|
@@ -203,7 +174,7 @@ CameraPreview.hide();
|
|
|
203
174
|
<!-- <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/> -->
|
|
204
175
|
|
|
205
176
|
```javascript
|
|
206
|
-
import { CameraPreviewFlashMode } from '
|
|
177
|
+
import { CameraPreviewFlashMode } from '@capacitor-community/camera-preview';
|
|
207
178
|
|
|
208
179
|
const cameraPreviewPictureOptions: CameraPreviewPictureOptions = {
|
|
209
180
|
quality: 50
|
|
@@ -216,6 +187,28 @@ const base64PictureData = result.value;
|
|
|
216
187
|
|
|
217
188
|
```
|
|
218
189
|
|
|
190
|
+
### captureSample(options)
|
|
191
|
+
|
|
192
|
+
| Option | values | descriptions |
|
|
193
|
+
|----------|---------------|----------------------------------------------------------------------|
|
|
194
|
+
| quality | number | (optional) The picture quality, 0 - 100, default 85 |
|
|
195
|
+
|
|
196
|
+
<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/>
|
|
197
|
+
|
|
198
|
+
```javascript
|
|
199
|
+
import { CameraSampleOptions } from '@capacitor-community/camera-preview';
|
|
200
|
+
|
|
201
|
+
const cameraSampleOptions: CameraSampleOptions = {
|
|
202
|
+
quality: 50
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
const result = await CameraPreview.captureSample(cameraSampleOptions);
|
|
206
|
+
const base64PictureData = result.value;
|
|
207
|
+
|
|
208
|
+
// do something with base64PictureData
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
|
|
219
212
|
### getSupportedFlashModes()
|
|
220
213
|
|
|
221
214
|
<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/>
|
|
@@ -250,7 +243,7 @@ const cameraPreviewOptions: CameraPreviewOptions = {
|
|
|
250
243
|
CameraPreview.startRecordVideo(cameraPreviewOptions);
|
|
251
244
|
```
|
|
252
245
|
|
|
253
|
-
###
|
|
246
|
+
### stopRecordVideo() ---- ANDROID only
|
|
254
247
|
|
|
255
248
|
<info>Finish capturing a video. The captured video will be returned as a file path and the video format is .mp4</info><br/>
|
|
256
249
|
|
|
@@ -259,6 +252,15 @@ const resultRecordVideo = await CameraPreview.stopRecordVideo();
|
|
|
259
252
|
this.stopCamera();
|
|
260
253
|
```
|
|
261
254
|
|
|
255
|
+
### setOpacity(options: CameraOpacityOptions): Promise<{}>; ---- ANDROID only
|
|
256
|
+
|
|
257
|
+
<info>Set the opacity for the camera preview</info><br/>
|
|
258
|
+
|
|
259
|
+
```javascript
|
|
260
|
+
const myCamera = CameraPreview.start({enableOpacity: true});
|
|
261
|
+
myCamera.setOpacity({opacity: 0.4});
|
|
262
|
+
```
|
|
263
|
+
|
|
262
264
|
# Settings
|
|
263
265
|
|
|
264
266
|
<a name="camera_Settings.FlashMode"></a>
|
|
@@ -406,3 +408,5 @@ Created by Marcel Barbosa Pinto [@mbppower](https://github.com/mbppower)
|
|
|
406
408
|
# Demo
|
|
407
409
|
|
|
408
410
|
A working example can be found at [Demo](https://github.com/capacitor-community/camera-preview/tree/master/demo)
|
|
411
|
+
|
|
412
|
+
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>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.fragment:fragment:1.3.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.0.aar/959f99ebcacc5e82236e01f529b48892/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.0.aar/959f99ebcacc5e82236e01f529b48892/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.0.aar/959f99ebcacc5e82236e01f529b48892/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.0.aar/959f99ebcacc5e82236e01f529b48892/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.fragment:fragment:1.3.4@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.4.aar/112c2c6ab3e6160a02e56137f6801b52/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.4.aar/112c2c6ab3e6160a02e56137f6801b52/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.4.aar/112c2c6ab3e6160a02e56137f6801b52/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/fragment-1.3.4.aar/112c2c6ab3e6160a02e56137f6801b52/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES />
|
|
13
|
+
</library>
|
|
14
|
+
</component>
|