Skip to content

Background notifications #14

@mmirio

Description

@mmirio

The package (2.0.2 ) does not show notifications in the background

To access 'package:firebase_notifications_handler/src/widget.dart::_FirebaseNotificationsHandlerState' from native code, it must be annotated.
ERROR: See https://github.com/dart-lang/sdk/blob/master/runtime/docs/compiler/aot/entry_point_pragma.md
[ERROR:flutter/lib/ui/dart_runtime_hooks.cc(38)] Dart Error: ERROR: To access 'package:firebase_notifications_handler/src/widget.dart::_FirebaseNotificationsHandlerState' from native code, it must be annotated.
ERROR: See https://github.com/dart-lang/sdk/blob/master/runtime/docs/compiler/aot/entry_point_pragma.md
[ERROR:flutter/shell/common/shell.cc(115)] Dart Error: ERROR: To access 'package:firebase_notifications_handler/src/widget.dart::_FirebaseNotificationsHandlerState' from native code, it must be annotated.
ERROR: See https://github.com/dart-lang/sdk/blob/master/runtime/docs/compiler/aot/entry_point_pragma.md
 [ERROR:flutter/shell/common/shell.cc(115)] Dart Error: ERROR: To access 'package:firebase_notifications_handler/src/widget.dart::_FirebaseNotificationsHandlerState' from native code, it must be annotated.
ERROR: See https://github.com/dart-lang/sdk/blob/master/runtime/docs/compiler/aot/entry_point_pragma.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions