当我们将react-native-navigation V2和react-native-youtube一起使用时,出现UNAUTHORIZED_OVERLAY错误

时间:2018-10-30 05:44:05

标签: android reactjs react-native wix-react-native-navigation

我使用了react-native-navigation V2和react-native-youtube。 当我播放视频时,它会自动暂停并出现错误

10-30 10:59:35.613 18102-18102 / com.xyz W / YouTubeAndroidPlayerAPI:由于未经许可的播放器覆盖,导致YouTube视频播放停止。 YouTubePlayerView被android.widget.FrameLayout {91b1c4c V.E ...... ........ 0,0-1080,1857}所遮盖。 YouTubePlayerView被完全覆盖,模糊视图的每个边缘与YouTubePlayerView之间的距离(以px为单位)为:左:54,上:734,右:53,下:514 ..

此错误发生在V2中,因为bcoz在设置root之前为叠加管理器增加了一些新的支持,而在v1中,一切正常。

0 个答案:

没有答案