bgaleotti / react-query-native-devtools

162 stars 19 forks source link

Support for react-native 0.70 #94

Open drop-evan opened 1 year ago

drop-evan commented 1 year ago

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?

bgaleotti commented 1 year ago

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

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

Lucas-Quinn-1163273 commented 1 year ago

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