EddyVerbruggen/Toast-PhoneGap-Plugin

Toast not shown in Android P

spragadheeshraj opened this issue ยท 5 comments

The toast is not shown on Pixel 2 running Android P. It does not provide any error message

  • Android device not sure on other devices (Tested with Pixel 2)
  • My JavaScript has no errors (window.onerror catches nothing).

Just confirming I have a similar problem. On Pixel 2 if I press a button that should show the toast, it shows if I press the button a few times, but never on the first time. Possibly a timing issue of some type.

I have the same issue with the recent Android P update on Pixel.

This pull request will fix it in my case: #118

Hope it could help you.

@patrickfrisch Thank you! I just tried it and it works fine now!

This bug also exist on MIUI V10 based on Android Oreo. Pull request #121