Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS ::: No suitable image URL loader found for assets-library://asset/asset #29097

Closed
blazerroad opened this issue Jun 9, 2020 · 4 comments
Closed
Labels
Component: Image Needs: Attention Issues where the author has responded to feedback. Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@blazerroad
Copy link

Hi guys,
in IOS at this code :

<ImageBackground
                      style={styles.item}
                      source={{ uri: item.uri }} >
                      {selected && selectedItemCount.lenght > 0 &&
                          <View style={{ ...styles.countBadge, backgroundColor: badgeColor }}>
                              <Text style={styles.countBadgeText}>{selectedItemCount}</Text>
                          </View>
                      }
                  </ImageBackground>

item.uri is : assets-library://asset/asset.PNG?id=8602ACD9-04C2-4FA9-B8A1-F65E1C1299DD&ext=PNG

it work at andriod but IOS comes with this error :

[tid:com.facebook.react.ImageLoaderURLRequestQueue][RCTImageLoader.mm:510] No suitable image URL loader found for assets-library://asset/asset.PNG?id=8602ACD9-04C2-4FA9-B8A1-F65E1C1299DD&ext=PNG
2020-06-08 23:16:28.129

react version : "react-native": "~0.61.5",
xcode version : 11.4.1

Screen Shot 1399-03-20 at 14 10 13

@react-native-bot react-native-bot added Component: Image Platform: iOS iOS applications. Needs: Author Feedback Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. and removed Needs: Triage 🔍 labels Jun 9, 2020
@github-actions
Copy link

github-actions bot commented Jun 9, 2020

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@blazerroad
Copy link
Author

react-native info
info Fetching system and libraries information...
System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
Memory: 761.04 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: Not Found
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26, 28
Build Tools: 17.0.0, 18.0.1, 18.1.0, 18.1.1, 19.0.0, 19.0.1, 19.0.2, 19.0.3, 19.1.0, 20.0.0, 21.0.0, 21.0.1, 21.0.2, 21.1.0, 21.1.1, 21.1.2, 22.0.1, 23.0.0, 23.0.1, 23.0.2, 25.0.1, 26.0.2, 28.0.3, 29.0.0
System Images: android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs ARM EABI v7a, android-23 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_101 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: ^4.10.0 => 4.10.0
react: ~16.9.0 => 16.9.0
react-native: ~0.61.5 => 0.61.5
npmGlobalPackages:
react-native: Not Found

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Jun 9, 2020
@blazerroad
Copy link
Author

and also i used expo-media-library and it was working fine before eject expo but after eject it is not working on react-native cli

@blazerroad
Copy link
Author

seems this issue is solved on new version base on expo/expo#8741

@facebook facebook locked as resolved and limited conversation to collaborators Oct 1, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: Image Needs: Attention Issues where the author has responded to feedback. Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants