Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 本机基本Toast在实时模式下不工作_React Native_React Redux_Toast - Fatal编程技术网

React native 本机基本Toast在实时模式下不工作

React native 本机基本Toast在实时模式下不工作,react-native,react-redux,toast,React Native,React Redux,Toast,我们正在React Native应用程序中使用NativeBase。我们试图根据redux操作中设置的错误显示Toast组件,因为它是通过调用API实现的 它在调试模式下工作良好,但在实时构建中不工作。请建议一下我们能做什么 代码: 然后 toastr.showToast('Verication code is invalid.'); 你找到解决方案了吗?你找到解决方案了吗? toastr.showToast('Verication code is invalid.');

我们正在React Native应用程序中使用NativeBase。我们试图根据redux操作中设置的错误显示Toast组件,因为它是通过调用API实现的

它在调试模式下工作良好,但在实时构建中不工作。请建议一下我们能做什么

代码:

然后

toastr.showToast('Verication code is invalid.');

你找到解决方案了吗?你找到解决方案了吗?
toastr.showToast('Verication code is invalid.');