flipper: The native module for Flipper seems unavailable. Please verify that `react-native-flipper` is installed
đ Bug Report
I have updated React Native from v0.61.4 to v0.62.2 to try and use Flipper.
When I build and run the app The Metro Bundler throws the warning:
The native module for Flipper seems unavailable. Please verify that
react-native-flipperis installed as yarn dependency to your project and, for iOS, thatpod installis run in theiosdirectory.
I have installed it using npm.
My package.json looks like this:
"dependencies": {
"react": "16.13.1",
"react-native": "0.62.2",
"react-native-flipper": "^0.45.0",
"react-redux": "^7.1.3",
"redux": "^4.0.4",
"redux-flipper": "^1.2.0",
"redux-thunk": "^2.3.0",
...
In Flipper, React DevTools can connect to the app but when I try to use the Hermes Debugger or plugins they cannot be used:
When I run this:
adb shell am start -n com.app/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
I get this error:
Error type 3 Error: Activity class {com.app/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity} does not exist.
What could be the reason for the modules not installing correctly?
To Reproduce
Environment
âreactâ: â16.13.1â, âreact-nativeâ: â0.62.2â, âreact-native-flipperâ: â^0.45.0â, Mac OSX 10.14 Android 10, physical Pixel 2XL
Update
So I created a new React Native app just to see if I could get Flipper working and I could but without the redux-flipper plug-in. I also got Hermes debugger working. If I remove all reference and use of the redux-flipper plug in, I donât get the warning anymore saying that is canât find the package because I am not using this code in the redux store anymore:
// if (__DEV__) {
// const createDebugger = require('redux-flipper').default;
// middlewares.push(createDebugger());
// }
I do however get this error in Flipper developer tools console opened from the view menu:
Error: Feature not implemented
at getUser (bundle.js:597)
at e.default (bundle.js:2281)
at bundle.js:1577
at Array.map (<anonymous>)
at _default (bundle.js:1577)
at bundle.js:3
at Object.rehydrate (bundle.js:707)
at _rehydrate (bundle.js:699)
at bundle.js:699
I also donât get any of these options in the left hand side of Flipper (databases, images etc):

I am not using devTools v3 and a I keep having to do adb reverse.
Flipper still only connects to the device, not the app.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 9
- Comments: 35 (11 by maintainers)


I had the same problem, for me, directory structure in debug folder wasnât the same as in the main folder so it couldnât find it, check your folder structure and check this line:
Class<?> aClass = Class.forName("YOUR_PACKAGE_NAME.ReactNativeFlipper");I am just dropping this reply if somebody has the same problem đ
I found the culprit. Package identifier in ReactNativeFlipper.java was com.rndiffapp and I didnât notice it. Everything works now, thank you for the help đ
Might be quite obsolete, but didnât find this here. The problem with
iOSis related to the autolinking not being able to find the Podspec (not sure why). So what worked for me is directly specifying the path inPodfile. I added this line:pod 'react-native-flipper', path: '../node_modules/react-native-flipper'.I found myself not being careful on renaming the package name. Here is some advice for those who facing this problem when changing package name.
debugandmainhave the same directory in order forReactNativeFlipper.javato work.MainApplication.java,initializeFlipper()method have the correct class path.Hope this helps someone out there save you from hours of rebuilding
I am using the Redux Tool Kit â@reduxjs/toolkitâ: â^1.8.1â, âreact-nativeâ: â0.64.3â,
This is my store
And when I open the application appears the same problema that âThe native module for Flipper seems unavailable. Please verify that
react-native-flipperis installed as yarn dependency to your project and, for iOS, thatpod installis run in theiosdirectory.âI already did
pod installand did not work something.@jakubgrzelak hitting the exact same issue after upgrading to
0.69.1same exact versions as you.I have created a MRE here, displaying the issue, the warning also causes flipper plugins such as redux-debugger to also not work.
Could we reopen this?
I also accidentally placed
ReactNativeFlipper.javaintomainandroid folder, notdebug(android/app/src/debug/java/com/rndiffapp/ReactNativeFlipper.java).Worked for me! Thanks!
@dawidvdh That fix doesnât work for me as the file in question doesnât exist.
Having upgraded to XCode 14 Iâm seeing the above error using Flipper 0.164.0 and RN 0.63.4.
@Epick362 / @TheAlmightyBob, ok, it looks that Flipper isnât actually initialized on your app, the warning you get is a sympton of that, but probably not the original cause. Could you verify that the class
com.edocu.pris.ReactNativeFlipperindeed does exist and whether there are any errors logged in the device logs?@Epick362 / @TheAlmightyBob just to verify, you did run
cd android && ./gradlew cleanafter finishing the upgrade?@passy / @jknoxville any further input on this? There are now several reports than on Android specifically the Flipper client doesnât connect, any further ideas? At least the diagnostic utility seems to crash in both cases as well.