Skip to content

Notifications missing in release build on Android #528

@gnprice

Description

@gnprice

After the PR #521 which fixed #520, I can no longer reproduce any trouble receiving notifications on Android, regardless of whether the app is already running in the foreground, in the background, or not at all… so long as I'm using a debug build of the app.

But when I run a release build of the app instead — which of course is what we distribute to users — I don't get any notifications at all. Not when the app is in the foreground, not when it's in the background, and not when it's not running.

I'm investigating this now. A quick first observation is that it's unaffected by the @pragma('vm:entry-point') change suggested at #342 (comment) ; it reproduces the same way after I add the pragma.

Metadata

Metadata

Assignees

Labels

a-AndroidIssues specific to Android, or requiring Android-specific worka-notificationsbeta feedbackThings beta users have specifically asked for

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions