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

CachedImageBackground -- ImageBackground not available on RN 0.45 #94

Open
peacechen opened this issue Jan 8, 2018 · 2 comments
Open

Comments

@peacechen
Copy link

peacechen commented Jan 8, 2018

ImageBackground was introduced in RN 0.46 and is unavailable in RN 0.45 or prior. I can use CachedImage for now, but it outputs a warning message which is inconvenient (and falsely alarms testers). Would you be open to a PR that conditionally outputs the warning based on RN version?

ImageBackground not present in RN 0.45

@mienaikoe
Copy link

On RN 0.55, this throws an exception. Could really use a CachedImageBackground

@simonbuerger
Copy link

I've just switched to using CustomCahcedImage

<CustomCachedImage source={{ uri: 'https://some/image/source' }} component={ImageBackground}><Text>Some text</Text></CustomCachedImage>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants