ToastAndroid.show(message, duration) shows Android's small, non-interactive message for ToastAndroid.SHORT or LONG, as the Back handler above does. showWithGravity() and showWithGravityAndOffset() add a position, but since Android 11 (API 30) text toasts ignore it. BookNest's test asked for the top:
ToastAndroid.showWithGravity('Asked for the top', ToastAndroid.LONG, ToastAndroid.TOP);On Android 16 it appeared at the bottom anyway, with the app's icon beside the text. A toast cannot hold a button and iOS has none, so for "Removed from cart. Undo" use an in-app snackbar that works on both platforms.