expo-media-library 18.3.0-canary-20251127-587bc53 → 18.3.0-canary-20251205-a1dedc6
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/CHANGELOG.md +4 -0
- package/android/build.gradle +2 -2
- package/build/next/ExpoMediaLibraryNext.d.ts +8 -1
- package/build/next/ExpoMediaLibraryNext.d.ts.map +1 -1
- package/build/next/ExpoMediaLibraryNext.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.module → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.pom → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/src/next/ExpoMediaLibraryNext.ts +14 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar.md5 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar.sha1 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar.sha256 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar.sha512 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar.md5 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar.sha1 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar.sha256 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/{18.3.0-canary-20251127-587bc53/expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar.sha512 → 18.3.0-canary-20251205-a1dedc6/expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
- Remove tests related files from the published package content. ([#39551](https://github.com/expo/expo/pull/39551) by [@Simek](https://github.com/Simek))
|
|
28
28
|
- [Android] Add `android:maxSdkVersion` annotation to `READ_EXTERNAL_STORAGE` and `WRITE_EXTERNAL_STORAGE` permissions. ([#40976](https://github.com/expo/expo/pull/40976) by [@behenate](https://github.com/behenate))
|
|
29
29
|
|
|
30
|
+
## 18.2.1 - 2025-12-05
|
|
31
|
+
|
|
32
|
+
_This version does not introduce any user-facing changes._
|
|
33
|
+
|
|
30
34
|
## 18.2.0 — 2025-09-16
|
|
31
35
|
|
|
32
36
|
### 🎉 New features
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '18.3.0-canary-
|
|
7
|
+
version = '18.3.0-canary-20251205-a1dedc6'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.medialibrary"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 37
|
|
13
|
-
versionName "18.3.0-canary-
|
|
13
|
+
versionName "18.3.0-canary-20251205-a1dedc6"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { NativeModule } from 'expo-modules-core';
|
|
1
|
+
import { NativeModule, PermissionResponse } from 'expo-modules-core';
|
|
2
|
+
import { GranularPermission } from './MediaLibraryNext.types';
|
|
2
3
|
import { Album } from './types/Album';
|
|
3
4
|
import { Asset } from './types/Asset';
|
|
4
5
|
import { Query } from './types/Query';
|
|
@@ -6,6 +7,12 @@ declare class ExpoMediaLibraryNextModule extends NativeModule {
|
|
|
6
7
|
Asset: typeof Asset;
|
|
7
8
|
Album: typeof Album;
|
|
8
9
|
Query: typeof Query;
|
|
10
|
+
createAsset(filePath: string, album?: Album): Promise<Asset>;
|
|
11
|
+
deleteAssets(assets: Asset[]): Promise<void>;
|
|
12
|
+
createAlbum(name: string, assetsRefs: string[] | Asset[], moveAssets?: boolean): Promise<Album>;
|
|
13
|
+
deleteAlbums(albums: Album[], deleteAssets?: boolean): Promise<void>;
|
|
14
|
+
getAlbum(title: string): Promise<Album | null>;
|
|
15
|
+
requestPermissionsAsync(writeOnly?: boolean, granularPermissions?: GranularPermission[]): Promise<PermissionResponse>;
|
|
9
16
|
}
|
|
10
17
|
declare const _default: ExpoMediaLibraryNextModule;
|
|
11
18
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpoMediaLibraryNext.d.ts","sourceRoot":"","sources":["../../src/next/ExpoMediaLibraryNext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExpoMediaLibraryNext.d.ts","sourceRoot":"","sources":["../../src/next/ExpoMediaLibraryNext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAuB,MAAM,mBAAmB,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,OAAO,OAAO,0BAA2B,SAAQ,YAAY;IAC3D,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,KAAK,EAAE,OAAO,KAAK,CAAC;IAEpB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5D,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAE5C,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC;IAC/F,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IACpE,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAE9C,uBAAuB,CACrB,SAAS,CAAC,EAAE,OAAO,EACnB,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,GACzC,OAAO,CAAC,kBAAkB,CAAC;CAC/B;;AAED,wBAAuF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpoMediaLibraryNext.js","sourceRoot":"","sources":["../../src/next/ExpoMediaLibraryNext.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ExpoMediaLibraryNext.js","sourceRoot":"","sources":["../../src/next/ExpoMediaLibraryNext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAyB1F,eAAe,mBAAmB,CAA6B,sBAAsB,CAAC,CAAC","sourcesContent":["import { NativeModule, PermissionResponse, requireNativeModule } from 'expo-modules-core';\n\nimport { GranularPermission } from './MediaLibraryNext.types';\nimport { Album } from './types/Album';\nimport { Asset } from './types/Asset';\nimport { Query } from './types/Query';\n\ndeclare class ExpoMediaLibraryNextModule extends NativeModule {\n Asset: typeof Asset;\n Album: typeof Album;\n Query: typeof Query;\n\n createAsset(filePath: string, album?: Album): Promise<Asset>;\n deleteAssets(assets: Asset[]): Promise<void>;\n\n createAlbum(name: string, assetsRefs: string[] | Asset[], moveAssets?: boolean): Promise<Album>;\n deleteAlbums(albums: Album[], deleteAssets?: boolean): Promise<void>;\n getAlbum(title: string): Promise<Album | null>;\n\n requestPermissionsAsync(\n writeOnly?: boolean,\n granularPermissions?: GranularPermission[]\n ): Promise<PermissionResponse>;\n}\n\nexport default requireNativeModule<ExpoMediaLibraryNextModule>('ExpoMediaLibraryNext');\n"]}
|
package/expo-module.config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.medialibrary",
|
|
6
|
-
"version": "18.3.0-canary-
|
|
6
|
+
"version": "18.3.0-canary-20251205-a1dedc6",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"files": [
|
|
35
35
|
{
|
|
36
|
-
"name": "expo.modules.medialibrary-18.3.0-canary-
|
|
37
|
-
"url": "expo.modules.medialibrary-18.3.0-canary-
|
|
36
|
+
"name": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar",
|
|
37
|
+
"url": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar",
|
|
38
38
|
"size": 595904,
|
|
39
39
|
"sha512": "c9df08f8545615ceff5a7a94c95771e34d486cce22be97a9592e440b7812e89d8e844cced5219fcc0d8c29d30f79701ff91b8b1c39dcd8188b3d8e1a0521f2e6",
|
|
40
40
|
"sha256": "810ab3fc4e90f5fd17cffe23b0019e1b025c8fd3ec0710581a691473928e4aea",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
],
|
|
84
84
|
"files": [
|
|
85
85
|
{
|
|
86
|
-
"name": "expo.modules.medialibrary-18.3.0-canary-
|
|
87
|
-
"url": "expo.modules.medialibrary-18.3.0-canary-
|
|
86
|
+
"name": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar",
|
|
87
|
+
"url": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6.aar",
|
|
88
88
|
"size": 595904,
|
|
89
89
|
"sha512": "c9df08f8545615ceff5a7a94c95771e34d486cce22be97a9592e440b7812e89d8e844cced5219fcc0d8c29d30f79701ff91b8b1c39dcd8188b3d8e1a0521f2e6",
|
|
90
90
|
"sha256": "810ab3fc4e90f5fd17cffe23b0019e1b025c8fd3ec0710581a691473928e4aea",
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
},
|
|
104
104
|
"files": [
|
|
105
105
|
{
|
|
106
|
-
"name": "expo.modules.medialibrary-18.3.0-canary-
|
|
107
|
-
"url": "expo.modules.medialibrary-18.3.0-canary-
|
|
106
|
+
"name": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar",
|
|
107
|
+
"url": "expo.modules.medialibrary-18.3.0-canary-20251205-a1dedc6-sources.jar",
|
|
108
108
|
"size": 80452,
|
|
109
109
|
"sha512": "565d1b968acb4d9f2ef5ea031f796850d2d9adf11ec16fa5e35d176c3538e633ef98b587a6776e1b404e8f058cb6aab1313c33e367aba3260d3d0074e5e06de0",
|
|
110
110
|
"sha256": "8927b191156cdc6caaf9a1f5592677c5f956f048495ba4e4c797b77c80cdbae0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f6b7fff9c9f5aed2a0fbabc93689154
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a8b2680e6bbf3b80986f1d9f0d8aa9b94fbe557d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2cb2e215aae50e88abd8a6aca3699d9138072e61c907515025725337707ee60e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ee3b12753108e969093e980130b1f825d8f118878af02218467371355a6ead8e30209dd996c9b6cd04b772f372a3894ba4797cc709bdf23b7d42793f4288487d
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.medialibrary</artifactId>
|
|
12
|
-
<version>18.3.0-canary-
|
|
12
|
+
<version>18.3.0-canary-20251205-a1dedc6</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.medialibrary</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ccd79654ee23cab2f6d95b460ebdc3ea
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
29021566e42b2318e5693db849d4e7295bd60429
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5d6a5f67533fea12fe938d4448970d206e6ca5c5302caea7b16e10909892a821
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bafb966d5303287ea5810925982c59afc6093ffce2124a4fc82c7e98afa68f298f5114f058062dd5954dd3be34cb17a6b1b13ec51ed3e87cec53e5aa414fa84e
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.medialibrary</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>18.3.0-canary-
|
|
7
|
-
<release>18.3.0-canary-
|
|
6
|
+
<latest>18.3.0-canary-20251205-a1dedc6</latest>
|
|
7
|
+
<release>18.3.0-canary-20251205-a1dedc6</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>18.3.0-canary-
|
|
9
|
+
<version>18.3.0-canary-20251205-a1dedc6</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20251205162233</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
807669fa7547b79e82e8229886f640cc
|
package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4c5e46ebc620f0392f9d32172b4efb7bdc5f5b79
|
package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
54ebd86bb5d2fe9e24a1a3290ef5a216e9f82e7eb132fcb2000a35258475e622
|
package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3c8af5f226299c771eb9e329d3e8da5b5e520b0a05d42aa7f8b37cea3390472617cd29c6601103d713bfb7581af897ef351485526fac51e28f4835e564470988
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-media-library",
|
|
3
|
-
"version": "18.3.0-canary-
|
|
3
|
+
"version": "18.3.0-canary-20251205-a1dedc6",
|
|
4
4
|
"description": "Provides access to user's media library.",
|
|
5
5
|
"main": "build/MediaLibrary.js",
|
|
6
6
|
"types": "build/MediaLibrary.d.ts",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"preset": "expo-module-scripts"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"expo-module-scripts": "5.1.0-canary-
|
|
41
|
+
"expo-module-scripts": "5.1.0-canary-20251205-a1dedc6"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"expo": "55.0.0-canary-
|
|
44
|
+
"expo": "55.0.0-canary-20251205-a1dedc6",
|
|
45
45
|
"react-native": "*"
|
|
46
46
|
},
|
|
47
47
|
"codegenConfig": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { NativeModule, requireNativeModule } from 'expo-modules-core';
|
|
1
|
+
import { NativeModule, PermissionResponse, requireNativeModule } from 'expo-modules-core';
|
|
2
2
|
|
|
3
|
+
import { GranularPermission } from './MediaLibraryNext.types';
|
|
3
4
|
import { Album } from './types/Album';
|
|
4
5
|
import { Asset } from './types/Asset';
|
|
5
6
|
import { Query } from './types/Query';
|
|
@@ -8,6 +9,18 @@ declare class ExpoMediaLibraryNextModule extends NativeModule {
|
|
|
8
9
|
Asset: typeof Asset;
|
|
9
10
|
Album: typeof Album;
|
|
10
11
|
Query: typeof Query;
|
|
12
|
+
|
|
13
|
+
createAsset(filePath: string, album?: Album): Promise<Asset>;
|
|
14
|
+
deleteAssets(assets: Asset[]): Promise<void>;
|
|
15
|
+
|
|
16
|
+
createAlbum(name: string, assetsRefs: string[] | Asset[], moveAssets?: boolean): Promise<Album>;
|
|
17
|
+
deleteAlbums(albums: Album[], deleteAssets?: boolean): Promise<void>;
|
|
18
|
+
getAlbum(title: string): Promise<Album | null>;
|
|
19
|
+
|
|
20
|
+
requestPermissionsAsync(
|
|
21
|
+
writeOnly?: boolean,
|
|
22
|
+
granularPermissions?: GranularPermission[]
|
|
23
|
+
): Promise<PermissionResponse>;
|
|
11
24
|
}
|
|
12
25
|
|
|
13
26
|
export default requireNativeModule<ExpoMediaLibraryNextModule>('ExpoMediaLibraryNext');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
dbfb7c837accaa0fef15611deef20089
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c57554a8e060f9eddadee4d34228b7720a8a6d90
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
90d0f2c6177d568069e907a69f712b941c0fdf144e26486522de9283c170c8dc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b79b1cce3b44cfe175a6141a87701c3e97f309ca855e5e479ba228c436d5dccbcc20182ccc248eb9ffc3dc72bcd36226cbcbf72564e86b65feff80c8abe402b6
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d4f52690d843eb736bfd5d955b8d768b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
19de177f27e26dd93b13ae17a20fd83c17b9e115
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
58cbd1815a373ca502379118414bf8eb5617ad2ae07040d521765579732c9f44
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e16baaebe5492a148b487a3e9d2ffd60cb7e5ed1c26047a46ede1ca23b534e156efa7eff5b826358c3df3119c12feac3f639dac173beb32649236c75a4d32c7a
|
|
File without changes
|