| #
5e36fcbe |
| 03-Jun-2023 |
Kudo Chien <[email protected]> |
[core][dev-launcher] refactor network interceptor on ios (#22669)
# Why
since we are going to integrate the network interceptor into expo go, this pr tries to move some shared code into expo-modu
[core][dev-launcher] refactor network interceptor on ios (#22669)
# Why
since we are going to integrate the network interceptor into expo go, this pr tries to move some shared code into expo-modules-core, fixing some issues and adding unit tests.
# How
- move the interceptor protocol class and cdp logger into expo-modules-core
- introduce strong typed `CdpNetworkTypes`
- fix http redirection issues
- fix duplicated CDP events when integrated with reanimated (we should exclude reanimated from the `sendWrappedEventToAllPages`
# Test Plan
- add `ExpoRequestCdpLoggerSpec` unit tests
- ci passed
- test network interceptor on bare-expo
---------
Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
|