问题描述
我想在我的 React Native 应用中使用 RecordScreen NativeModule。
import {NativeModules} from 'react-native'
console.log(NativeModules) // This is empty {}
console.log(NativeModules.RecordScreen) // This is null
目前我正在 Android 设备 yarn android
版本上进行测试。
NativeModules
为空而 NativeModules.RecordScreen
为空的原因是什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)