Remove alert on Android example
This commit is contained in:
parent
fde97ebaec
commit
5f6f1c3b01
@ -1,7 +1,3 @@
|
|||||||
/**
|
|
||||||
* Sample React Native App
|
|
||||||
* https://github.com/facebook/react-native
|
|
||||||
*/
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var React = require('react-native');
|
var React = require('react-native');
|
||||||
@ -11,7 +7,6 @@ var {
|
|||||||
Text,
|
Text,
|
||||||
View,
|
View,
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
AlertIOS,
|
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
var Video = require('react-native-video');
|
var Video = require('react-native-video');
|
||||||
@ -96,7 +91,7 @@ var VideoPlayer = React.createClass({
|
|||||||
resizeMode={this.state.resizeMode}
|
resizeMode={this.state.resizeMode}
|
||||||
onLoad={this.onLoad}
|
onLoad={this.onLoad}
|
||||||
onProgress={this.onProgress}
|
onProgress={this.onProgress}
|
||||||
onEnd={() => { AlertIOS.alert('Done!') }}
|
onEnd={() => { console.log('Done!') }}
|
||||||
repeat={true} />
|
repeat={true} />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
/**
|
|
||||||
* Sample React Native App
|
|
||||||
* https://github.com/facebook/react-native
|
|
||||||
*/
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var React = require('react-native');
|
var React = require('react-native');
|
||||||
|
Loading…
Reference in New Issue
Block a user