Skip to content

null is not an object ( evaluating 'RNGestureHandlerModule.default.Direction') #676

Closed
@mohammad-yousuf

Description

@mohammad-yousuf

Screenshot_1562558557

I'm having this issue in Android with react-nagivation and react-native-gesture-handler latest release. kindly help

Activity

mohammad-yousuf

mohammad-yousuf commented on Jul 9, 2019

@mohammad-yousuf
Author
SeaMoonTime

SeaMoonTime commented on Jul 9, 2019

@SeaMoonTime

I have the same questions.

SeaMoonTime

SeaMoonTime commented on Jul 9, 2019

@SeaMoonTime

In 0.60, this is an awful bug. Please solve it as soon as possible.

har2008preet

har2008preet commented on Jul 9, 2019

@har2008preet

pod install on ios folder works for me

cd ios
pod install
m2mathew

m2mathew commented on Jul 9, 2019

@m2mathew

This worked. Thanks, @har2008preet! 🚀

pod install on ios folder works for me

cd ios
pod install
dangtienngoc

dangtienngoc commented on Jul 10, 2019

@dangtienngoc

How resolve it on Android and Window system.

SeaMoonTime

SeaMoonTime commented on Jul 10, 2019

@SeaMoonTime

it works well in iOS, but still fail to run in Android. Who can tell me how to solve the bug in Android?

dangtienngoc

dangtienngoc commented on Jul 10, 2019

@dangtienngoc

I run my app on Android successfully with react-native-gesture-handler

  1. I disable autoliking
  2. Using jetify to fix Android X in this time.
MrHazimAli

MrHazimAli commented on Jul 10, 2019

@MrHazimAli

@dangtienngoc , can you help how to use jetify to fix android X?

dangtienngoc

dangtienngoc commented on Jul 10, 2019

@dangtienngoc

@dangtienngoc , can you help how to use jetify to fix android X?

You can check it here: https://github.com/mikehardy/jetifier

dangtienngoc

dangtienngoc commented on Jul 10, 2019

@dangtienngoc

@MrHazimAli I do a video my step resolve issue here:

MrHazimAli

MrHazimAli commented on Jul 10, 2019

@MrHazimAli

thanks @dangtienngoc , working!

SeaMoonTime

SeaMoonTime commented on Jul 10, 2019

@SeaMoonTime

thanks @dangtienngoc , it works!!!!

0xinhua

0xinhua commented on Jul 10, 2019

@0xinhua

many thanks for your video. @dangtienngoc , I use jetifier It was been build successful.
A anoter error in emulator :
TypeError: null is not an object (evaluating '_RNGestureHandlerModule.default.createGestureHandler') This error is located at in PanGestureHandler (at StackViewLayout.tsx:372)
Any solutions?

meraklis56

meraklis56 commented on Jul 10, 2019

@meraklis56

In react-native@0.59.10 it doesn't work. I still get the same error, even after jetify "null is not an object ( evaluating 'RNGestureHandlerModule.default.Direction')"

100 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @agorf@biranchi2018@aabreu@sanjaynegi@aliharis

        Issue actions

          null is not an object ( evaluating 'RNGestureHandlerModule.default.Direction') · Issue #676 · software-mansion/react-native-gesture-handler