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

If a push message is received while the app is terminated, the notification message is not displayed and an ANR occurs. #506

Open
ted81 opened this issue Feb 26, 2024 · 1 comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@ted81
Copy link

ted81 commented Feb 26, 2024

If a push message is received while the app is terminated, the notification message is not displayed and an ANR occurs.
Please refer to the error message below.

ANR in my.app.package.name
  PID: 29309
  Reason: Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=my.app.package.name cmp=my.app.package.name/io.ably.flutter.plugin.push.FirebaseMessagingReceiver (has extras) }
  ErrorId: 0dbfb9ca-6f13-47d8-8956-789bfe301dda
  Frozen: false
  Load: 0.0 / 0.0 / 0.0
  ----- Output from /proc/pressure/memory -----
  some avg10=0.00 avg60=0.00 avg300=0.32 total=739742905
  full avg10=0.00 avg60=0.00 avg300=0.15 total=469368765
  ----- End output from /proc/pressure/memory -----
  
  CPU usage from 31720ms to 0ms ago (2024-02-26 19:04:51.842 to 2024-02-26 19:05:23.562):
    3% 611/system_server: 0.7% user + 2.3% kernel / faults: 211 minor 3 major
    1.3% 423/[email protected]: 0% user + 1.3% kernel
    0.6% 28499/kworker/3:0-virtio_vsock: 0% user + 0.6% kernel
    0.4% 413/[email protected]: 0% user + 0.4% kernel
    0.3% 27599/kworker/u8:6-kverityd: 0% user + 0.3% kernel
    0.1% 802/com.android.systemui: 0.1% user + 0% kernel / faults: 30 minor 1 major
    0.1% 7603/com.google.android.gms.persistent: 0% user + 0.1% kernel / faults: 7 minor
    0.1% 29169/process-tracker: 0% user + 0% kernel
    0% 27132/kworker/u8:5-kverityd: 0% user + 0% kernel
    0% 44/kcompactd0: 0% user + 0% kernel
    0% 386/statsd: 0% user + 0% kernel / faults: 10 minor
    0% 28123/com.google.android.youtube: 0% user + 0% kernel / faults: 2 minor
    0% 29309/my.app.package.name: 0% user + 0% kernel / faults: 16 minor
    0% 12/ksoftirqd/0: 0% user + 0% kernel
    0% 13/rcu_preempt: 0% user + 0% kernel
    0% 24/ksoftirqd/1: 0% user + 0% kernel
    0% 30/ksoftirqd/2: 0% user + 0% kernel
    0% 283/jbd2/dm-33-8: 0% user + 0% kernel
    0% 426/[email protected]: 0% user + 0% kernel
    0% 460/surfaceflinger: 0% user + 0% kernel
    0% 480/adbd: 0% user + 0% kernel / faults: 13 minor
    0% 855/[email protected]: 0% user + 0% kernel
    0% 1040/com.android.phone: 0% user + 0% kernel / faults: 17 minor
    0% 1298/com.google.android.apps.nexuslauncher: 0% user + 0% kernel / faults: 2 minor
    0% 3650/kworker/2:3-events: 0% user + 0% kernel
    0% 14723/psimon: 0% user + 0% kernel
    0% 27276/com.android.chrome: 0% user + 0% kernel / faults: 42 minor 8 major
    0% 28585/kworker/u8:1-kverityd: 0% user + 0% kernel
  0.8% TOTAL: 0% user + 0.3% kernel + 0.3% irq + 0% softirq
  CPU usage from 320228720ms to 320228720ms ago (1970-01-01 09:00:00.000 to 1970-01-01 09:00:00.000) with 0% awake:
  0% TOTAL: 0% user + 0% kernel

┆Issue is synchronized with this Jira Task by Unito

@ttypic
Copy link
Contributor

ttypic commented Mar 1, 2024

Hey @ted81,

Apologies for the delay. We are experiencing difficulties reproducing the issue. Could you try to reproduce the issue using our example app?

@ttypic ttypic added the bug Something isn't working. It's clear that this does need to be fixed. label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

2 participants