expo-image 2.3.2 → 2.3.3-canary-20250701-6a945c5

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 (56) hide show
  1. package/CHANGELOG.md +14 -10
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/expo/modules/image/ExpoImageViewWrapper.kt +24 -5
  4. package/android/src/main/java/expo/modules/image/okhttp/GlideUrlWrapperLoader.kt +1 -1
  5. package/build/ExpoImage.web.d.ts +1 -1
  6. package/build/ExpoImage.web.d.ts.map +1 -1
  7. package/build/Image.types.d.ts +9 -5
  8. package/build/Image.types.d.ts.map +1 -1
  9. package/build/web/ImageWrapper.d.ts.map +1 -1
  10. package/expo-module.config.json +1 -1
  11. package/local-maven-repo/BareExpo/expo.modules.image/{2.3.2/expo.modules.image-2.3.2-sources.jar → 2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar} +0 -0
  12. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar.md5 +1 -0
  13. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar.sha1 +1 -0
  14. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar.sha256 +1 -0
  15. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar.sha512 +1 -0
  16. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.aar +0 -0
  17. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.aar.md5 +1 -0
  18. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.aar.sha1 +1 -0
  19. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.aar.sha256 +1 -0
  20. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.aar.sha512 +1 -0
  21. package/local-maven-repo/BareExpo/expo.modules.image/{2.3.2/expo.modules.image-2.3.2.module → 2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.module} +24 -24
  22. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.module.md5 +1 -0
  23. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.module.sha1 +1 -0
  24. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.module.sha256 +1 -0
  25. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.module.sha512 +1 -0
  26. package/local-maven-repo/BareExpo/expo.modules.image/{2.3.2/expo.modules.image-2.3.2.pom → 2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.pom} +2 -2
  27. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.pom.md5 +1 -0
  28. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.pom.sha1 +1 -0
  29. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.pom.sha256 +1 -0
  30. package/local-maven-repo/BareExpo/expo.modules.image/2.3.3-canary-20250701-6a945c5/expo.modules.image-2.3.3-canary-20250701-6a945c5.pom.sha512 +1 -0
  31. package/local-maven-repo/BareExpo/expo.modules.image/maven-metadata.xml +4 -4
  32. package/local-maven-repo/BareExpo/expo.modules.image/maven-metadata.xml.md5 +1 -1
  33. package/local-maven-repo/BareExpo/expo.modules.image/maven-metadata.xml.sha1 +1 -1
  34. package/local-maven-repo/BareExpo/expo.modules.image/maven-metadata.xml.sha256 +1 -1
  35. package/local-maven-repo/BareExpo/expo.modules.image/maven-metadata.xml.sha512 +1 -1
  36. package/package.json +4 -5
  37. package/src/ExpoImage.web.tsx +2 -1
  38. package/src/Image.types.ts +9 -5
  39. package/src/web/ImageWrapper.tsx +8 -1
  40. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2-sources.jar.md5 +0 -1
  41. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2-sources.jar.sha1 +0 -1
  42. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2-sources.jar.sha256 +0 -1
  43. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2-sources.jar.sha512 +0 -1
  44. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.aar +0 -0
  45. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.aar.md5 +0 -1
  46. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.aar.sha1 +0 -1
  47. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.aar.sha256 +0 -1
  48. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.aar.sha512 +0 -1
  49. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.module.md5 +0 -1
  50. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.module.sha1 +0 -1
  51. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.module.sha256 +0 -1
  52. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.module.sha512 +0 -1
  53. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.pom.md5 +0 -1
  54. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.pom.sha1 +0 -1
  55. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.pom.sha256 +0 -1
  56. package/local-maven-repo/BareExpo/expo.modules.image/2.3.2/expo.modules.image-2.3.2.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -8,15 +8,15 @@
8
8
 
9
9
  ### 🐛 Bug fixes
10
10
 
11
- ### 💡 Others
12
-
13
- ## 2.3.2 2025-07-01
11
+ - [Android] Fix animation resuming by casting image to GifDrawable. ([#37363](https://github.com/expo/expo/pull/37363) by [@Wenszel](https://github.com/Wenszel))
12
+ - [Web] Fix `alt` as an alias for `accessibilityLabel` ([#37682](https://github.com/expo/expo/pull/37682) by [@huextrat](https://github.com/huextrat))
13
+ - [iOS] Use specified cache type when no transformation is applied ([#37777](https://github.com/expo/expo/pull/37777) by [@jakex7](https://github.com/jakex7))
14
14
 
15
- ### 🐛 Bug fixes
15
+ ### 💡 Others
16
16
 
17
- - [iOS] Use specified cache type when no transformation is applied ([#37777](https://github.com/expo/expo/pull/37777) by [@jakex7](https://github.com/jakex7))
17
+ ### 📚 3rd party library updates
18
18
 
19
- ## 2.3.1 2025-07-01
19
+ ## 2.3.1 - 2025-07-01
20
20
 
21
21
  ### 🐛 Bug fixes
22
22
 
@@ -26,17 +26,21 @@
26
26
 
27
27
  - [Android] Bumped GIF Glide plugin to 3.0.5 for Android 16KB page size support. ([#37454](https://github.com/expo/expo/pull/37454) by [@kudo](https://github.com/kudo))
28
28
 
29
- ## 2.3.0 2025-06-11
29
+ ## 2.3.0 - 2025-06-11
30
30
 
31
31
  ### 🛠 Breaking changes
32
32
 
33
33
  - [iOS] `useAppleWebpCodec` has been moved from the source object to the component's prop to make it usable with the local assets. ([#37300](https://github.com/expo/expo/pull/37300) by [@tsapeta](https://github.com/tsapeta))
34
34
 
35
- ## 2.2.1 2025-06-10
35
+ ### 🐛 Bug fixes
36
+
37
+ - [iOS] Fix blurry images when using `tintColor` by scaling `imageThumbnailPixelSize` with screen density. ([#37235](https://github.com/expo/expo/pull/37235) by [@hirbod](https://github.com/hirbod))
38
+
39
+ ## 2.2.1 - 2025-06-10
36
40
 
37
41
  _This version does not introduce any user-facing changes._
38
42
 
39
- ## 2.2.0 2025-06-04
43
+ ## 2.2.0 - 2025-06-04
40
44
 
41
45
  ### 🎉 New features
42
46
 
@@ -47,7 +51,7 @@ _This version does not introduce any user-facing changes._
47
51
  - Fix React Server Components support. ([#36801](https://github.com/expo/expo/pull/36801) by [@EvanBacon](https://github.com/EvanBacon))
48
52
  - [iOS] Fix PhotoLibrary assets being scaled twice. ([#36776](https://github.com/expo/expo/pull/36776) by [@alanjhughes](https://github.com/alanjhughes))
49
53
  - [iOS] Don't add transformers when unnecessary. ([#36884](https://github.com/expo/expo/pull/36884) by [@jakex7](https://github.com/jakex7))
50
- - [iOS] Fix blurry images when using `tintColor` by scaling `imageThumbnailPixelSize` with screen density. ([#37235](https://github.com/expo/expo/pull/37235) by [@hirbod](https://github.com/hirbod))
54
+ - [Web] Fix `tintColor` in React 19. ([#37133](https://github.com/expo/expo/pull/37133) by [@bradleyayers](https://github.com/bradleyayers))
51
55
 
52
56
  ## 2.1.7 — 2025-05-06
53
57
 
@@ -8,7 +8,7 @@ android {
8
8
  namespace "expo.modules.image"
9
9
  defaultConfig {
10
10
  versionCode 1
11
- versionName "2.3.2"
11
+ versionName "2.3.3-canary-20250701-6a945c5"
12
12
  consumerProguardFiles("proguard-rules.pro")
13
13
 
14
14
  buildConfigField("boolean", "ALLOW_GLIDE_LOGS", project.properties.get("EXPO_ALLOW_GLIDE_LOGS", "false"))
@@ -18,6 +18,7 @@ import com.bumptech.glide.RequestManager
18
18
  import com.bumptech.glide.load.engine.DiskCacheStrategy
19
19
  import com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
20
20
  import com.bumptech.glide.request.RequestOptions
21
+ import com.github.penfeizhou.animation.gif.GifDrawable
21
22
  import expo.modules.image.enums.ContentFit
22
23
  import expo.modules.image.enums.Priority
23
24
  import expo.modules.image.events.GlideRequestListener
@@ -169,14 +170,32 @@ class ExpoImageViewWrapper(context: Context, appContext: AppContext) : ExpoView(
169
170
  internal var cachePolicy: CachePolicy = CachePolicy.DISK
170
171
 
171
172
  fun setIsAnimating(setAnimating: Boolean) {
172
- val resource = activeView.drawable
173
+ // Animatable animations always start from the beginning when resumed.
174
+ // So we check first if the resource is a GifDrawable, because it can continue
175
+ // from where it was paused.
176
+ when (val resource = activeView.drawable) {
177
+ is GifDrawable -> setIsAnimating(resource, setAnimating)
178
+ is Animatable -> setIsAnimating(resource, setAnimating)
179
+ }
180
+ }
173
181
 
174
- if (resource is Animatable) {
175
- if (setAnimating) {
176
- resource.start()
182
+ private fun setIsAnimating(resource: GifDrawable, setAnimating: Boolean) {
183
+ if (setAnimating) {
184
+ if (resource.isPaused) {
185
+ resource.resume()
177
186
  } else {
178
- resource.stop()
187
+ resource.start()
179
188
  }
189
+ } else {
190
+ resource.pause()
191
+ }
192
+ }
193
+
194
+ private fun setIsAnimating(resource: Animatable, setAnimating: Boolean) {
195
+ if (setAnimating) {
196
+ resource.start()
197
+ } else {
198
+ resource.stop()
180
199
  }
181
200
  }
182
201
 
@@ -28,7 +28,7 @@ class GlideUrlWrapperLoader(
28
28
  originalResponse
29
29
  .newBuilder()
30
30
  .body(
31
- ProgressResponseBody(originalResponse.body) { bytesWritten, contentLength, done ->
31
+ ProgressResponseBody(requireNotNull(originalResponse.body)) { bytesWritten, contentLength, done ->
32
32
  model.progressListener?.onProgress(bytesWritten, contentLength, done)
33
33
  }
34
34
  )
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { ImageNativeProps } from './Image.types';
3
- export default function ExpoImage({ source, placeholder, contentFit, contentPosition, placeholderContentFit, cachePolicy, onLoad, transition, onError, responsivePolicy, onLoadEnd, onDisplay, priority, blurRadius, recyclingKey, style, nativeViewRef, accessibilityLabel, tintColor, containerViewRef, ...props }: ImageNativeProps): React.JSX.Element;
3
+ export default function ExpoImage({ source, placeholder, contentFit, contentPosition, placeholderContentFit, cachePolicy, onLoad, transition, onError, responsivePolicy, onLoadEnd, onDisplay, priority, blurRadius, recyclingKey, style, nativeViewRef, accessibilityLabel, alt, tintColor, containerViewRef, ...props }: ImageNativeProps): React.JSX.Element;
4
4
  //# sourceMappingURL=ExpoImage.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoImage.web.d.ts","sourceRoot":"","sources":["../src/ExpoImage.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAA6C,MAAM,eAAe,CAAC;AAsDjG,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,MAAM,EACN,WAAW,EACX,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,MAAM,EACN,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,gBAAgB,qBA0FlB"}
1
+ {"version":3,"file":"ExpoImage.web.d.ts","sourceRoot":"","sources":["../src/ExpoImage.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAA6C,MAAM,eAAe,CAAC;AAsDjG,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,MAAM,EACN,WAAW,EACX,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,MAAM,EACN,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,GAAG,EACH,SAAS,EACT,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,gBAAgB,qBA0FlB"}
@@ -140,7 +140,7 @@ export interface ImageProps extends Omit<ViewProps, 'style' | 'children'> {
140
140
  blurRadius?: number;
141
141
  /**
142
142
  * A color used to tint template images (a bitmap image where only the opacity matters).
143
- * The color is applied to every non-transparent pixel, causing the images shape to adopt that color.
143
+ * The color is applied to every non-transparent pixel, causing the image's shape to adopt that color.
144
144
  * This effect is not applied to placeholders.
145
145
  * @default null
146
146
  */
@@ -264,12 +264,12 @@ export interface ImageProps extends Omit<ViewProps, 'style' | 'children'> {
264
264
  */
265
265
  accessible?: boolean;
266
266
  /**
267
- * The text that's read by the screen reader when the user interacts with the image. Sets the the `alt` tag on web which is used for web crawlers and link traversal.
267
+ * The text that's read by the screen reader when the user interacts with the image. Sets the `alt` tag on web which is used for web crawlers and link traversal.
268
268
  * @default undefined
269
269
  */
270
270
  accessibilityLabel?: string;
271
271
  /**
272
- * The text that's read by the screen reader when the user interacts with the image. Sets the the `alt` tag on web which is used for web crawlers and link traversal. Is an alias for `accessibilityLabel`.
272
+ * The text that's read by the screen reader when the user interacts with the image. Sets the `alt` tag on web which is used for web crawlers and link traversal. Is an alias for `accessibilityLabel`.
273
273
  *
274
274
  * @alias accessibilityLabel
275
275
  * @default undefined
@@ -375,10 +375,14 @@ export type ImageContentPosition =
375
375
  bottom?: ImageContentPositionValue;
376
376
  left?: ImageContentPositionValue;
377
377
  } | ImageContentPositionString;
378
+ /**
379
+ * It allows you to use an image as a background while rendering other content on top of it.
380
+ * It extends all `Image` props but provides separate styling controls for the container and the background image itself.
381
+ */
378
382
  export interface ImageBackgroundProps extends Omit<ImageProps, 'style'> {
379
- /** The style of the image container */
383
+ /** The style of the image container. */
380
384
  style?: StyleProp<ViewStyle> | undefined;
381
- /** Style object for the image */
385
+ /** Style object for the image. */
382
386
  imageStyle?: StyleProp<RNImageStyle> | undefined;
383
387
  /** @hidden */
384
388
  children?: React.ReactNode | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Image.types.d.ts","sourceRoot":"","sources":["../src/Image.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AACnE,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEjG,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,CAA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mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,QAAA,MAAM,YAAY,4FA4DjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ImageWrapper.d.ts","sourceRoot":"","sources":["../../src/web/ImageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,QAAA,MAAM,YAAY,4FAmEjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "BareExpo",
10
10
  "artifactId": "expo.modules.image",
11
- "version": "2.3.2",
11
+ "version": "2.3.3-canary-20250701-6a945c5",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -0,0 +1 @@
1
+ b390278b08a6723df7fe1de078963025fba0da39d8465dfb3c2143d94e1c48b708d8cd4a9acbd5047914911ec3349cf0b5c65c649bebdec22f83b207ca2ec563
@@ -0,0 +1 @@
1
+ 36127dbb35f93f99de976ee879f558e72310881b9396dcaf4845de37c7aaeaa6419e7e59821555978f83d5ae60492b2a547e1077657d2f92ac5a3d4d5200748e
@@ -3,14 +3,14 @@
3
3
  "component": {
4
4
  "group": "BareExpo",
5
5
  "module": "expo.modules.image",
6
- "version": "2.3.2",
6
+ "version": "2.3.3-canary-20250701-6a945c5",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
10
10
  },
11
11
  "createdBy": {
12
12
  "gradle": {
13
- "version": "8.13"
13
+ "version": "8.14"
14
14
  }
15
15
  },
16
16
  "variants": [
@@ -54,13 +54,13 @@
54
54
  ],
55
55
  "files": [
56
56
  {
57
- "name": "expo.modules.image-2.3.2.aar",
58
- "url": "expo.modules.image-2.3.2.aar",
59
- "size": 279544,
60
- "sha512": "47c107c9a1134bb50953e5cf037cdc5aef8088d6c1bce906d268f2cf2c6b1a2692dbbd4cf686922d9eded7a78e275fea8038b91267fffd31957fa68b297bdae8",
61
- "sha256": "5d682f47a7031c3d5403faf294bb898f52299dcc73903682475cc310c39e70ac",
62
- "sha1": "af130ea05cd1ce374351bdb409b187b699baeef7",
63
- "md5": "5c50faf7e63489ecc2e5d3ab07a2f707"
57
+ "name": "expo.modules.image-2.3.3-canary-20250701-6a945c5.aar",
58
+ "url": "expo.modules.image-2.3.3-canary-20250701-6a945c5.aar",
59
+ "size": 279967,
60
+ "sha512": "36127dbb35f93f99de976ee879f558e72310881b9396dcaf4845de37c7aaeaa6419e7e59821555978f83d5ae60492b2a547e1077657d2f92ac5a3d4d5200748e",
61
+ "sha256": "a99a9a74a761f9275346efcc3aa8cd21371ea47f40e70a30fb97aceea0efd79b",
62
+ "sha1": "4cec8f0d3433ef801d7f0665ccd4d91cf4bf89c4",
63
+ "md5": "3b99ea2aa9e608ef7a20e25150c02ce9"
64
64
  }
65
65
  ]
66
66
  },
@@ -77,7 +77,7 @@
77
77
  "group": "org.jetbrains.kotlin",
78
78
  "module": "kotlin-stdlib-jdk7",
79
79
  "version": {
80
- "requires": "2.0.21"
80
+ "requires": "2.1.20"
81
81
  }
82
82
  },
83
83
  {
@@ -143,13 +143,13 @@
143
143
  ],
144
144
  "files": [
145
145
  {
146
- "name": "expo.modules.image-2.3.2.aar",
147
- "url": "expo.modules.image-2.3.2.aar",
148
- "size": 279544,
149
- "sha512": "47c107c9a1134bb50953e5cf037cdc5aef8088d6c1bce906d268f2cf2c6b1a2692dbbd4cf686922d9eded7a78e275fea8038b91267fffd31957fa68b297bdae8",
150
- "sha256": "5d682f47a7031c3d5403faf294bb898f52299dcc73903682475cc310c39e70ac",
151
- "sha1": "af130ea05cd1ce374351bdb409b187b699baeef7",
152
- "md5": "5c50faf7e63489ecc2e5d3ab07a2f707"
146
+ "name": "expo.modules.image-2.3.3-canary-20250701-6a945c5.aar",
147
+ "url": "expo.modules.image-2.3.3-canary-20250701-6a945c5.aar",
148
+ "size": 279967,
149
+ "sha512": "36127dbb35f93f99de976ee879f558e72310881b9396dcaf4845de37c7aaeaa6419e7e59821555978f83d5ae60492b2a547e1077657d2f92ac5a3d4d5200748e",
150
+ "sha256": "a99a9a74a761f9275346efcc3aa8cd21371ea47f40e70a30fb97aceea0efd79b",
151
+ "sha1": "4cec8f0d3433ef801d7f0665ccd4d91cf4bf89c4",
152
+ "md5": "3b99ea2aa9e608ef7a20e25150c02ce9"
153
153
  }
154
154
  ]
155
155
  },
@@ -163,13 +163,13 @@
163
163
  },
164
164
  "files": [
165
165
  {
166
- "name": "expo.modules.image-2.3.2-sources.jar",
167
- "url": "expo.modules.image-2.3.2-sources.jar",
168
- "size": 64200,
169
- "sha512": "4fd35480bc1edafe3727afbfb6b1d9cf69643f30523402e7512a8b2944d17915150373225d5aed1c344b80ad9c9b3fe1ff1050b2c83a13c8faa34956ddef588e",
170
- "sha256": "d91f60ce8ec04a24413f687b5596f0165504d5b55d05c380daea5b155e537100",
171
- "sha1": "9d61b3b9a11effe5d06c77755eaa06d86da5d422",
172
- "md5": "754e5c8b8c3d801d36965a6cf0ec673a"
166
+ "name": "expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar",
167
+ "url": "expo.modules.image-2.3.3-canary-20250701-6a945c5-sources.jar",
168
+ "size": 64377,
169
+ "sha512": "b390278b08a6723df7fe1de078963025fba0da39d8465dfb3c2143d94e1c48b708d8cd4a9acbd5047914911ec3349cf0b5c65c649bebdec22f83b207ca2ec563",
170
+ "sha256": "7212a71cec9495553fcd340b922ce49543d48c94167db4e0bad3d124f11abe48",
171
+ "sha1": "92ced973167a00d2e43b5d8f32835e9b9221e348",
172
+ "md5": "0dea771f25d26d1fe65aa2fc3511dc99"
173
173
  }
174
174
  ]
175
175
  }
@@ -0,0 +1 @@
1
+ 39c66dce93477e592bc0c4ba3294eb1b234e6d64b1738c6ab275c4742456507899cfade0af8ab07f5ab27b996c82a31dc8c45e1eb38216a3f6593dcf7c99c2df
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>BareExpo</groupId>
11
11
  <artifactId>expo.modules.image</artifactId>
12
- <version>2.3.2</version>
12
+ <version>2.3.3-canary-20250701-6a945c5</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.image</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -52,7 +52,7 @@
52
52
  <dependency>
53
53
  <groupId>org.jetbrains.kotlin</groupId>
54
54
  <artifactId>kotlin-stdlib-jdk7</artifactId>
55
- <version>2.0.21</version>
55
+ <version>2.1.20</version>
56
56
  <scope>runtime</scope>
57
57
  </dependency>
58
58
  <dependency>
@@ -0,0 +1 @@
1
+ 93829e1bcf87b0c49b66b561c12dea2883e91da9aefe59fadb3a142d95449dfcd8a4b817e681ecfffd0236b0f64aa9f0c40db2287c4b1b62c3b9cbf386be710c
@@ -3,11 +3,11 @@
3
3
  <groupId>BareExpo</groupId>
4
4
  <artifactId>expo.modules.image</artifactId>
5
5
  <versioning>
6
- <latest>2.3.2</latest>
7
- <release>2.3.2</release>
6
+ <latest>2.3.3-canary-20250701-6a945c5</latest>
7
+ <release>2.3.3-canary-20250701-6a945c5</release>
8
8
  <versions>
9
- <version>2.3.2</version>
9
+ <version>2.3.3-canary-20250701-6a945c5</version>
10
10
  </versions>
11
- <lastUpdated>20250701155759</lastUpdated>
11
+ <lastUpdated>20250701174135</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 4ad31226fb6dfe828d50ead85bca40b4
1
+ e0b12d7256ac4810df702a898fb1387b
@@ -1 +1 @@
1
- e8165ce2412191e00e0188eb7e066c9e2454a7f8
1
+ ce0b858c6f8d0e9d018a25c7662f4aa7c511052e
@@ -1 +1 @@
1
- 024e30b789f8aec85dd5e0fb878211d0f3a991ba08f925f639024edb51317e4f
1
+ fa6fdab789abe86d2ae1d2b73240389fc8ac23e6ede3110f1cedc295551c08fa
@@ -1 +1 @@
1
- 09ad0049527394985a358ee97cabaa55f7a0fcdacc994d0347a3c38c829136fb816932373c718d0fca25951c5676facd59980da58e36e61daa5e08585bdd8532
1
+ cf1db0479b1b5a0906fe7d852475b178f0d3e4913e1a80b172418676e21d79adaa2342b1714bb4459a017c8528c614999c69e39fe05e303d89e79a2787dbe850
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-image",
3
3
  "title": "Expo Image",
4
- "version": "2.3.2",
4
+ "version": "2.3.3-canary-20250701-6a945c5",
5
5
  "description": "A cross-platform, performant image component for React Native and Expo with Web support",
6
6
  "main": "src/index.ts",
7
7
  "types": "build/index.d.ts",
@@ -29,10 +29,10 @@
29
29
  "license": "MIT",
30
30
  "dependencies": {},
31
31
  "devDependencies": {
32
- "expo-module-scripts": "^4.1.8"
32
+ "expo-module-scripts": "4.1.9-canary-20250701-6a945c5"
33
33
  },
34
34
  "peerDependencies": {
35
- "expo": "*",
35
+ "expo": "54.0.0-canary-20250701-6a945c5",
36
36
  "react": "*",
37
37
  "react-native": "*",
38
38
  "react-native-web": "*"
@@ -44,6 +44,5 @@
44
44
  },
45
45
  "jest": {
46
46
  "preset": "expo-module-scripts"
47
- },
48
- "gitHead": "34824ca1e6fb52d70d5488d32fe790234f3c3100"
47
+ }
49
48
  }
@@ -75,6 +75,7 @@ export default function ExpoImage({
75
75
  style,
76
76
  nativeViewRef,
77
77
  accessibilityLabel,
78
+ alt,
78
79
  tintColor,
79
80
  containerViewRef,
80
81
  ...props
@@ -114,7 +115,7 @@ export default function ExpoImage({
114
115
  contentPosition={{ left: '50%', top: '50%' }}
115
116
  hashPlaceholderContentPosition={contentPosition}
116
117
  hashPlaceholderStyle={imageHashStyle}
117
- accessibilityLabel={accessibilityLabel}
118
+ accessibilityLabel={accessibilityLabel ?? alt}
118
119
  cachePolicy={cachePolicy}
119
120
  priority={priority}
120
121
  tintColor={tintColor}
@@ -164,7 +164,7 @@ export interface ImageProps extends Omit<ViewProps, 'style' | 'children'> {
164
164
 
165
165
  /**
166
166
  * A color used to tint template images (a bitmap image where only the opacity matters).
167
- * The color is applied to every non-transparent pixel, causing the images shape to adopt that color.
167
+ * The color is applied to every non-transparent pixel, causing the image's shape to adopt that color.
168
168
  * This effect is not applied to placeholders.
169
169
  * @default null
170
170
  */
@@ -308,13 +308,13 @@ export interface ImageProps extends Omit<ViewProps, 'style' | 'children'> {
308
308
  accessible?: boolean;
309
309
 
310
310
  /**
311
- * The text that's read by the screen reader when the user interacts with the image. Sets the the `alt` tag on web which is used for web crawlers and link traversal.
311
+ * The text that's read by the screen reader when the user interacts with the image. Sets the `alt` tag on web which is used for web crawlers and link traversal.
312
312
  * @default undefined
313
313
  */
314
314
  accessibilityLabel?: string;
315
315
 
316
316
  /**
317
- * The text that's read by the screen reader when the user interacts with the image. Sets the the `alt` tag on web which is used for web crawlers and link traversal. Is an alias for `accessibilityLabel`.
317
+ * The text that's read by the screen reader when the user interacts with the image. Sets the `alt` tag on web which is used for web crawlers and link traversal. Is an alias for `accessibilityLabel`.
318
318
  *
319
319
  * @alias accessibilityLabel
320
320
  * @default undefined
@@ -429,10 +429,14 @@ export type ImageContentPosition =
429
429
  }
430
430
  | ImageContentPositionString;
431
431
 
432
+ /**
433
+ * It allows you to use an image as a background while rendering other content on top of it.
434
+ * It extends all `Image` props but provides separate styling controls for the container and the background image itself.
435
+ */
432
436
  export interface ImageBackgroundProps extends Omit<ImageProps, 'style'> {
433
- /** The style of the image container */
437
+ /** The style of the image container. */
434
438
  style?: StyleProp<ViewStyle> | undefined;
435
- /** Style object for the image */
439
+ /** Style object for the image. */
436
440
  imageStyle?: StyleProp<RNImageStyle> | undefined;
437
441
  /** @hidden */
438
442
  children?: React.ReactNode | undefined;
@@ -44,7 +44,14 @@ const ImageWrapper = React.forwardRef(
44
44
  events?.onMount?.forEach((e) => e?.());
45
45
  }, []);
46
46
 
47
- const tintId = useId();
47
+ // Use a unique ID for the SVG filter so that multiple <Image> can be used
48
+ // on the same page with different tint colors without conflicts.
49
+ const tintId = useId()
50
+ // Make it safe for use as an SVG ID. SVG IDs are most strict than HTML
51
+ // IDs. They must be compliant with https://www.w3.org/TR/xml/#NT-Name.
52
+ // React 19 changed useId() to include « and ». These must be removed or
53
+ // the SVG filter will not work (e.g. in Safari which enforces the spec).
54
+ .replace(/[«»]/g, '_');
48
55
 
49
56
  // Thumbhash uri always has to start with 'thumbhash:/'
50
57
  const { resolvedSource, isImageHash } = useImageHashes(source);
@@ -1 +0,0 @@
1
- 9d61b3b9a11effe5d06c77755eaa06d86da5d422
@@ -1 +0,0 @@
1
- d91f60ce8ec04a24413f687b5596f0165504d5b55d05c380daea5b155e537100
@@ -1 +0,0 @@
1
- 4fd35480bc1edafe3727afbfb6b1d9cf69643f30523402e7512a8b2944d17915150373225d5aed1c344b80ad9c9b3fe1ff1050b2c83a13c8faa34956ddef588e
@@ -1 +0,0 @@
1
- 5c50faf7e63489ecc2e5d3ab07a2f707
@@ -1 +0,0 @@
1
- af130ea05cd1ce374351bdb409b187b699baeef7
@@ -1 +0,0 @@
1
- 5d682f47a7031c3d5403faf294bb898f52299dcc73903682475cc310c39e70ac
@@ -1 +0,0 @@
1
- 47c107c9a1134bb50953e5cf037cdc5aef8088d6c1bce906d268f2cf2c6b1a2692dbbd4cf686922d9eded7a78e275fea8038b91267fffd31957fa68b297bdae8
@@ -1 +0,0 @@
1
- 7af4ff2f7c924b72b5d247d1a8e4b595
@@ -1 +0,0 @@
1
- ec838d463d942c5f4c7292383a925a84e0aee64a
@@ -1 +0,0 @@
1
- 4df5ed4d362d6629d7e0f6b8be64e8ba5c7131233e831b6b261da9f7f1e8066c
@@ -1 +0,0 @@
1
- 2df4c319bd63061776f34544f30d204adfb64ffb604a6179cbcf49f63a7194bfa07bf0cd491c40c03111fe2ce6fb9ec46ff321504ee63819681e23773d82f99b
@@ -1 +0,0 @@
1
- 63cf17cf173c4f6130d40f99214aa25c
@@ -1 +0,0 @@
1
- 52de8ca8a076d145cff287efb578b39c10112171
@@ -1 +0,0 @@
1
- 13c3f88c0dff66426230901a9cb1a7cc1c4f1452e6e15e4108062d3a02009c8a
@@ -1 +0,0 @@
1
- 2280a33df6c419059d21badc5bebb4c3fba42d30b50bbca5bddd80cd1895ae12baae65da7cd5d411cd37e1a9db21fd84f61cd6c15b480e5d8421f90b24d06719