Commit Graph

26 Commits

Author SHA1 Message Date
Michel Weststrate
d680a2807f Bumped deps / pods to latest (0.91.1), re-enabled i386
Summary:
Per title

After landing this and verifying in CI, will apply those version bumps to RN itself: https://github.com/facebook/react-native/pull/31562, and remove the custom overrides in the future

Reviewed By: passy

Differential Revision: D28573552

fbshipit-source-id: e52c40f4751f933f17312aac2aacfd695f554a3f
2021-05-21 03:54:39 -07:00
Michel Weststrate
42325e41c5 Automatically bump iOS pods
Summary: Update our pods automatically post release

Reviewed By: priteshrnandgaonkar

Differential Revision: D28283782

fbshipit-source-id: eff0b033c6704e4e46c0eb96cc4d527969ce7ccc
2021-05-07 09:41:22 -07:00
Michel Weststrate
25424ed47c Bump all Pods to latest (#2275)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2275

Forced all current pods to use the latest available. If this builds successfully, will create a PR against React Native so that they become the default, and remove them here again.

This job currently does limit the architectures we build for. Pritesh is investigating if we can wide that again, as this might not be acceptable to RN in general.

This doesn't bump the android version to 0.88, as the artifact publishing failed for that version, but since there are currently less problems with the Android version I wanted to go ahead with just iOS.

Reviewed By: cekkaewnumchai, priteshrnandgaonkar

Differential Revision: D28257283

fbshipit-source-id: a631b1c354617ed356cd1e74b9e8e8aa050eed60
2021-05-07 05:05:20 -07:00
Michel Weststrate
fcab54a76d Fix React Native build (#2271)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2271

Fix react native OSS build. As discussed a couple of weeks ago, we can bump deps, but cannot bump lock files during release, as artifacts are then not yet available.

We backed out from these bumps before D27764997 (98c3913b62), but that didn't seem to be sufficient. Filed T90301619 as follow up

Reviewed By: priteshrnandgaonkar

Differential Revision: D28255272

fbshipit-source-id: ee4d5b158a653c78f73b46c9ca695cfced315e56
2021-05-06 09:48:41 -07:00
Flipper Bot
52fbd9a8a0 Flipper Release: v0.88.0
Summary: Releasing version 0.88.0

Reviewed By: cekkaewnumchai

Differential Revision: D28253701

fbshipit-source-id: 968406eae58e93aee1d605d736bff77c703c31fc
2021-05-06 05:03:03 -07:00
Flipper Bot
7f135722a9 Flipper Release: v0.87.0
Summary: Releasing version 0.87.0

Reviewed By: passy

Differential Revision: D28055084

fbshipit-source-id: 71cb9abbea0b43b56fd23baf7a728337a554ecbc
2021-04-28 06:58:22 -07:00
Michel Weststrate
1365265369 Downgrade native deps of ReactNativeFlipper example since publishing failed
Summary: 0.86 was released, but publishing ios / android assets failed, so temporarily bumping those back to 0.85 to unblock public CI

Reviewed By: passy

Differential Revision: D27947147

fbshipit-source-id: 60a50b4902ec28d48adac35b0677610cdcd18b00
2021-04-23 05:07:20 -07:00
Flipper Bot
bde0791818 Flipper Release: v0.86.0
Summary: Releasing version 0.86.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D27905837

fbshipit-source-id: 349b63a1f06d85b075d07b610179fd613da6bf52
2021-04-21 04:54:43 -07:00
Flipper Bot
a792c146d6 Flipper Release: v0.85.0
Summary: Releasing version 0.85.0

Reviewed By: jknoxville

Differential Revision: D27766005

fbshipit-source-id: 25bdd6d0ad831e087e51529adc5e6c2b4fa43d57
2021-04-14 09:49:45 -07:00
Flipper Bot
ac70d35671 Flipper Release: v0.84.0
Summary: Releasing version 0.84.0

Reviewed By: nikoant

Differential Revision: D27617439

fbshipit-source-id: 8e4ca47eeddca8a8b46d051a7f70133dab04c3ac
2021-04-07 08:50:41 -07:00
generatedunixname89002005306973
4aeb1e7293 Flipper Release: v0.83.0
Summary: Releasing version 0.83.0

Reviewed By: mweststrate

Differential Revision: D27468622

fbshipit-source-id: d245bb418d546e19ec09dfe11ec53964ceec85f1
2021-03-31 10:20:17 -07:00
generatedunixname89002005306973
44c0dcad1e Flipper Release: v0.82.2
Summary: Releasing version 0.82.2

Reviewed By: passy

Differential Revision: D27429067

fbshipit-source-id: a4d2971cd9849d06ee7971e51acc31977b518e64
2021-03-30 06:01:32 -07:00
Michel Weststrate
5e439730db Downgraded FlipperKit version as 0.82.1 pods don't seem to be published
Summary: Per title. Should unfail failing GH actions

Reviewed By: muraziz

Differential Revision: D27393865

fbshipit-source-id: 888cfda2361c3be3f36c4d6418bbe31cde3f81c6
2021-03-29 07:00:47 -07:00
generatedunixname89002005306973
979c49b18d Flipper Release: v0.82.1
Summary: Releasing version 0.82.1

Reviewed By: passy

Differential Revision: D27360493

fbshipit-source-id: 683605461956d39fdc20560d3a045fd42325e5fb
2021-03-26 07:16:55 -07:00
Michel Weststrate
32447c9026 Fix failing build by not propagating deployment target to deps (#2103)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2103

Local builds break if the deploy target of deps isn't new enough. It seems that the project podfile is not respected in this regard, as reported here: https://stackoverflow.com/a/37289688/1983583. Will see if there is a better way to fix this.

Reviewed By: jknoxville

Differential Revision: D27328025

fbshipit-source-id: 6c5ac2dc88c3dd90dd84ce691a4f8e42188f96c2
2021-03-25 10:03:33 -07:00
generatedunixname89002005306973
9bccaf3951 Flipper Release: v0.82.0
Summary: Releasing version 0.82.0

Reviewed By: mweststrate

Differential Revision: D27328585

fbshipit-source-id: 720bc154078611295664a34a567299a94a790711
2021-03-25 09:36:13 -07:00
Michel Weststrate
e1b12bbcf7 Update to react-native 0.64 and enable Hermes
Summary:
allow-large-files

Per title. hermes enabled so that we can verify the hermes debugger works.

Reviewed By: passy

Differential Revision: D27229331

fbshipit-source-id: c2e45151b9d2097edc7e79f54eb89f9d110899d6
2021-03-22 10:26:07 -07:00
Michel Weststrate
6b8eea8011 Bump example project deps to 0.79
Summary: This should have been automated, but I think the diff that landed the script and the actual release missed each other, so next time this should be automated

Reviewed By: passy

Differential Revision: D26782442

fbshipit-source-id: 205ab2e63bdff33f1ecea0a041d88a0a6ec6ae2d
2021-03-03 16:17:48 -08:00
Michel Weststrate
c1ce2fad90 Fix ReactNativeFlipperExample build
Summary: The React Native example project was broken for iOS. Fixed this by upgrading cocoapods locally, and bumping the Flipper version.

Reviewed By: passy, priteshrnandgaonkar

Differential Revision: D26777641

fbshipit-source-id: 889ff4f9de7c44240fe0a1b5d7d3c7c0b688d8ad
2021-03-03 05:05:05 -08:00
Michel Weststrate
d836b80273 Fix network plugin not working in example
Summary: Two diffs ago network plugin didn't seem to work correctly, fixed it by explicitly bumping / verifying that the latest SDK is used

Reviewed By: passy

Differential Revision: D25755993

fbshipit-source-id: 7cc0def113a84b0a66c728b479247f5c18ce79b8
2021-01-04 12:17:56 -08:00
Michel Weststrate
5471b844bc Apply react-native migration 0.62.2 -> 0.63.4
Summary:
In D25244631 (92bd68a371) we bumped the react-native dep of Flipper but we didn't apply the migration guide (sorry for missing that in the review), so the ReactNativeExample fell apart when trying to build for iOS. This diff applies the migration guide which nicely fixes that:

https://react-native-community.github.io/upgrade-helper/?from=0.62.2&to=0.63.4

Recreating the Podfile.lock and running `./gradlew clean` fixed all build problems after that.

Verified that `yarn ios` and `yarn android`, and building from XCode all work.

Found (probably unrelated / existing) issues:
* custom plugins only show up after initial app start after refreshing the plugin list by navigating to another diffs first, so this seems to be a UI staleness bug
* Network plugin doesn't seem to work ion iOS (either not showing traffic or not showing data at all)

Reviewed By: passy

Differential Revision: D25755490

fbshipit-source-id: baea8b152fb252deda04291ec197ab87c2fbe3eb
2021-01-04 12:17:56 -08:00
Michel Weststrate
febb3deed9 Some dep bumps
Summary: Some dependency updates, mostly to prepare for next diff and update the podfile with the newest RN template

Reviewed By: passy

Differential Revision: D21749214

fbshipit-source-id: 0af10e404901a7522253136dc8c03020e7c813f8
2020-05-28 09:59:53 -07:00
Michel Weststrate
8a7e0578ff Update to rc.5
Summary:
* Followed plan of D20221558
* Manually bumped Flipper version on iOS to 0.33.1, which contains https://github.com/facebook/flipper/pull/874/files (make Flipper compatible with iOS 9).
* Will submit a PR on RN to bump the iOS template

Reviewed By: passy

Differential Revision: D20361824

fbshipit-source-id: 4f013b731b40e2d4f941742f9201bf2bb4382ec3
2020-03-10 09:02:30 -07:00
Michel Weststrate
f3fd8646e3 Upgrade example app to 0.62.0-rc.3
Summary:
^

1. Remove entire `react-native/ReactNativeExampleFlipper` folder
2. Run `npx react-native init --version 0.62.0-rc.3 ReactNativeExampleFlipper`
4. restore the `package.json` and `TicTacToe` file and import
5. removed `.eslintrc`, `_BUCK` and `build_defz.bzl`, `.watchmenconfig`

Added comments below to highlight the non-generated changes

Reviewed By: passy

Differential Revision: D20221558

fbshipit-source-id: da1c895a2b0e7ce48092e64cdb5ffdb9e4a1a10b
2020-03-04 19:00:20 -08:00
Janic Duplessis
44f5e35675 Implement react-native-flipper on iOS (#795)
Summary:
Implement the react-native-flipper native module on iOS. Uses very similar abstractions as on Android.

## Changelog

[react-native-flipper] Support iOS
Pull Request resolved: https://github.com/facebook/flipper/pull/795

Test Plan:
Tested using the RN TicTacToe example app

{F228406333}

Reviewed By: mweststrate

Differential Revision: D19853017

Pulled By: priteshrnandgaonkar

fbshipit-source-id: d93d35ff984b9ba75f812c4c8e3c82e4d550f0c0
2020-02-14 21:17:11 -08:00
Michel Weststrate
0fa0899299 Create React Native example project
Summary:
This diff creates a sample React Native project (based on the 0.62-rc.0 template).

This example is created like:
(Documenting this here as in the future this might be easier than upgrading the project itself)

1. Run `npx react-native init ReactNativeFlipperExample --version 0.62.0-rc.0`
2. Follow the installation steps to enable Flipper, that is, call `initializeFlipper(this, getReactNativeHost().getReactInstanceManager());` at the end of the `onCreate` method in `MainApplication.java`
3. Put `FlipperTicTacToe` in the root of the project, and call it from `App.js` as a component
4. install `react-native-flipper` as dependency
5. install `relative-deps` as dev dependency, and set it up as shown in `package.json`. This tool make sure that we build and test this project against the version of react-native-flipper in this repository, rather than against the one on NPM.
6. removed some stuff, like tests and linting, which is just in the way in this repo

This PR does not support iOS, as Flipper + RN iOS is still broken in 0.62.0-rc.0, and the current version of react-native-flipper doesn't support iOS yet either.

Documentation on how to set up Flipper in general is not part of this Diff

_N.B. since this is a **public** project, to be visible and runnable by our OSS community, the build setup is kept plain, vanilla, react-native, and **not** wired up to our normal / internal build processes. This is also the reason that lint suggestions beyond the license headers have been ignored. If any others should be applied, it is probably the official react native template that requires updating_

Reviewed By: passy

Differential Revision: D19449295

fbshipit-source-id: 2aeb6044f8dd01f09a95350c84fff2419d685a65
2020-01-23 04:47:52 -08:00