You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Image component to render an image from the file system doesn't work in RN 0.79-rc.3 on iOS.
Steps to reproduce
clone the repo
install pods
build for iOS
launch the app and press "take the snapshot"
The reproducer uses as external library react-native-view-shot only to create a file on the filesystem.
I verified that 0.78.1 works okay
(the image (1) is present on the file system and as a valid image (see screenshot below) (2) is not rendered even when file:// scheme is used in the image uri (3) using expo-image renders the image just fine)
React Native Version
0.79.0-rc.3
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.3.2
CPU: (10) arm64 Apple M1 Max
Memory: 492.77 MB / 64.00 GB
Shell:
version: 5.2.15
path: /opt/homebrew/bin/bash
Binaries:
Node:
version: 22.14.0
path: /opt/homebrew/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: /opt/homebrew/bin/npm
Watchman:
version: 2024.10.21.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/lib/ruby/gems/2.7.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK:
API Levels:
- "33"
- "34"
- "35"
Build Tools:
- 26.0.3
- 30.0.2
- 30.0.3
- 33.0.0
- 33.0.1
- 34.0.0
- 35.0.0
System Images:
- android-33 | Google APIs Intel x86_64 Atom
- android-33 | Google Play ARM 64 v8a
- android-34 | Google APIs ARM 64 v8a
- android-34 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.22562.218.2431.13114758
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.14
path: /usr/bin/javac
Ruby:
version: 3.3.6
path: /opt/homebrew/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 18.0.0
wanted: 18.0.0
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.0-rc.3
wanted: 0.79.0-rc.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
there is a warning logged:
Task orphaned for request <NSMutableURLRequest: 0x60000034a260> { URL: file:///Users/vojta/Library/Developer/CoreSimulator/Devices/BCB75705-6FFF-4C7F-B892-42311B473E79/data/Containers/Data/Application/406612FC-F7E9-477E-87EC-FB7223FE483F/tmp/ReactNative/69B6289A-5830-4408-B38D-EC3A6CA7A735.png }
Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.
Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.
Description
Using the Image component to render an image from the file system doesn't work in RN 0.79-rc.3 on iOS.
Steps to reproduce
The reproducer uses as external library
react-native-view-shot
only to create a file on the filesystem.I verified that 0.78.1 works okay
(the image (1) is present on the file system and as a valid image (see screenshot below) (2) is not rendered even when
file://
scheme is used in the image uri (3) usingexpo-image
renders the image just fine)React Native Version
0.79.0-rc.3
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://github.com/vonovak/rn-79-image-bug
Screenshots and Videos
The text was updated successfully, but these errors were encountered: