Open selcukoguz opened 5 years ago
On this plugin have error for NotificationChannel for android.VERSION_CODES.O
I solve this adding some code to your "Notification.java" file.
Add the lines below to Notification.java file very top of,
Add the method below, same file
And then add the following lines to build() methot in same file,
}
notificationBuilder.setContentTitle(attributes.subject).setContentText(attributes.message) .setSmallIcon( context.getResources().getIdentifier(attributes.smallIcon, "mipmap", context.getPackageName())) .setAutoCancel(attributes.autoClear).setContentIntent(getContentIntent())
@selcukoguz See #4
Thanks. i recommend these changes to be added in next version
On this plugin have error for NotificationChannel for android.VERSION_CODES.O
I solve this adding some code to your "Notification.java" file.
Add the lines below to Notification.java file very top of,
Add the method below, same file
And then add the following lines to build() methot in same file,
}