Support react-native > 0.40 (#437)

* Support react-native > 0.40

* Bumping major version. Breaking change.

* Upgrade example project from 0.33 => 0.40.
This commit is contained in:
Olof Dahlbom
2017-01-11 13:43:43 +01:00
committed by Matt Apperson
parent 9bcf70cbb5
commit fe6bc4f3df
24 changed files with 493 additions and 222 deletions

View File

@@ -33,6 +33,7 @@ class VideoPlayer extends Component {
};
onLoad(data) {
console.log('On load fired!');
this.setState({duration: data.duration});
}