I am using a Samsung Galaxy Note 8 with Android 8.0. My Toast message (which was working) does not show up getApplicationContext(), getBaseContext() are not helping instead of this. Using this in an activity. Answer Go to your app settings -> Notifications and check if notifications are turned on. This action is possible in newer android versions Even though a