使用React Native将图像上传到firebase

时间:2017-07-15 17:44:50

标签: reactjs firebase github react-native upload

我尝试过这个教程:https://github.com/CodeLinkIO/Firebase-Image-Upload-React-Native

但陷入了RNFB_ANDROID_PERMISSIONS = true react-native link

此命令崩溃了我的应用程序,我无法再继续了。还有其他好的教程吗?

1 个答案:

答案 0 :(得分:1)

您是否在Windows中的控制台中运行此命令?该命令设置env变量然后运行react-native link,因此问题可能是你没有正确设置env变量。 以下帖子可能会有所帮助 https://superuser.com/questions/212150/how-to-set-env-variable-in-windows-cmd-line