react-native-picture-selector 1.0.7 → 1.0.8
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/android/build/.transforms/ba747d365a043495d2095617e18fe065/results.bin +1 -0
- package/android/build/.transforms/ba747d365a043495d2095617e18fe065/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/com/margelo/pictureselector/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +43 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-picture-selector_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/margelo/pictureselector/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +64 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +43 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml +8 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +58 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-picture-selector_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/CompressOptions$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/CompressOptions.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/CropOptions$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/CropOptions.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/HybridHybridPictureSelectorSpec$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/HybridHybridPictureSelectorSpec$CxxPart.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/HybridHybridPictureSelectorSpec.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/MediaAsset$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/MediaAsset.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/MediaType$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/MediaType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/NitroPictureSelectorOnLoad$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/NitroPictureSelectorOnLoad.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/PickerTheme$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/PickerTheme.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/PictureSelectorOptions$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/nitro/com/margelo/pictureselector/PictureSelectorOptions.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/GlideEngine$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/GlideEngine.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openCamera$1$1$1$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openCamera$1$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openCamera$1$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openCamera$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openPicker$1$1$1$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openPicker$1$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector$openPicker$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/HybridPictureSelector.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/LubanCompressEngine$onStartCompress$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/LubanCompressEngine.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/MediaAssetMapper.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/NitroPictureSelectorPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/PictureSelectorException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/PictureSelectorFileProvider.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/PictureSelectorOptionsMapper$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/PictureSelectorOptionsMapper.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/UCropEngine.class +0 -0
- package/android/build.gradle +2 -3
- package/android/src/main/AndroidManifest.xml +2 -2
- package/android/src/main/kotlin/com/margelo/pictureselector/HybridPictureSelector.kt +3 -4
- package/android/src/main/kotlin/com/margelo/pictureselector/LubanCompressEngine.kt +0 -1
- package/android/src/main/kotlin/com/margelo/pictureselector/MediaAssetMapper.kt +1 -1
- package/android/src/main/kotlin/com/margelo/pictureselector/NitroPictureSelectorPackage.kt +2 -13
- package/android/src/main/kotlin/com/margelo/pictureselector/PictureSelectorFileProvider.kt +5 -0
- package/android/src/main/kotlin/com/margelo/pictureselector/PictureSelectorOptionsMapper.kt +24 -5
- package/android/src/main/kotlin/com/margelo/pictureselector/UCropEngine.kt +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/classes
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automatically generated file. DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
package com.margelo.pictureselector;
|
|
5
|
+
|
|
6
|
+
public final class BuildConfig {
|
|
7
|
+
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
8
|
+
public static final String LIBRARY_PACKAGE_NAME = "com.margelo.pictureselector";
|
|
9
|
+
public static final String BUILD_TYPE = "debug";
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
package="com.margelo.pictureselector" >
|
|
4
|
+
|
|
5
|
+
<uses-sdk android:minSdkVersion="24" />
|
|
6
|
+
|
|
7
|
+
<!-- ─── Permissions ───────────────────────────────────────────────────── -->
|
|
8
|
+
|
|
9
|
+
<uses-permission android:name="android.permission.CAMERA" />
|
|
10
|
+
|
|
11
|
+
<!-- Android ≤ 12 (API 32) -->
|
|
12
|
+
<uses-permission
|
|
13
|
+
android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
14
|
+
android:maxSdkVersion="32" />
|
|
15
|
+
|
|
16
|
+
<!-- Android 13+ (API 33+) granular media permissions -->
|
|
17
|
+
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
|
18
|
+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
|
19
|
+
|
|
20
|
+
<!-- Required to write camera captures on Android ≤ 9 (API 28) -->
|
|
21
|
+
<uses-permission
|
|
22
|
+
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
23
|
+
android:maxSdkVersion="32" />
|
|
24
|
+
|
|
25
|
+
<application>
|
|
26
|
+
|
|
27
|
+
<!--
|
|
28
|
+
FileProvider is required by PictureSelector for sharing URIs on
|
|
29
|
+
Android 7+ (API 24+). The authority must match the one used in
|
|
30
|
+
PictureSelectorOptionsMapper (${applicationId}.fileprovider).
|
|
31
|
+
-->
|
|
32
|
+
<provider
|
|
33
|
+
android:name="com.margelo.pictureselector.PictureSelectorFileProvider"
|
|
34
|
+
android:authorities="dollar_openBracket_applicationId_closeBracket.fileprovider"
|
|
35
|
+
android:exported="false"
|
|
36
|
+
android:grantUriPermissions="true" >
|
|
37
|
+
<meta-data
|
|
38
|
+
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
39
|
+
android:resource="@xml/file_paths" />
|
|
40
|
+
</provider>
|
|
41
|
+
</application>
|
|
42
|
+
|
|
43
|
+
</manifest>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"artifactType": {
|
|
4
|
+
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
|
5
|
+
"kind": "Directory"
|
|
6
|
+
},
|
|
7
|
+
"applicationId": "com.margelo.pictureselector",
|
|
8
|
+
"variantName": "debug",
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"type": "SINGLE",
|
|
12
|
+
"filters": [],
|
|
13
|
+
"attributes": [],
|
|
14
|
+
"outputFile": "AndroidManifest.xml"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"elementType": "File"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"compiler-4.16.0.jar (com.github.bumptech.glide:compiler:4.16.0)":"INCREMENTAL_AP"}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
int xml file_paths 0x0
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#Thu Mar 05 15:30:09 MSK 2026
|
|
2
|
+
com.margelo.pictureselector.react-native-picture-selector-main-6\:/xml/file_paths.xml=C\:\\Home\\work\\autonomus-app\\node_modules\\react-native-picture-selector\\android\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\xml\\file_paths.xml
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\src\main\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\src\main\res"><file name="file_paths" path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\src\main\res\xml\file_paths.xml" qualifiers="" type="xml"/></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\autonomus-app\node_modules\react-native-picture-selector\android\build\generated\res\resValues\debug"/></dataSet><mergedItems/></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\main\assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\debug\assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\build\intermediates\shader_assets\debug\compileDebugShaders\out"/></dataSet></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\main\jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\debug\jniLibs"/></dataSet></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\main\shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Home\work\modules\react-native-picture-selector\android\src\debug\shaders"/></dataSet></merger>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
1<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
3 package="com.margelo.pictureselector" >
|
|
4
|
+
4
|
|
5
|
+
5 <uses-sdk android:minSdkVersion="24" />
|
|
6
|
+
6
|
|
7
|
+
7 <!-- ─── Permissions ───────────────────────────────────────────────────── -->
|
|
8
|
+
8
|
|
9
|
+
9 <uses-permission android:name="android.permission.CAMERA" />
|
|
10
|
+
9-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:6:3-63
|
|
11
|
+
9-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:6:20-60
|
|
12
|
+
10
|
|
13
|
+
11 <!-- Android ≤ 12 (API 32) -->
|
|
14
|
+
12 <uses-permission
|
|
15
|
+
12-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:9:3-11:34
|
|
16
|
+
13 android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
17
|
+
13-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:10:5-60
|
|
18
|
+
14 android:maxSdkVersion="32" />
|
|
19
|
+
14-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:11:5-31
|
|
20
|
+
15
|
|
21
|
+
16 <!-- Android 13+ (API 33+) granular media permissions -->
|
|
22
|
+
17 <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
|
23
|
+
17-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:14:3-74
|
|
24
|
+
17-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:14:20-71
|
|
25
|
+
18 <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
|
26
|
+
18-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:15:3-73
|
|
27
|
+
18-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:15:20-70
|
|
28
|
+
19
|
|
29
|
+
20 <!-- Required to write camera captures on Android ≤ 9 (API 28) -->
|
|
30
|
+
21 <uses-permission
|
|
31
|
+
21-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:18:3-20:34
|
|
32
|
+
22 android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
33
|
+
22-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:19:5-61
|
|
34
|
+
23 android:maxSdkVersion="32" />
|
|
35
|
+
23-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:20:5-31
|
|
36
|
+
24
|
|
37
|
+
25 <application>
|
|
38
|
+
25-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:22:3-37:17
|
|
39
|
+
26
|
|
40
|
+
27 <!--
|
|
41
|
+
28 FileProvider is required by PictureSelector for sharing URIs on
|
|
42
|
+
29 Android 7+ (API 24+). The authority must match the one used in
|
|
43
|
+
30 PictureSelectorOptionsMapper (${applicationId}.fileprovider).
|
|
44
|
+
31 -->
|
|
45
|
+
32 <provider
|
|
46
|
+
32-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:28:5-36:16
|
|
47
|
+
33 android:name="com.margelo.pictureselector.PictureSelectorFileProvider"
|
|
48
|
+
33-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:29:7-77
|
|
49
|
+
34 android:authorities="${applicationId}.fileprovider"
|
|
50
|
+
34-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:30:7-58
|
|
51
|
+
35 android:exported="false"
|
|
52
|
+
35-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:31:7-31
|
|
53
|
+
36 android:grantUriPermissions="true" >
|
|
54
|
+
36-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:32:7-41
|
|
55
|
+
37 <meta-data
|
|
56
|
+
37-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:33:7-35:46
|
|
57
|
+
38 android:name="android.support.FILE_PROVIDER_PATHS"
|
|
58
|
+
38-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:34:9-59
|
|
59
|
+
39 android:resource="@xml/file_paths" />
|
|
60
|
+
39-->C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:35:9-43
|
|
61
|
+
40 </provider>
|
|
62
|
+
41 </application>
|
|
63
|
+
42
|
|
64
|
+
43</manifest>
|
package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
package="com.margelo.pictureselector" >
|
|
4
|
+
|
|
5
|
+
<uses-sdk android:minSdkVersion="24" />
|
|
6
|
+
|
|
7
|
+
<!-- ─── Permissions ───────────────────────────────────────────────────── -->
|
|
8
|
+
|
|
9
|
+
<uses-permission android:name="android.permission.CAMERA" />
|
|
10
|
+
|
|
11
|
+
<!-- Android ≤ 12 (API 32) -->
|
|
12
|
+
<uses-permission
|
|
13
|
+
android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
14
|
+
android:maxSdkVersion="32" />
|
|
15
|
+
|
|
16
|
+
<!-- Android 13+ (API 33+) granular media permissions -->
|
|
17
|
+
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
|
18
|
+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
|
19
|
+
|
|
20
|
+
<!-- Required to write camera captures on Android ≤ 9 (API 28) -->
|
|
21
|
+
<uses-permission
|
|
22
|
+
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
23
|
+
android:maxSdkVersion="32" />
|
|
24
|
+
|
|
25
|
+
<application>
|
|
26
|
+
|
|
27
|
+
<!--
|
|
28
|
+
FileProvider is required by PictureSelector for sharing URIs on
|
|
29
|
+
Android 7+ (API 24+). The authority must match the one used in
|
|
30
|
+
PictureSelectorOptionsMapper (${applicationId}.fileprovider).
|
|
31
|
+
-->
|
|
32
|
+
<provider
|
|
33
|
+
android:name="com.margelo.pictureselector.PictureSelectorFileProvider"
|
|
34
|
+
android:authorities="${applicationId}.fileprovider"
|
|
35
|
+
android:exported="false"
|
|
36
|
+
android:grantUriPermissions="true" >
|
|
37
|
+
<meta-data
|
|
38
|
+
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
39
|
+
android:resource="@xml/file_paths" />
|
|
40
|
+
</provider>
|
|
41
|
+
</application>
|
|
42
|
+
|
|
43
|
+
</manifest>
|
package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0 Warning/Error
|
package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<paths>
|
|
3
|
+
<external-path name="external" path="." />
|
|
4
|
+
<external-cache-path name="external_cache" path="." />
|
|
5
|
+
<cache-path name="cache" path="." />
|
|
6
|
+
<files-path name="files" path="." />
|
|
7
|
+
<external-files-path name="external_files" path="." />
|
|
8
|
+
</paths>
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
ADDED
|
Binary file
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:2:1-39:12
|
|
4
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:2:1-39:12
|
|
5
|
+
package
|
|
6
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml
|
|
7
|
+
xmlns:android
|
|
8
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:2:11-69
|
|
9
|
+
uses-permission#android.permission.CAMERA
|
|
10
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:6:3-63
|
|
11
|
+
android:name
|
|
12
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:6:20-60
|
|
13
|
+
uses-permission#android.permission.READ_EXTERNAL_STORAGE
|
|
14
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:9:3-11:34
|
|
15
|
+
android:maxSdkVersion
|
|
16
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:11:5-31
|
|
17
|
+
android:name
|
|
18
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:10:5-60
|
|
19
|
+
uses-permission#android.permission.READ_MEDIA_IMAGES
|
|
20
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:14:3-74
|
|
21
|
+
android:name
|
|
22
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:14:20-71
|
|
23
|
+
uses-permission#android.permission.READ_MEDIA_VIDEO
|
|
24
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:15:3-73
|
|
25
|
+
android:name
|
|
26
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:15:20-70
|
|
27
|
+
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
|
|
28
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:18:3-20:34
|
|
29
|
+
android:maxSdkVersion
|
|
30
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:20:5-31
|
|
31
|
+
android:name
|
|
32
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:19:5-61
|
|
33
|
+
application
|
|
34
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:22:3-37:17
|
|
35
|
+
provider#com.margelo.pictureselector.PictureSelectorFileProvider
|
|
36
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:28:5-36:16
|
|
37
|
+
android:grantUriPermissions
|
|
38
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:32:7-41
|
|
39
|
+
android:authorities
|
|
40
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:30:7-58
|
|
41
|
+
android:exported
|
|
42
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:31:7-31
|
|
43
|
+
android:name
|
|
44
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:29:7-77
|
|
45
|
+
meta-data#android.support.FILE_PROVIDER_PATHS
|
|
46
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:33:7-35:46
|
|
47
|
+
android:resource
|
|
48
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:35:9-43
|
|
49
|
+
android:name
|
|
50
|
+
ADDED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml:34:9-59
|
|
51
|
+
uses-sdk
|
|
52
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml reason: use-sdk injection requested
|
|
53
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml
|
|
54
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml
|
|
55
|
+
android:targetSdkVersion
|
|
56
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml
|
|
57
|
+
android:minSdkVersion
|
|
58
|
+
INJECTED from C:\Home\work\modules\react-native-picture-selector\android\src\main\AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/LubanCompressEngine.class
ADDED
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/margelo/pictureselector/MediaAssetMapper.class
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -73,7 +73,6 @@ dependencies {
|
|
|
73
73
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
74
74
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
|
|
75
75
|
|
|
76
|
-
// ─── Nitro bridge
|
|
77
|
-
|
|
78
|
-
// provided by the consuming app's node_modules.
|
|
76
|
+
// ─── Nitro bridge ────────────────────────────────────────────────────────
|
|
77
|
+
implementation project(":react-native-nitro-modules")
|
|
79
78
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<!-- Required to write camera captures on Android ≤ 9 (API 28) -->
|
|
18
18
|
<uses-permission
|
|
19
19
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
20
|
-
android:maxSdkVersion="
|
|
20
|
+
android:maxSdkVersion="32" />
|
|
21
21
|
|
|
22
22
|
<application>
|
|
23
23
|
<!--
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
PictureSelectorOptionsMapper (${applicationId}.fileprovider).
|
|
27
27
|
-->
|
|
28
28
|
<provider
|
|
29
|
-
android:name="
|
|
29
|
+
android:name="com.margelo.pictureselector.PictureSelectorFileProvider"
|
|
30
30
|
android:authorities="${applicationId}.fileprovider"
|
|
31
31
|
android:exported="false"
|
|
32
32
|
android:grantUriPermissions="true">
|
|
@@ -2,7 +2,7 @@ package com.margelo.pictureselector
|
|
|
2
2
|
|
|
3
3
|
import android.app.Activity
|
|
4
4
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
5
|
-
import com.luck.picture.lib.PictureSelector
|
|
5
|
+
import com.luck.picture.lib.basic.PictureSelector
|
|
6
6
|
import com.luck.picture.lib.config.SelectMimeType
|
|
7
7
|
import com.luck.picture.lib.entity.LocalMedia
|
|
8
8
|
import com.luck.picture.lib.interfaces.OnResultCallbackListener
|
|
@@ -66,7 +66,7 @@ class HybridPictureSelector(
|
|
|
66
66
|
.also { builder ->
|
|
67
67
|
PictureSelectorOptionsMapper.applyGallery(builder, options)
|
|
68
68
|
}
|
|
69
|
-
.forResult(object : OnResultCallbackListener<LocalMedia>
|
|
69
|
+
.forResult(object : OnResultCallbackListener<LocalMedia> {
|
|
70
70
|
override fun onResult(result: ArrayList<LocalMedia>) {
|
|
71
71
|
cont.resume(MediaAssetMapper.map(result))
|
|
72
72
|
}
|
|
@@ -95,11 +95,10 @@ class HybridPictureSelector(
|
|
|
95
95
|
suspendCoroutine { cont ->
|
|
96
96
|
PictureSelector.create(activity)
|
|
97
97
|
.openCamera(mimeType)
|
|
98
|
-
.setImageEngine(GlideEngine.createGlideEngine())
|
|
99
98
|
.also { builder ->
|
|
100
99
|
PictureSelectorOptionsMapper.applyCamera(builder, options)
|
|
101
100
|
}
|
|
102
|
-
.forResult(object : OnResultCallbackListener<LocalMedia>
|
|
101
|
+
.forResult(object : OnResultCallbackListener<LocalMedia> {
|
|
103
102
|
override fun onResult(result: ArrayList<LocalMedia>) {
|
|
104
103
|
cont.resume(MediaAssetMapper.map(result))
|
|
105
104
|
}
|
|
@@ -38,7 +38,6 @@ class LubanCompressEngine(
|
|
|
38
38
|
.load(source)
|
|
39
39
|
.ignoreBy(100) // skip files under 100 KB
|
|
40
40
|
.setTargetDir(context.cacheDir.absolutePath)
|
|
41
|
-
.quality(quality) // 0–100 JPEG quality
|
|
42
41
|
.setCompressListener(object : OnNewCompressListener {
|
|
43
42
|
override fun onStart() {
|
|
44
43
|
// no-op
|
|
@@ -50,7 +50,7 @@ object MediaAssetMapper {
|
|
|
50
50
|
fileSize = media.size.toDouble(), // API REQUIRES VERIFICATION: field name
|
|
51
51
|
editedUri = editedPath,
|
|
52
52
|
isOriginal = null,
|
|
53
|
-
bucketName = media.
|
|
53
|
+
bucketName = media.parentFolderName,
|
|
54
54
|
)
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -4,7 +4,7 @@ import com.facebook.react.ReactPackage
|
|
|
4
4
|
import com.facebook.react.bridge.NativeModule
|
|
5
5
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
6
|
import com.facebook.react.uimanager.ViewManager
|
|
7
|
-
import com.margelo.nitro.
|
|
7
|
+
import com.margelo.nitro.com.margelo.pictureselector.NitroPictureSelectorOnLoad
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* React Native Package that registers the Nitro HybridObject.
|
|
@@ -31,18 +31,7 @@ class NitroPictureSelectorPackage : ReactPackage {
|
|
|
31
31
|
override fun createNativeModules(
|
|
32
32
|
reactContext: ReactApplicationContext,
|
|
33
33
|
): List<NativeModule> {
|
|
34
|
-
|
|
35
|
-
// NitroModules.createHybridObject<HybridPictureSelector>('PictureSelector').
|
|
36
|
-
NitroModules.addHybridObjectCreator("PictureSelector") {
|
|
37
|
-
try {
|
|
38
|
-
HybridPictureSelector(reactContext)
|
|
39
|
-
} catch (e: Exception) {
|
|
40
|
-
throw RuntimeException(
|
|
41
|
-
"[react-native-picture-selector] Failed to create HybridPictureSelector: ${e.message}",
|
|
42
|
-
e
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
}
|
|
34
|
+
NitroPictureSelectorOnLoad.initializeNative()
|
|
46
35
|
return emptyList()
|
|
47
36
|
}
|
|
48
37
|
|
|
@@ -47,25 +47,44 @@ object PictureSelectorOptionsMapper {
|
|
|
47
47
|
*/
|
|
48
48
|
@JvmStatic
|
|
49
49
|
fun applyCamera(
|
|
50
|
-
builder: com.luck.picture.lib.basic.
|
|
50
|
+
builder: com.luck.picture.lib.basic.PictureSelectionCameraModel,
|
|
51
51
|
options: PictureSelectorOptions,
|
|
52
52
|
) {
|
|
53
|
-
|
|
53
|
+
applyCommonCamera(builder, options)
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// ─── Shared options ──────────────────────────────────────────────────────
|
|
57
57
|
|
|
58
|
+
private fun applyCommonCamera(
|
|
59
|
+
builder: com.luck.picture.lib.basic.PictureSelectionCameraModel,
|
|
60
|
+
options: PictureSelectorOptions,
|
|
61
|
+
) {
|
|
62
|
+
options.maxVideoDuration?.let { sec ->
|
|
63
|
+
builder.setSelectMaxDurationSecond(sec.toInt())
|
|
64
|
+
}
|
|
65
|
+
options.minVideoDuration?.let { sec ->
|
|
66
|
+
builder.setSelectMinDurationSecond(sec.toInt())
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
val compress = options.compress
|
|
70
|
+
if (compress != null && compress.enabled) {
|
|
71
|
+
val quality = (((compress.quality ?: 0.8) * 100).toInt()).coerceIn(10, 100)
|
|
72
|
+
val maxWidth = (compress.maxWidth ?: 1920.0).toInt()
|
|
73
|
+
val maxHeight = (compress.maxHeight ?: 1920.0).toInt()
|
|
74
|
+
builder.setCompressEngine(LubanCompressEngine(quality, maxWidth, maxHeight))
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
58
78
|
private fun applyCommon(
|
|
59
79
|
builder: com.luck.picture.lib.basic.PictureSelectionModel,
|
|
60
80
|
options: PictureSelectorOptions,
|
|
61
81
|
) {
|
|
62
82
|
// ── Video duration limits ─────────────────────────────────────────────
|
|
63
|
-
// PictureSelector v3 accepts duration in seconds.
|
|
64
83
|
options.maxVideoDuration?.let { sec ->
|
|
65
|
-
builder.
|
|
84
|
+
builder.setSelectMaxDurationSecond(sec.toInt())
|
|
66
85
|
}
|
|
67
86
|
options.minVideoDuration?.let { sec ->
|
|
68
|
-
builder.
|
|
87
|
+
builder.setSelectMinDurationSecond(sec.toInt())
|
|
69
88
|
}
|
|
70
89
|
|
|
71
90
|
// ── Crop engine ───────────────────────────────────────────────────────
|
package/package.json
CHANGED