expo-image 56.0.7 → 56.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.
Files changed (141) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/image/svg/SVGDecoder.kt +17 -3
  4. package/expo-module.config.json +1 -1
  5. package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.7/expo.modules.image-56.0.7-sources.jar → 56.0.8/expo.modules.image-56.0.8-sources.jar} +0 -0
  6. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8-sources.jar.md5 +1 -0
  7. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8-sources.jar.sha1 +1 -0
  8. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8-sources.jar.sha256 +1 -0
  9. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8-sources.jar.sha512 +1 -0
  10. package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.7/expo.modules.image-56.0.7.aar → 56.0.8/expo.modules.image-56.0.8.aar} +0 -0
  11. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.aar.md5 +1 -0
  12. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.aar.sha1 +1 -0
  13. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.aar.sha256 +1 -0
  14. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.aar.sha512 +1 -0
  15. package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.7/expo.modules.image-56.0.7.module → 56.0.8/expo.modules.image-56.0.8.module} +22 -22
  16. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.md5 +1 -0
  17. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha1 +1 -0
  18. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha256 +1 -0
  19. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha512 +1 -0
  20. package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.7/expo.modules.image-56.0.7.pom → 56.0.8/expo.modules.image-56.0.8.pom} +1 -1
  21. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.md5 +1 -0
  22. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha1 +1 -0
  23. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha256 +1 -0
  24. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha512 +1 -0
  25. package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml +4 -4
  26. package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.md5 +1 -1
  27. package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha1 +1 -1
  28. package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha256 +1 -1
  29. package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha512 +1 -1
  30. package/package.json +3 -3
  31. package/plugin/index.d.ts +1 -0
  32. package/plugin/index.js +1 -1
  33. package/prebuilds/output/debug/xcframeworks/ExpoImage.tar.gz +0 -0
  34. package/prebuilds/output/release/xcframeworks/ExpoImage.tar.gz +0 -0
  35. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/Info.plist +5 -5
  36. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCache.h +5 -0
  37. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCoderHelper.h +2 -1
  38. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Info.plist +0 -0
  39. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/SDWebImage +0 -0
  40. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCache.h +5 -0
  41. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCoderHelper.h +2 -1
  42. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Info.plist +0 -0
  43. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/SDWebImage +0 -0
  44. package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/_CodeSignature/CodeResources +1 -1
  45. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/Info.plist +5 -5
  46. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCache.h +5 -0
  47. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCoderHelper.h +2 -1
  48. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Info.plist +0 -0
  49. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/SDWebImage +0 -0
  50. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/DWARF/SDWebImage +0 -0
  51. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImage.yml +1589 -1589
  52. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCache.h +5 -0
  53. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCoderHelper.h +2 -1
  54. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Info.plist +0 -0
  55. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/SDWebImage +0 -0
  56. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/_CodeSignature/CodeResources +1 -1
  57. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/DWARF/SDWebImage +0 -0
  58. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImage.yml +1589 -1589
  59. package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImage.yml +1653 -1653
  60. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/Info.plist +5 -5
  61. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/Info.plist +0 -0
  62. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
  63. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/Info.plist +0 -0
  64. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
  65. package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/_CodeSignature/CodeResources +1 -1
  66. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/Info.plist +0 -0
  67. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
  68. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageAVIFCoder +0 -0
  69. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageAVIFCoder.yml +37 -37
  70. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/Info.plist +0 -0
  71. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
  72. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/_CodeSignature/CodeResources +1 -1
  73. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageAVIFCoder +0 -0
  74. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageAVIFCoder.yml +37 -37
  75. package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageAVIFCoder.yml +37 -37
  76. package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/Info.plist +0 -0
  77. package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
  78. package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/Info.plist +0 -0
  79. package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
  80. package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/_CodeSignature/CodeResources +1 -1
  81. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/Info.plist +0 -0
  82. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
  83. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageSVGCoder +0 -0
  84. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageSVGCoder.yml +13 -13
  85. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/Info.plist +0 -0
  86. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
  87. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/_CodeSignature/CodeResources +1 -1
  88. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageSVGCoder +0 -0
  89. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageSVGCoder.yml +13 -13
  90. package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageSVGCoder.yml +13 -13
  91. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/Info.plist +5 -5
  92. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/Info.plist +0 -0
  93. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
  94. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/Info.plist +0 -0
  95. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
  96. package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/_CodeSignature/CodeResources +1 -1
  97. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/Info.plist +5 -5
  98. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/Info.plist +0 -0
  99. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
  100. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageWebPCoder +0 -0
  101. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageWebPCoder.yml +1219 -1219
  102. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/Info.plist +0 -0
  103. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
  104. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/_CodeSignature/CodeResources +1 -1
  105. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageWebPCoder +0 -0
  106. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageWebPCoder.yml +1219 -1219
  107. package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageWebPCoder.yml +1312 -1312
  108. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/Info.plist +5 -5
  109. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64/libavif.framework/Info.plist +0 -0
  110. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64/libavif.framework/libavif +0 -0
  111. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/Info.plist +0 -0
  112. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/_CodeSignature/CodeResources +1 -1
  113. package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/libavif +0 -0
  114. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/Info.plist +5 -5
  115. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/dSYMs/libavif.framework.dSYM/Contents/Resources/DWARF/libavif +0 -0
  116. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/aarch64/libavif.yml +47 -47
  117. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/libavif.framework/Info.plist +0 -0
  118. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/libavif.framework/libavif +0 -0
  119. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/DWARF/libavif +0 -0
  120. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/aarch64/libavif.yml +47 -47
  121. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/x86_64/libavif.yml +47 -47
  122. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/Info.plist +0 -0
  123. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/_CodeSignature/CodeResources +1 -1
  124. package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/libavif +0 -0
  125. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7-sources.jar.md5 +0 -1
  126. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7-sources.jar.sha1 +0 -1
  127. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7-sources.jar.sha256 +0 -1
  128. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7-sources.jar.sha512 +0 -1
  129. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.aar.md5 +0 -1
  130. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.aar.sha1 +0 -1
  131. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.aar.sha256 +0 -1
  132. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.aar.sha512 +0 -1
  133. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.module.md5 +0 -1
  134. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.module.sha1 +0 -1
  135. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.module.sha256 +0 -1
  136. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.module.sha512 +0 -1
  137. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.pom.md5 +0 -1
  138. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.pom.sha1 +0 -1
  139. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.pom.sha256 +0 -1
  140. package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.7/expo.modules.image-56.0.7.pom.sha512 +0 -1
  141. package/plugin/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,13 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.8 — 2026-05-21
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix an ES module import error in the typed config plugin. ([#46089](https://github.com/expo/expo/pull/46089) by [@zoontek](https://github.com/zoontek))
18
+ - [Android] Fixed `useImage` crashing on SVG sources, and made `maxWidth`/`maxHeight` preserve the SVG's aspect ratio. ([#46077](https://github.com/expo/expo/pull/46077) by [@nishan](https://github.com/intergalacticspacehighway))
19
+
13
20
  ## 56.0.7 — 2026-05-21
14
21
 
15
22
  _This version does not introduce any user-facing changes._
@@ -13,13 +13,13 @@ plugins {
13
13
  apply plugin: 'com.google.devtools.ksp'
14
14
 
15
15
  group = 'expo.modules.image'
16
- version = '56.0.7'
16
+ version = '56.0.8'
17
17
 
18
18
  android {
19
19
  namespace "expo.modules.image"
20
20
  defaultConfig {
21
21
  versionCode 1
22
- versionName "56.0.7"
22
+ versionName "56.0.8"
23
23
  consumerProguardFiles("proguard-rules.pro")
24
24
 
25
25
  buildConfigField("boolean", "ALLOW_GLIDE_LOGS", project.properties.get("EXPO_ALLOW_GLIDE_LOGS", "false"))
@@ -24,7 +24,6 @@ class SVGDecoder : ResourceDecoder<InputStream, SVG> {
24
24
  return try {
25
25
  val svg: SVG = SVG.getFromInputStream(source)
26
26
  // Use document width and height if view box is not set.
27
- // Later, we will override the document width and height with the dimensions of the native view.
28
27
  if (svg.documentViewBox == null) {
29
28
  val documentWidth = svg.documentWidth
30
29
  val documentHeight = svg.documentHeight
@@ -32,8 +31,23 @@ class SVGDecoder : ResourceDecoder<InputStream, SVG> {
32
31
  svg.setDocumentViewBox(0f, 0f, documentWidth, documentHeight)
33
32
  }
34
33
  }
35
- svg.documentWidth = width.toFloat()
36
- svg.documentHeight = height.toFloat()
34
+
35
+ // Render at maxWidth/maxHeight if provided (preserving aspect ratio), otherwise at the viewBox's natural size.
36
+ val viewBox = svg.documentViewBox
37
+ if (viewBox != null && viewBox.width() > 0 && viewBox.height() > 0) {
38
+ val scaleW = if (width > 0) width.toFloat() / viewBox.width() else Float.POSITIVE_INFINITY
39
+ val scaleH = if (height > 0) height.toFloat() / viewBox.height() else Float.POSITIVE_INFINITY
40
+ val scale = if (scaleW.isFinite() || scaleH.isFinite()) minOf(scaleW, scaleH) else 1f
41
+ if (scale.isFinite() && scale > 0) {
42
+ svg.documentWidth = viewBox.width() * scale
43
+ svg.documentHeight = viewBox.height() * scale
44
+ }
45
+ } else if (width > 0 && height > 0) {
46
+ // No viewBox available to derive an aspect ratio from, fall back to the requested bounds.
47
+ svg.documentWidth = width.toFloat()
48
+ svg.documentHeight = height.toFloat()
49
+ }
50
+
37
51
  SimpleResource(svg)
38
52
  } catch (ex: SVGParseException) {
39
53
  throw IOException("Cannot load SVG from stream", ex)
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "expo.modules.image",
10
10
  "artifactId": "expo.modules.image",
11
- "version": "56.0.7",
11
+ "version": "56.0.8",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -0,0 +1 @@
1
+ 7d85d51a736a12e184dc829d4dfeeebb22b42f6d54a463eddd106f1e3d078ee4
@@ -0,0 +1 @@
1
+ 1a1c817a4210555524a4d714fe1715f2c4b0b83526799c3ed488dfade351ed3f8db2a28165784583c986e4ac0fc70fe687a8e05879d34c2fdf53c3ee9e2004b7
@@ -0,0 +1 @@
1
+ fa68f31204c5cf8f7b9f152e34e1205dbd567eb0e4091d8f33f13a9fd1eedbc2
@@ -0,0 +1 @@
1
+ 85b14a962b634fa94cf6a9f9454622a6042c03ddf69f64582883c123e666e5ec06c96d63089113fca81e496d35684425268d255c92dcf8af9dd2c3decadd4a66
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "expo.modules.image",
5
5
  "module": "expo.modules.image",
6
- "version": "56.0.7",
6
+ "version": "56.0.8",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -54,13 +54,13 @@
54
54
  ],
55
55
  "files": [
56
56
  {
57
- "name": "expo.modules.image-56.0.7.aar",
58
- "url": "expo.modules.image-56.0.7.aar",
59
- "size": 319677,
60
- "sha512": "ac320a8853461554cacb9f77206987b4d8a1a1687bc649f774b8d6c5ec84160f18b4b8e929d943e8c6024e971bf662958d4d538eb3e6207bddb708464bcb75dc",
61
- "sha256": "33be9e415818028e7bbdf33a0182cce79eac34013d266e1a656bec9108f6365f",
62
- "sha1": "9c971b6a410f51f0f7c03161d06a0f03b48a2eb3",
63
- "md5": "346c59f352720de2eabc51ab8b210ba6"
57
+ "name": "expo.modules.image-56.0.8.aar",
58
+ "url": "expo.modules.image-56.0.8.aar",
59
+ "size": 319998,
60
+ "sha512": "85b14a962b634fa94cf6a9f9454622a6042c03ddf69f64582883c123e666e5ec06c96d63089113fca81e496d35684425268d255c92dcf8af9dd2c3decadd4a66",
61
+ "sha256": "fa68f31204c5cf8f7b9f152e34e1205dbd567eb0e4091d8f33f13a9fd1eedbc2",
62
+ "sha1": "d37ea40334a76a35e41cac0c85e2f7c00cd9c7be",
63
+ "md5": "bc2d9fc57afbbc8973867e32a476935a"
64
64
  }
65
65
  ]
66
66
  },
@@ -157,13 +157,13 @@
157
157
  ],
158
158
  "files": [
159
159
  {
160
- "name": "expo.modules.image-56.0.7.aar",
161
- "url": "expo.modules.image-56.0.7.aar",
162
- "size": 319677,
163
- "sha512": "ac320a8853461554cacb9f77206987b4d8a1a1687bc649f774b8d6c5ec84160f18b4b8e929d943e8c6024e971bf662958d4d538eb3e6207bddb708464bcb75dc",
164
- "sha256": "33be9e415818028e7bbdf33a0182cce79eac34013d266e1a656bec9108f6365f",
165
- "sha1": "9c971b6a410f51f0f7c03161d06a0f03b48a2eb3",
166
- "md5": "346c59f352720de2eabc51ab8b210ba6"
160
+ "name": "expo.modules.image-56.0.8.aar",
161
+ "url": "expo.modules.image-56.0.8.aar",
162
+ "size": 319998,
163
+ "sha512": "85b14a962b634fa94cf6a9f9454622a6042c03ddf69f64582883c123e666e5ec06c96d63089113fca81e496d35684425268d255c92dcf8af9dd2c3decadd4a66",
164
+ "sha256": "fa68f31204c5cf8f7b9f152e34e1205dbd567eb0e4091d8f33f13a9fd1eedbc2",
165
+ "sha1": "d37ea40334a76a35e41cac0c85e2f7c00cd9c7be",
166
+ "md5": "bc2d9fc57afbbc8973867e32a476935a"
167
167
  }
168
168
  ]
169
169
  },
@@ -177,13 +177,13 @@
177
177
  },
178
178
  "files": [
179
179
  {
180
- "name": "expo.modules.image-56.0.7-sources.jar",
181
- "url": "expo.modules.image-56.0.7-sources.jar",
182
- "size": 59251,
183
- "sha512": "f92318602df933605da04a05eb09b3bf1e8a9adc9b53090079a4d5a0bfd60278a57de5fcfcc646fd3fd0c868db061cc903485d556004c77368ee358471b3d03e",
184
- "sha256": "85620b1726e96bf395205a020283816caf86fdd6e46f063c3c715753d02117a3",
185
- "sha1": "8feab2d2adcb6ab59cce09012426b8b8e4aa0f59",
186
- "md5": "ca7f78fcf0e762579e236bf839e38c0a"
180
+ "name": "expo.modules.image-56.0.8-sources.jar",
181
+ "url": "expo.modules.image-56.0.8-sources.jar",
182
+ "size": 59502,
183
+ "sha512": "1a1c817a4210555524a4d714fe1715f2c4b0b83526799c3ed488dfade351ed3f8db2a28165784583c986e4ac0fc70fe687a8e05879d34c2fdf53c3ee9e2004b7",
184
+ "sha256": "7d85d51a736a12e184dc829d4dfeeebb22b42f6d54a463eddd106f1e3d078ee4",
185
+ "sha1": "773636dc48ae3976e3ee0394caae5d2a734e8803",
186
+ "md5": "d1ff663b8abed09b5dcdec369598f9d6"
187
187
  }
188
188
  ]
189
189
  }
@@ -0,0 +1 @@
1
+ 049265c80afaedddb6e9db78bd4de89a225a3709c216b8fd17a178c00ef8f300
@@ -0,0 +1 @@
1
+ b5b7e8c3f0a328cb91e2522409c4202d318e494fa0d9a5d012a06fd41ec415358e9fc11696bdd4b9f1e2ea4def5b55f6fb795b9293d53e20e8c83a1c14d5027e
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>expo.modules.image</groupId>
11
11
  <artifactId>expo.modules.image</artifactId>
12
- <version>56.0.7</version>
12
+ <version>56.0.8</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.image</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ c17c9ceb3aebabc51ee0e41271aa7ea1037c20a54bb51c734a9b0850c21a2c13
@@ -0,0 +1 @@
1
+ 807696bd29d9135bf7b99b73f98d9f5a7b8b8da4db6030047958cf0e8ee0bf0ffa8955e47d6a4245223b6b42b96ce5f2310a60cb67d26fa9e459414ced19fb9a
@@ -3,11 +3,11 @@
3
3
  <groupId>expo.modules.image</groupId>
4
4
  <artifactId>expo.modules.image</artifactId>
5
5
  <versioning>
6
- <latest>56.0.7</latest>
7
- <release>56.0.7</release>
6
+ <latest>56.0.8</latest>
7
+ <release>56.0.8</release>
8
8
  <versions>
9
- <version>56.0.7</version>
9
+ <version>56.0.8</version>
10
10
  </versions>
11
- <lastUpdated>20260521102559</lastUpdated>
11
+ <lastUpdated>20260521153958</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 55216d75c481bd1928b061c697031b66
1
+ 71041e9bbd522b6093c78394a8adb726
@@ -1 +1 @@
1
- d78f28e552030418012ac873951f9174c066a493
1
+ 51f627647b780f70aedb54caa213a3ac6f74cdfe
@@ -1 +1 @@
1
- 4fcaecf625c0cdca7fa7ca6b05a2f4261e1dd9cdd4fda8b1bb92da1da3188093
1
+ d7daef8421c473184ed3d51dacec958302d4140619c34b9b1c6bbc0a3daa54a3
@@ -1 +1 @@
1
- cc6f7c29d8d207c663f98ead0679d0981196b9cf6a8c000681e64e87cf441aac8c62b806e253a36a4e665912a9b95864bc89314f2f808dd8bc6a8edbfb499f63
1
+ 7cb3a84b15fde6f038c10e99bc62e4c93a9f3a0153c276d4b12ff8b66c3377ef65880b5b6bfcea879ccefcbc16c2c1aff2135f50daa4b0500a1b057e999bf897
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-image",
3
3
  "title": "Expo Image",
4
- "version": "56.0.7",
4
+ "version": "56.0.8",
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",
@@ -23,7 +23,7 @@
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.14.0",
25
25
  "@types/react": "~19.2.0",
26
- "expo": "56.0.2",
26
+ "expo": "56.0.3",
27
27
  "expo-module-scripts": "56.0.2"
28
28
  },
29
29
  "peerDependencies": {
@@ -40,7 +40,7 @@
40
40
  "jest": {
41
41
  "preset": "expo-module-scripts"
42
42
  },
43
- "gitHead": "06b1b2b2bd71ab3e2f5ca08f75eb227c35737705",
43
+ "gitHead": "125e8225bf36a4b9b2a159441d9ea724bcf1110f",
44
44
  "scripts": {
45
45
  "build": "expo-module build",
46
46
  "build:plugin": "expo-module build plugin",
@@ -0,0 +1 @@
1
+ export { default } from './build';
package/plugin/index.js CHANGED
@@ -1 +1 @@
1
- export { default } from './build';
1
+ module.exports = require('./build');
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>SDWebImage.framework/SDWebImage</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>SDWebImage.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>x86_64</string>
18
17
  </array>
19
18
  <key>SupportedPlatform</key>
20
19
  <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
20
  </dict>
24
21
  <dict>
25
22
  <key>BinaryPath</key>
26
23
  <string>SDWebImage.framework/SDWebImage</string>
27
24
  <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
25
+ <string>ios-arm64_x86_64-simulator</string>
29
26
  <key>LibraryPath</key>
30
27
  <string>SDWebImage.framework</string>
31
28
  <key>SupportedArchitectures</key>
32
29
  <array>
33
30
  <string>arm64</string>
31
+ <string>x86_64</string>
34
32
  </array>
35
33
  <key>SupportedPlatform</key>
36
34
  <string>ios</string>
35
+ <key>SupportedPlatformVariant</key>
36
+ <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -263,6 +263,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
263
263
  *
264
264
  * @param imageData The image data to store
265
265
  * @param key The unique image cache key, usually it's image absolute URL
266
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
266
267
  */
267
268
  - (void)storeImageDataToDisk:(nullable NSData *)imageData
268
269
  forKey:(nullable NSString *)key;
@@ -312,6 +313,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
312
313
  * @param doneBlock The completion block. Will not get called if the operation is cancelled
313
314
  *
314
315
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
316
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
315
317
  */
316
318
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
317
319
 
@@ -324,6 +326,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
324
326
  *
325
327
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
326
328
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
329
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
327
330
  */
328
331
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
329
332
 
@@ -337,6 +340,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
337
340
  *
338
341
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
339
342
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
343
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
340
344
  */
341
345
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
342
346
 
@@ -351,6 +355,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
351
355
  *
352
356
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
353
357
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
358
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
354
359
  */
355
360
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
356
361
 
@@ -68,7 +68,8 @@ typedef struct SDImagePixelFormat {
68
68
  /**
69
69
  Return an animated image with frames array.
70
70
  For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
71
- For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
71
+ For AppKit before macOS 10.13, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
72
+ For AppKit after macOS 10.14, use APNG format, which has a better render result.
72
73
 
73
74
  @param frames The frames array. If no frames or frames is empty, return nil
74
75
  @return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)
@@ -263,6 +263,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
263
263
  *
264
264
  * @param imageData The image data to store
265
265
  * @param key The unique image cache key, usually it's image absolute URL
266
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
266
267
  */
267
268
  - (void)storeImageDataToDisk:(nullable NSData *)imageData
268
269
  forKey:(nullable NSString *)key;
@@ -312,6 +313,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
312
313
  * @param doneBlock The completion block. Will not get called if the operation is cancelled
313
314
  *
314
315
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
316
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
315
317
  */
316
318
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
317
319
 
@@ -324,6 +326,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
324
326
  *
325
327
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
326
328
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
329
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
327
330
  */
328
331
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
329
332
 
@@ -337,6 +340,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
337
340
  *
338
341
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
339
342
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
343
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
340
344
  */
341
345
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
342
346
 
@@ -351,6 +355,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
351
355
  *
352
356
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
353
357
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
358
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
354
359
  */
355
360
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
356
361
 
@@ -68,7 +68,8 @@ typedef struct SDImagePixelFormat {
68
68
  /**
69
69
  Return an animated image with frames array.
70
70
  For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
71
- For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
71
+ For AppKit before macOS 10.13, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
72
+ For AppKit after macOS 10.14, use APNG format, which has a better render result.
72
73
 
73
74
  @param frames The frames array. If no frames or frames is empty, return nil
74
75
  @return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Info.plist</key>
8
8
  <data>
9
- LDuNTUKcZnFRerGgh6wMSMYE8rM=
9
+ /hHUxTW3frbQvevWZV4yKhyK6Wg=
10
10
  </data>
11
11
  </dict>
12
12
  <key>files2</key>
@@ -10,18 +10,15 @@
10
10
  <key>DebugSymbolsPath</key>
11
11
  <string>dSYMs</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64_x86_64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>SDWebImage.framework</string>
16
16
  <key>SupportedArchitectures</key>
17
17
  <array>
18
18
  <string>arm64</string>
19
- <string>x86_64</string>
20
19
  </array>
21
20
  <key>SupportedPlatform</key>
22
21
  <string>ios</string>
23
- <key>SupportedPlatformVariant</key>
24
- <string>simulator</string>
25
22
  </dict>
26
23
  <dict>
27
24
  <key>BinaryPath</key>
@@ -29,15 +26,18 @@
29
26
  <key>DebugSymbolsPath</key>
30
27
  <string>dSYMs</string>
31
28
  <key>LibraryIdentifier</key>
32
- <string>ios-arm64</string>
29
+ <string>ios-arm64_x86_64-simulator</string>
33
30
  <key>LibraryPath</key>
34
31
  <string>SDWebImage.framework</string>
35
32
  <key>SupportedArchitectures</key>
36
33
  <array>
37
34
  <string>arm64</string>
35
+ <string>x86_64</string>
38
36
  </array>
39
37
  <key>SupportedPlatform</key>
40
38
  <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
41
  </dict>
42
42
  </array>
43
43
  <key>CFBundlePackageType</key>
@@ -263,6 +263,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
263
263
  *
264
264
  * @param imageData The image data to store
265
265
  * @param key The unique image cache key, usually it's image absolute URL
266
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
266
267
  */
267
268
  - (void)storeImageDataToDisk:(nullable NSData *)imageData
268
269
  forKey:(nullable NSString *)key;
@@ -312,6 +313,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
312
313
  * @param doneBlock The completion block. Will not get called if the operation is cancelled
313
314
  *
314
315
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
316
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
315
317
  */
316
318
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
317
319
 
@@ -324,6 +326,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
324
326
  *
325
327
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
326
328
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
329
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
327
330
  */
328
331
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
329
332
 
@@ -337,6 +340,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
337
340
  *
338
341
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
339
342
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
343
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
340
344
  */
341
345
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
342
346
 
@@ -351,6 +355,7 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
351
355
  *
352
356
  * @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
353
357
  * @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
358
+ * @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
354
359
  */
355
360
  - (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
356
361
 
@@ -68,7 +68,8 @@ typedef struct SDImagePixelFormat {
68
68
  /**
69
69
  Return an animated image with frames array.
70
70
  For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
71
- For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
71
+ For AppKit before macOS 10.13, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
72
+ For AppKit after macOS 10.14, use APNG format, which has a better render result.
72
73
 
73
74
  @param frames The frames array. If no frames or frames is empty, return nil
74
75
  @return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)