Display quick, non-blocking Android Toast messages at the bottom of the screen.
Display native OS toast notification popups at the bottom of the screen. Toasts are non-blocking, auto-dismiss, and do not require user interaction.
Pass a message string and duration ('short' or 'long'):
import nativine from 'nativine';
nativine.toast('Item added to cart', 'short');
message — The text to display in the toast.duration — 'short' (~2 seconds) or 'long' (~3.5 seconds).