I have a react native app using [email protected] and I am having a heck of a time getting redux-flipper working. Part of the instructions are to explicitly include the react-native-flipper dependency. I don’t mind this as I can follow the instructions to use the latest flipper sdk, rather than the older version that ships with react-native.
However that causes an error in the build for android.
Could not find com.facebook.flipper:flipper-fresco-plugin:0.190.0
I can’t seem to figure out how to upgrade flipper unless I downgrade to a previous version. (I got 0.177.0 working).
2
Answers
I found the answer to this! Flipper is no longer building flipper-fresco so the versions are not synced. React native assumes they are and has the following in the app/build.gradle file
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
Since fresco is no longer in sync you need to lock it in. The latest version I found in maven was 0.182.0 so change the build.gradle to.
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:0.182.0")
The current official solution is to update your android/gradle.properties file with the following, anything higher than version 0.182.0 will fail at the moment