when I call it like stated in docs :
var VideoPlayer = require('react-native-native-video-player');
/**
* The method will launch native module
* @param {String} url Video link
*/
VideoPlayer.showVideoPlayer(url);
I got this error
react-native can't read property showVideoPlayer of undefined
when I run console.log(VideoPlayer) just before I call showVideoPlayer the log show the object and the method showVideoPlayer defined inside it
any help will be appreciated.