Skip to content

Missing Linux platform settings for FlutterLocalNotificationsPlugin #3

@onny

Description

@onny

After doing flutter run I get this error on Linux and maily stucks at the loading screen

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Linux settings must be set when targeting Linux platform.
#0      FlutterLocalNotificationsPlugin.initialize (package:flutter_local_notifications/src/flutter_local_notifications_plugin.dart:177)
#1      NotificationService.init (package:enough_mail_app/src/notification/service.dart:45)
#2      _InitializationScreenState._initApp (package:enough_mail_app/src/app.dart:116)
<asynchronous suspension>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions