Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Config option to name the notification channel #67

Open
boldt opened this issue Nov 25, 2022 · 0 comments
Open

[Feature Request] Config option to name the notification channel #67

boldt opened this issue Nov 25, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@boldt
Copy link

boldt commented Nov 25, 2022

State of the art

I can configure the background service as follows:

final androidConfig = FlutterBackgroundAndroidConfig(
    notificationTitle: "flutter_background example app",
    notificationText: "Background notification for keeping the example app running in the background",
    notificationImportance: AndroidNotificationImportance.Default,
    notificationIcon: AndroidResource(name: 'background_icon', defType: 'drawable'), // Default is ic_launcher from folder mipmap
);

The title will be used in the background notification:

grafik

The title is also used in the notification settings of the app:

grafik

An app could have multiple notification channels, thus they can be named.

Feature request

Add an option, which allows to configure the name of the background notification channel as well.

@boldt boldt added the enhancement New feature or request label Nov 25, 2022
@boldt boldt changed the title [Feature Request] COnfig option to name the notification channel [Feature Request] Config option to name the notification channel Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants