Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28469

React Native Error: TypeError: null is not an object _RNGestureHandlerModule.default.Direction

$
0
0

I have tried many ways to fix this error but all attempts have failed.

  • FOR ANDROID NOT IOS.

_RNGestureHandlerModule.default.Direction

I was trying for android. I found bug react-native-gesture-handler buy I don't know how to fix it.

I am following this instruction step by step https://reactnavigation.org/docs/en/getting-started.html

I tried linking the react-native-gesture-handler manual. and also tried unlinked. I made react-native.config.js with code

exports = {
    dependencies: {
      'react-native-gesture-handler': {
        platforms: {
          android: null,
          ios: null,
        },
      },
    },
  };

I am using System:

 OS: Linux 5.3 Arch Linux undefined
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 16.06 GB / 31.21 GB
    Shell: 5.0.11 - /bin/bash
  Binaries:
    Node: 12.13.0 - /usr/bin/node
    Yarn: 1.19.1 - /usr/bin/yarn
    npm: 6.12.1 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.4 => 0.61.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1

"react-navigation": "^2.18.2",
"react-navigation-stack": "^1.10.3"
  • FOR ANDROID NOT IOS.

_RNGestureHandlerModule.default.Direction I wrote about the bug react-native-gesture-handler Github


Viewing all articles
Browse latest Browse all 28469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>