android-notifications
Notification bar icon turns white in Android 5 Lollipop
The accepted answer is not (entirely) correct. Sure, it makes notification icons show in color, but does so with a BIG drawback – by setting the target SDK to lower than Android Lollipop! If you solve your white icon problem by setting your target SDK to 20, as suggested, your app will not target Android … Read more
Notification not showing in Oreo
Here i post some quick solution function with intent handling public void showNotification(Context context, String title, String body, Intent intent) { NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); int notificationId = 1; String channelId = “channel-01”; String channelName = “Channel Name”; int importance = NotificationManager.IMPORTANCE_HIGH; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { NotificationChannel mChannel = new NotificationChannel( channelId, channelName, … Read more