Skip to content

Conversation

@mweststrate
Copy link
Contributor

@mweststrate mweststrate commented Feb 25, 2020

Summary:

When using a production build of flipper, the network requests are made from a pre-bundled javascript file, which results in an origin header based on a local file url. In a future we will make sure that this origin is consistent both in prod- and non-prod builds, but for compatibility reasons making sure it will be compatible with the next react-native CLI version as well

Facebook: this corresponds with diff D20001690

Test Plan:

  1. Download the latest public release build of Flipper
  2. Before this patch, it won't be able to connect, with this patch, it will be

Before:

Screen Shot 2020-02-24 at 16 33 57

After:

Screen Shot 2020-02-24 at 16 35 41

When using a production build of flipper, the network requests are made from a pre-bundled javascript file, which results in an origin header based on a local file url. In a future we will make sure that this origin is consistent both in prod- and non-prod builds, but for compatibility reasons making sure it will be compatible with the next react-native CLI version as well

Facebook: this corresponds with diff D20001690
@thymikee thymikee merged commit 91f0a02 into react-native-community:master Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants