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

<ImageBackground> blurRadius prop. does not work on some actual iOS devices #20910

Closed
3 tasks
Radilx opened this issue Aug 29, 2018 · 9 comments
Closed
3 tasks
Labels
Bug Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@Radilx
Copy link

Radilx commented Aug 29, 2018

Environment

React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 95.29 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.11.3 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 10.0/10L176w - /usr/bin/xcodebuild
npmPackages:
react: ^16.4.1 => 16.4.1
react-native: ^0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1

Description

Creating an ImageBackground with a blurRadius is just not reliable enough to use in production. Sometimes it works on physical devices, sometimes it does not and the prop. is ignored completely. On my iPhone SE and iPhone 8 it never works, but on my iPhone 5s it sometimes works (I may have to reload a few times).

Reproducible Demo

render(){ 
     return (
      <ImageBackground blurRadius={10} source={require("./stallsky.jpg")} style={{width: "100%", height: "100%"}}> . 
      </ImageBackground>
    }
}

Works perfectly on the simulator, does not work reliably on devices. Hard to test because it's so unreliable.

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Aug 29, 2018
@Schwusch
Copy link

I am noticing this on Android too.
It works perfectly in debug mode, but fails in release mode.

@violet-athena
Copy link

We have the same issue but only on iOS devices. On Android, it works consistently, but on iOS it is a hit and miss. It does work in the emulator

@TingAli
Copy link

TingAli commented Dec 12, 2018

Works on the emulator for me, but not on a device. (Android)

@codiri
Copy link

codiri commented May 31, 2019

anu update about this issue i have the same,
it's work perfectly with Android but doesn't work in IOS

@hannojg
Copy link
Contributor

hannojg commented Aug 12, 2019

Same issue here fails in a release. Even worked in debug mode on physical devices.

@ikishanoza
Copy link

ikishanoza commented Aug 19, 2019

Same issue worked in debug for ios and when I upload the app in TestFlight its not working
I haven't use blurRadius mine one is simple with src and style

any help ?"?

:(

UPDATE

I got resolved by cloning project again actually the image from the assets are not being copied to ios folder that's why its happening

@jxzy999
Copy link

jxzy999 commented Oct 12, 2019

Same issue here fails in a release. Even worked in debug mode on physical devices.

same issue, is any sulotion ?

@stale
Copy link

stale bot commented Jan 10, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 10, 2020
@stale
Copy link

stale bot commented Jan 17, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jan 17, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

10 participants