expo-media-library 18.3.0-canary-20251127-587bc53 → 18.3.0-canary-20251205-756eb7a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/next/ExpoMediaLibraryNext.d.ts +8 -1
  4. package/build/next/ExpoMediaLibraryNext.d.ts.map +1 -1
  5. package/build/next/ExpoMediaLibraryNext.js.map +1 -1
  6. package/expo-module.config.json +1 -1
  7. 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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.module} +7 -7
  8. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.module.md5 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.module.sha1 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.module.sha256 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.module.sha512 +1 -0
  12. 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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.pom} +1 -1
  13. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.pom.md5 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.pom.sha1 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.pom.sha256 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/18.3.0-canary-20251205-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.pom.sha512 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml +4 -4
  18. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.md5 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha1 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha256 +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.medialibrary/maven-metadata.xml.sha512 +1 -1
  22. package/package.json +3 -3
  23. package/src/next/ExpoMediaLibraryNext.ts +14 -1
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar} +0 -0
  33. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar.md5} +0 -0
  34. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar.sha1} +0 -0
  35. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar.sha256} +0 -0
  36. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar.sha512} +0 -0
  37. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar} +0 -0
  38. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar.md5} +0 -0
  39. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar.sha1} +0 -0
  40. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar.sha256} +0 -0
  41. /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-756eb7a/expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.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
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '18.3.0-canary-20251127-587bc53'
7
+ version = '18.3.0-canary-20251205-756eb7a'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.medialibrary"
11
11
  defaultConfig {
12
12
  versionCode 37
13
- versionName "18.3.0-canary-20251127-587bc53"
13
+ versionName "18.3.0-canary-20251205-756eb7a"
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;AAEtE,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;CACrB;;AAED,wBAAuF"}
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,EAAgB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAYtE,eAAe,mBAAmB,CAA6B,sBAAsB,CAAC,CAAC","sourcesContent":["import { NativeModule, requireNativeModule } from 'expo-modules-core';\n\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\nexport default requireNativeModule<ExpoMediaLibraryNextModule>('ExpoMediaLibraryNext');\n"]}
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"]}
@@ -11,7 +11,7 @@
11
11
  "publication": {
12
12
  "groupId": "host.exp.exponent",
13
13
  "artifactId": "expo.modules.medialibrary",
14
- "version": "18.3.0-canary-20251127-587bc53",
14
+ "version": "18.3.0-canary-20251205-756eb7a",
15
15
  "repository": "local-maven-repo"
16
16
  }
17
17
  }
@@ -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-20251127-587bc53",
6
+ "version": "18.3.0-canary-20251205-756eb7a",
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-20251127-587bc53.aar",
37
- "url": "expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar",
36
+ "name": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar",
37
+ "url": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.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-20251127-587bc53.aar",
87
- "url": "expo.modules.medialibrary-18.3.0-canary-20251127-587bc53.aar",
86
+ "name": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.aar",
87
+ "url": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a.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-20251127-587bc53-sources.jar",
107
- "url": "expo.modules.medialibrary-18.3.0-canary-20251127-587bc53-sources.jar",
106
+ "name": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar",
107
+ "url": "expo.modules.medialibrary-18.3.0-canary-20251205-756eb7a-sources.jar",
108
108
  "size": 80452,
109
109
  "sha512": "565d1b968acb4d9f2ef5ea031f796850d2d9adf11ec16fa5e35d176c3538e633ef98b587a6776e1b404e8f058cb6aab1313c33e367aba3260d3d0074e5e06de0",
110
110
  "sha256": "8927b191156cdc6caaf9a1f5592677c5f956f048495ba4e4c797b77c80cdbae0",
@@ -0,0 +1 @@
1
+ 424fe48519c2d7567cfabb380e848e53972e2f09a38dd99d2df3c7c6525e3cdad07758d1a6cb0c1549ee0f4e366c40f0247ebd7091a8dadfa97633385293a19d
@@ -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-20251127-587bc53</version>
12
+ <version>18.3.0-canary-20251205-756eb7a</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
+ c12890e57ca0cbb6071ead1c270d3941484eda17e4f6d2ed85e7391e228ce46044019d4696f73a847ced57b3eb2000bcf54042be4da01d102420b9ec1a4c070c
@@ -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-20251127-587bc53</latest>
7
- <release>18.3.0-canary-20251127-587bc53</release>
6
+ <latest>18.3.0-canary-20251205-756eb7a</latest>
7
+ <release>18.3.0-canary-20251205-756eb7a</release>
8
8
  <versions>
9
- <version>18.3.0-canary-20251127-587bc53</version>
9
+ <version>18.3.0-canary-20251205-756eb7a</version>
10
10
  </versions>
11
- <lastUpdated>20251127152250</lastUpdated>
11
+ <lastUpdated>20251205115914</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- a6cac5d753bfde7b7aec3c582e27f5aa
1
+ 39c7c7aeecd2f860f59c9459f85bdb31
@@ -1 +1 @@
1
- a427f6bafca64cedfe57b7fa2939c4ca34e86764
1
+ ea2d5bdbc574ff7ce016bf02d09f4791d3c7c385
@@ -1 +1 @@
1
- dc336947f3f3f434e7329d64028e8a14f3dd73954a51ebc36864cb198468e61f
1
+ d8100112fc55e0d4756fdbb755069769826fecba66a8fbebf71eb12aa6c314e8
@@ -1 +1 @@
1
- 383e237aefd9d32f7d8ee3aa90243fec1024626140d592a791620b6fca1595e36445d7417343add90ab1abde167a37733653089fa26c9220d9b57353a79d5f57
1
+ dd4d1e110f1914e5bff903efd9be26ac9ba6bc94e0b644bc17583b06097db524143865cf71c76a2c92f36ca749295905eeb179438ab5fc882e668e4e29f233a0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-media-library",
3
- "version": "18.3.0-canary-20251127-587bc53",
3
+ "version": "18.3.0-canary-20251205-756eb7a",
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-20251127-587bc53"
41
+ "expo-module-scripts": "5.1.0-canary-20251205-756eb7a"
42
42
  },
43
43
  "peerDependencies": {
44
- "expo": "55.0.0-canary-20251127-587bc53",
44
+ "expo": "55.0.0-canary-20251205-756eb7a",
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
- b79b1cce3b44cfe175a6141a87701c3e97f309ca855e5e479ba228c436d5dccbcc20182ccc248eb9ffc3dc72bcd36226cbcbf72564e86b65feff80c8abe402b6
@@ -1 +0,0 @@
1
- e16baaebe5492a148b487a3e9d2ffd60cb7e5ed1c26047a46ede1ca23b534e156efa7eff5b826358c3df3119c12feac3f639dac173beb32649236c75a4d32c7a