美文网首页
null is not an object (evaluatin

null is not an object (evaluatin

作者: ablac | 来源:发表于2019-02-25 09:17 被阅读12次

或 Cannot read property 'DocumentDir' of undefined

1、npm install react-native-fetch-blob --save
2、react-native link react-native-fetch-blob --save

link完之后在ios工程目录Library下没找到。。

手动添加
1、 addFilesTo 选择node_modules->react-native-fetch-blob->ios->RNFetchBlob.xcodeproj
2、target->Linked Frameworks And Librarys 点击“+” 找到libRNFetchBlob
完成后clean 、run

相关文章

网友评论

      本文标题:null is not an object (evaluatin

      本文链接:https://www.haomeiwen.com/subject/vacwyqtx.html