We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json
"dependencies": { "@remobile/react-native-toast": "^1.0.5", }
use
import Toast from '@remobile/react-native-toast'; render() { return ( <TouchableOpacity onPress={Toast.showShortTop.bind(null, "this is a message")}> Hello fffworld! ) }
error: undefined is not an object(evaluating 'RECTToast.show') cannot read property 'show' of undefined May I ask what is the reason?
The text was updated successfully, but these errors were encountered:
@jonyshi I have the same issue too.. :(
Sorry, something went wrong.
Make sure to follow the README for the Android setup. I got this error then added
import com.remobile.toast.RCTToastPackage;
and
new RCTToastPackage()
to MainApplication.java and it worked
No branches or pull requests
package.json
"dependencies": {
"@remobile/react-native-toast": "^1.0.5",
}
use
import Toast from '@remobile/react-native-toast';
render() {
return (
<TouchableOpacity onPress={Toast.showShortTop.bind(null, "this is a message")}>
Hello fffworld!
)
}
error:
undefined is not an object(evaluating 'RECTToast.show')
cannot read property 'show' of undefined
May I ask what is the reason?
The text was updated successfully, but these errors were encountered: