flutter-geolocator
flutter-geolocator copied to clipboard
notificationIcon
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.
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.
Same here. How is this supposed to work? :/
Are there any updates on this issue?
Same here. Is this getting any visibility soon? Looks like a simple fix.
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.