react-native-performance-stats icon indicating copy to clipboard operation
react-native-performance-stats copied to clipboard

Android: Cannot read property 'start' of undefined

Open VacuumDecay opened this issue 3 years ago • 4 comments

Hi, thanks for this repo.

I am unable to run this on Android as I get the error "Cannot read property 'start' of undefined" when attempting to invoke PerformanceStats.start(true);.

After some testing it seems that PerformanceStatsNativeModule is always undefined in /src/index.js and it appears this library is not built when I compile my app.

I'm on React Native version 0.64 and have am not yet using the new architecture. Seems like the autolinking hasn't worked unless I am missing something.

VacuumDecay avatar Nov 24 '22 13:11 VacuumDecay

I'm getting the same error, I guess it's not solved yet.

eyupsincar avatar Jan 27 '23 12:01 eyupsincar

not working on android

mytabworks avatar Dec 07 '23 10:12 mytabworks