Skip to content
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

Toast is not showing in Android 9.0.0 (OnePlus 5) #122

Open
3 of 7 tasks
xbatman139 opened this issue Dec 28, 2018 · 5 comments
Open
3 of 7 tasks

Toast is not showing in Android 9.0.0 (OnePlus 5) #122

xbatman139 opened this issue Dec 28, 2018 · 5 comments

Comments

@xbatman139
Copy link

xbatman139 commented Dec 28, 2018

Expected behaviour

Show Toast

Actual behaviour

Toast was not shown

  • iOS device
  • iOS sim
  • Android device
  • Android sim

Hardware models

OnePlus 5

OS versions

Android 9.0.0 with Oxygen 9

I'm not a dummy, so I've checked these

  • It happens on a fresh Cordova CLI project as well.
  • I'm waiting for deviceready to fire.
  • My JavaScript has no errors (window.onerror catches nothing).

So how can we reproduce this?

The toast was showing before i updated my device to Android 9.0.0 from Android 8.1.0. The toast success is called and return OK with event="hide" and message.

@roby65
Copy link

roby65 commented Jan 3, 2019

I have the same problem with OnePlus6T. Let me know if you find a solution.

@roby65
Copy link

roby65 commented Jan 3, 2019

Update to 2.7.2, it works now.

@xbatman139
Copy link
Author

Update to 2.7.2, it works now.

I'm also using the 2.7.2 library, but the toast is not showing... but i'm using the ionic framework, i suppose that is the problem with the ionic native wrapper.

@andrearega
Copy link

Update to 2.7.2, it works now.

I'm also using the 2.7.2 library, but the toast is not showing... but i'm using the ionic framework, i suppose that is the problem with the ionic native wrapper.

I'm using the Ionic Framework too and with "@ionic-native/toast": "^3.14.0" and the 2.7.2 version of "cordova-plugin-x-toast" the toast are showing successfully

@rafaelmb
Copy link

I've got a few errors like this (toast not showing) and found out that when the user turn app notifications off no toast appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants