在iOS版的安裝說明,它說運行如何在使用Podfiles集成react-native時集成react-native-video?
react-native link
完成後我看到:
然而,立即編譯失敗,出現錯誤反應,和/ RCTViewManager.h不找到:
查看integration instructions on Facebook's website時,它使我們使用Podfile。當您使用Podfile,你的項目是這樣的:
這相較於反應天然樣品的項目,我可以看到,事實上,它不會出現使用Podfile集成在反應本土所有;而不是所有反應的組分包括爲庫:
因此,我懷疑的反應本地視頻的集成說明不與integration instructions found here兼容。
任何人都可以建議如何使用Podfiles集成react-native時如何集成react-native-video?
你的提示工作 - 我需要添加'莢「反應本地視頻」,:PATH =>「node_modules/react-native-video'',我能夠正確地整合這個項目。我運行原生0.43。謝謝! – esilver