flutter-geolocator icon indicating copy to clipboard operation
flutter-geolocator copied to clipboard

notificationIcon

Open tashone opened this issue 3 years ago • 5 comments

I can't change icon in notification. foregroundNotificationConfig: ForegroundNotificationConfig( notificationText:getMessage('location_check_text'), notificationTitle: getMessage('location_check_title'), notificationIcon: AndroidResource(name: 'ic_stat_onesignal_default'), enableWakeLock: true, ) I can't use AndroidResource.

Need change export export 'src/types/foreground_settings.dart' show ForegroundNotificationConfig, AndroidResource; or show please how can I change icon.

tashone avatar Mar 16 '22 00:03 tashone

I encountered this as well. I wasn't able to find any tutorial information or external examples in the wild on how we are meant to customize the notification icon.

eidolonFIRE avatar Mar 28 '22 23:03 eidolonFIRE

Same here. How is this supposed to work? :/

DarkMikey avatar Mar 29 '22 13:03 DarkMikey

Are there any updates on this issue?

weihenglim avatar May 06 '22 08:05 weihenglim

Same here. Is this getting any visibility soon? Looks like a simple fix.

alkammar avatar Jul 10 '22 08:07 alkammar

What I did as a temporary solution was to add the fix to my own fork and update pubspec.yaml to depend on the repo.

weihenglim avatar Jul 10 '22 08:07 weihenglim