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