Baseflow / Baseflow/flutter-geolocator
notificationIcon
- Dominant language
- Dart
- Stars
- 1.3k
- Forks
- 803
- Avg merge
- 8h 16m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
Research direction
Start by reading src/types/foreground_settings.dart and the export statement shown in the issue. Check how ForegroundNotificationConfig and AndroidResource are exposed, then verify that a user can configure the notification icon as shown; done means the requested API is usable or the supported configuration is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100