EddyVerbruggen/Toast-PhoneGap-Plugin

showShortTop() / longTop() shows on center

Opened this issue · 1 comments

Expected behaviour

Should show on top

Actual behaviour

Shows on center

I'm seeing this behaviour on

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

Hardware models

Example: Samsung Galaxy S6 Edge, iPhone 6

OS versions

Example: Android 5, iOS 9.3

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).
   window.plugins.toast.showShortTop($scope.trans.LINK_COPIED_TO_CLIPBOARD);