fiattt
fiattt
I have the same problem. Use "request.part(fileKey, file.getName(), file)" is ok. Use "request.part(fileKey, file)" server didn't receive the file field.
使用: BaiduMapAPI_Map/BMKMapComponent.h  1.参考手动配置.framework形式开发包http://lbsyun.baidu.com/index.php?title=iossdk/guide/buildproject TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择react-native-baidumapkit/ios目录中BaiduMapAPI_**.framework添加到工程中。 2.在Xcode的Project -> Active Target ->Build Phases ->Link Binary With Libraries添加系统动态库:libsqlite3.0.tbd libstdc++.6.0.9.tbd CoreTelephony.framework 3.引入mapapi.bundle资源文件 4.http://lbsyun.baidu.com/index.php?title=iossdk/guide/attention 5.在AppDelegate.m文件中添加对BMKMapManager的初始化,并填入您申请的授权Key,参考http://lbsyun.baidu.com/index.php?title=iossdk/guide/hellobaidumap