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

Cannot change color of ActivityIndicator on iphone5c #22055

Closed
3 tasks done
salujaharkirat opened this issue Nov 1, 2018 · 4 comments
Closed
3 tasks done

Cannot change color of ActivityIndicator on iphone5c #22055

salujaharkirat opened this issue Nov 1, 2018 · 4 comments
Labels
Bug Component: ActivityIndicator Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@salujaharkirat
Copy link

Environment


  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz
      Memory: 48.68 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 9.10.0 - /usr/local/bin/node
      Yarn: 1.3.2 - /usr/local/bin/yarn
      npm: 5.6.0 - /usr/local/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.0, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.3
        API Levels: 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.1 AI-173.4720617
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
      react-native: 0.57.3 => 0.57.3
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2
      react-native-git-upgrade: 0.2.7
      react-native-rename: 2.2.2

Description

I recently upgraded from react-native 0.48.3 to react-native 0.57.3. After upgrade ActivityIndicator is not reflecting the colour I pass as props. It is taking default colour which is GRAY. This is happening only on iPhone 5c. I tried checking on other models using simulator and it works fine over there.

Here is the common code which I am using for my application :-

const WealthyActivityIndicator = function ({style, color}) {
  return (
    <ActivityIndicator
      animating
      color={color || "blue"}
      style={[styles.loader, style]}
    />
  );
};

We still have clients on this particular model of iPhone so wanted to get it working on this. Can someone please tell why is this breaking and how to fix it? TIA

@Sigve84
Copy link

Sigve84 commented Dec 16, 2018

I have the same issue on Iphone 5 as well

@ivanguimam
Copy link

Suffering from this in the version 0.57.8

@stale
Copy link

stale bot commented Aug 2, 2019

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 Aug 2, 2019
@stale
Copy link

stale bot commented Aug 9, 2019

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 Aug 9, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Component: ActivityIndicator 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

5 participants