Relative Content

Tag Archive for androidreactjsreact-native

React Native custom RefreshControl component doesn’t work on android

I recently created a custom spinner icon for my app, and I have implemented it everywhere without too much hassle, but when it comes to the refresh control it’s another story. I am using a <FlatList> on several parts of my app, and inside of the refreshControl prop I previously passed <RefreshControl> from react native. I want to get rid of the default activity indicator and use my custom component instead, so I created a custom refresh control and it works great on iOS, but on android, now my flatlist does not show anything at all.

Invariant Violation: TurboModuleRegistry.getEnforcing(…): ‘VectorIcons’ could not be found

Invariant Violation: TurboModuleRegistry.getEnforcing(…): ‘VectorIcons’ could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {“NativeModules”:[“PlatformConstants”,”LogBox”,”Timing”,”AppState”,”SourceCode”,”BlobModule”,”WebSocketModule”,”DevSettings”,”DevToolsSettingsManager”,”Networking”,”Appearance”,”DevLoadingView”,”HeadlessJsTaskSupport”,”UIManager”,”DeviceInfo”,”DeviceEventManager”,”RNGestureHandlerModule”,”I18nManager”],”TurboModules”:[],”NotFound”:[“NativePerformanceCxx”,”NativePerformanceObserverCxx”,”RedBox”,”BugReporting”,”VectorIcons”]}, js engine: hermes
LOG Running “AssignmentProject” with {“rootTag”:11}