-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
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
Cannot read property ‘setOnTouchListener’ of null #45
Comments
Can you share the code you are using ? |
I also got this issue now, for me it only occurs on Android 11 (working fine on 8, 9 and 10) I am using
This is what I am doing:
The app does not crash, but the toast is not shown and I see the error message from this thread in the log: |
Ok good to know it which version it happens on |
I'm using pretty much the same specs and I also get this issue (only on Android 11) |
any solutions? |
The problem is android version>10. |
this is fixed in |
@triniwiz How do you mean? Any advice on how to fix the issue is appreciated. EDIT: Maybe update the readme on |
https://github.com/triniwiz/nativescript-plugins/tree/master/packages/nativescript-toasty |
I have a project I’m working on and have come across a weird situation. My primary dev machine is iMac Pro and I use bitbucket to store the code. I also pull to my MacBook to code while relaxing... the problem is with nativescript-toasty. Everything works fine on the iMac but on the MacBook Pro it throws an exception TypeError: Cannot read property ‘setOnTouchListener’ of null... I’m guessing this is line 30 of toasty.android.ts I’m asking here because maybe this is a set up issue?
The text was updated successfully, but these errors were encountered: