react-native-actionsheet
react-native-actionsheet copied to clipboard
Error calling RCTEventEmitter.receiveTouches
This error occures when I run this.ActionSheet.show()
from iOS
Error calling RCTEventEmitter.receiveTouches
Unhandled JS Exception: Exception calling object as function: [object Object], 381 is not usable as a native methd argument (unknown file: 2206)
This error occurs to me when I add the <Text></Text>
tags to the title prop.
@vatex @renato-bvdash Any update on this? It occurs when we pass a custom element to options
on iOS.
@lukebrandonfarrell I use this module for Android only. I used ActionSheetIOS for iOS platform
Error calling RCTEventEmitter.receiveTouches
Unhandled JS Exception: Exception calling object as function: [object Object], 381 is not usable as a native methd argument (unknown file: 2206)
if you are using a custom styling check your import it should import { ActionSheetCustom as ActionSheet } from 'react-native-actionsheet'; not import ActionSheet from 'react-native-actionsheet';