React-native-gesture-handler: Throws an error "The data couldn't be read because it isn't in the correct format" in Remote debug using Expo

Created on 14 Sep 2018  路  11Comments  路  Source: software-mansion/react-native-gesture-handler

I'm using the latest 1.0.7, I get an error an error "The data couldn't be read because it isn't in the correct format" in Remote debug mode using Expo without ejecting

This error only happens when I have "Debug Remote JS" enabled.

image

Missing info

All 11 comments

@qaiser110
Could you share some context when it occurs?

I'm using expo 27.1.1 (without ejecting) with react-native 0.55.2 (react 16.3.1)

Thanks @osdnk

I mean could you attach some code?

What's more, could you please try with Expo 30.0.0?

Thanks @osdnk for your reply

I plan to update to Expo 30 soon, but I'm not able to a the moment. I will update how it goes.

Same issue is happening in my application.
I'm using RN 0.57.1
It only happens with debugger mode on and iOS 10.3 and below. On higher iOS it's working fine.
Screenshot 2019-03-29 at 10 58 02 AM

I had the same issue and 'resolved' it. In my case, we would only get the error if we had the remote debugger on and logging out a certain message (with emojis). To fix this, I changed that message to something else and I can now continue to use the debugger.

Same issue here, on iOS 10.3 and 9.2, with no use of console.log. I noticed that it would work if renderLeftActions or renderRightActions returns either null, or a View with _width_ of 0. If height is more than 0 it is ok, but with width 1 or more the error will occur.

Edit: This is with 1.6.1 of react-native-gesture-handler and react-native 0.61.5.

Please provide some reproduction example, stack traces don't mention Gesture Handler at all here.

Closing until more info is provided.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tallen11 picture tallen11  路  3Comments

jacobrosenskold picture jacobrosenskold  路  3Comments

alexthebake picture alexthebake  路  3Comments

enahum picture enahum  路  4Comments

radex picture radex  路  3Comments