react-native-actionsheet
react-native-actionsheet copied to clipboard
ActionSheet.show() throws error
ActionSheet.show() throws an error after upgrading to RN 0.50.4. Has anyone else faced similar issue ?
2017-12-18 12:32:11.183 [fatal][tid:com.facebook.react.JavaScript] Error calling RCTEventEmitter.receiveTouches
Unhandled JS Exception: Exception calling object as function: C++ exception in 'nativeFlushQueueImmediate'
Malformed calls from JS: field sizes are different.
Me to having the same issue please any one can revert back with a solution.
There is a fix for it. We cont send any component with the title for styling.The title takes only the string.
Error occurs when runnig in iOS and not in android
@getavinashm @anilkumar1505 @meetyourdev did yous find a fix to this? This error occurs when I pass a custom element to options
on iOS.
@lukebrandonfarrell react-native-actionsheet uses react-native's default ActionSheetIOS on iOS which does not allow custom element to be passed. It allows string for title,message and array of string for options due to which error occurs while passing custom element.
@meetyourdev Thanks. Makes sense now!