Currently, the icon for the notification is hard-coded to be loaded from the resource with the identifier ic_launcher (see IsolateHolderService, in onCreate() before creating the notification). To change this, a new String field, e.g. notification_icon, has to be added in FlutterBackgroundAndroidConfig and passed down to the Android side just like the notification title etc.
The documentation has to be updated accordingly.
Currently, the icon for the notification is hard-coded to be loaded from the resource with the identifier
ic_launcher
(seeIsolateHolderService
, inonCreate()
before creating the notification). To change this, a newString
field, e.g.notification_icon
, has to be added inFlutterBackgroundAndroidConfig
and passed down to the Android side just like the notification title etc. The documentation has to be updated accordingly.