mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 18:14:14 +00:00
a6f47d46ca
Summary: When looking at enabling gzip content encoding on Android I stumbled on this old issue where the body content is not decoded. It happens because okhttp only handles gzip decoding if the user does NOT provide an accept-encoding header. This is pretty confusing because on iOS we need to pass the header manually if we want to receive a gzipped response. I think it makes sense to handle the decoding no matter what. See the comment in code for more details. Fixed #5297 Pull Request resolved: https://github.com/facebook/react-native/pull/21187 Differential Revision: D9978889 Pulled By: hramos fbshipit-source-id: b86791fb7d3157f325a0904225d2f63d166080d5
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.