errorNative module cannot be null 情况一 原因: 在react native 中,声明了某个module,但是原生没有此module,导致错误。 如:在js中声明了p2pRTC, var p2pRTC = NativeModules.P2PRTCModule; 解决: 原生实现该Module,或者js中删除该声明。 情况二 跟PushNotification有关,需要手动完成Linking……继续阅读 »