Skip to content

弃用 Native Request 模块,迁移到 expo/fetch #55

Description

@renbaoshuo

更新

expo 推出了一套自己的 native request 模块,故直接迁移到 expo/fetch 即可。


内容

目前似乎 Native Request 模块并不是很跨平台,Android 和 iOS 侧实现也受到所调用的请求库影响而有所不同。

我们可以使用 React Native 的 Turbo Native Modules 来使用 C++ 编写 Native Request 模块来解决这个问题,请求库可以使用 libcurl 及/或其变种。

优先级

此事项的优先级并不高,但在后期可以作为一个抹平不同平台之间差异性的优化点完成,故开启此 issue 备忘。

参考资料

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions