React-native: ProgressBarAndroid deprecated PropTypes validation

Created on 31 Aug 2016  路  4Comments  路  Source: facebook/react-native

Issue Description

When using the ProgressBarAndroid I get a warning with the following text:

Warning: You are manually calling a React.PropTypes validation function for the indeterminate prop on AndroidProgressBar. This is deprecated and will not work in the next major version. ...

RN ProgressBarAndroid bug

Steps to Reproduce / Code Snippets

just return <ProgressBarAndroid style={{ flex: 1 }} /> in render method

Additional Information

  • React Native version: 0.32.0
  • React version: 15.3.1
  • Platform(s): Android 6.0.1
  • Operating System: Ubuntu 16.04
Locked

All 4 comments

Switched to using ActivityIndicator

Oh my god, I completely forgot the new ActivityIndicator component.... Thanks

0.40.0-rc.2 still have the issue... Sad (

i solved it with this solution
stackoverflow

Was this page helpful?
0 / 5 - 0 ratings