-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[firebase_messaging] Android: Memory Leak #260
Copy link
Copy link
Closed
Labels
impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)platform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.plugin: messagingtype: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)platform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.plugin: messagingtype: bugSomething isn't workingSomething isn't working
Currently, the background handling in
FlutterFirebaseMessagingServiceis leaking thebackgroundChannelproperty. This get's evident by activating LeakCanary and moving the App from FG to BG:Expected behavior
No memory leaks.
Additional context
As @kroikie put it in the comments within service class, the isolate/instance stuff must not be static.