react-query-native-devtools icon indicating copy to clipboard operation
react-query-native-devtools copied to clipboard

Support for react-native 0.70

Open drop-evan opened this issue 3 years ago • 2 comments

In react-native 0.70 there is a new way to include flipper

  use_react_native!(
    :path => config[:reactNativePath],
    :flipper_configuration => FlipperConfiguration.enabled,
  )

With this method we don't include react-native-flipper in package.json, and if we do we're met with the error when building a release build

error build: Undefined symbol: _OBJC_CLASS_$_FlipperClient

Is there an official way to include react-query-native-devtools in a react-native 0.70 app?

drop-evan avatar Oct 24 '22 21:10 drop-evan

@drop-evan I just added a working demo application https://github.com/bgaleotti/react-query-native-devtools/pull/96 using [email protected].

I don't think your error belongs to this extension.

bgaleotti avatar Nov 02 '22 13:11 bgaleotti

This demo just means it could run dev build, not release build. Acutally it's due to react-flipper 0.164 above couldn't be build. It's a known issue for flipper https://github.com/facebook/flipper/issues/4278

Lucas-Quinn-1163273 avatar Dec 01 '22 07:12 Lucas-Quinn-1163273