<Custom Notification is not displayed on android 1...
# stackoverflow
u
Custom Notification is not displayed on android 12 I have a problem with my notification code, in my device with Android 9 It works good but not in Android 12. I notice that maybe It's something related to the RemoteViews but I'm not sure. This is my code: object NotificationUtils { private fun createNotification(context: Context, activity: Activity, layout: Int, channelId: String ): Notification { return NotificationCompat.Builder(context, channelId) .setCustomContentView(RemoteViews(activity.packageName, layout))...