question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

keeps ringing when App is close

See original GitHub issue

Hello @emekalites thanks for this amazing package you save my life 😃 I encounter a issue when the app is closed :

When the app is running in the background (minimized) and I swipe the message it stops ringing.

When The app is completely closed however, I receive the alarm, the phone starts ringing but it continues ringing after I swip the message away. Only solution is to open the app and close it completely otherwise the phone continues ringing.

otherwise if I press the notification and the app is completely closed this listener never fired it

DeviceEventEmitter.addListener("OnNotificationOpened", async function (e) {
        console.log(e)      
});

I’m doing something wrong ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
laurent22commented, Feb 21, 2021

still a major issue

5reactions
laurent22commented, Nov 16, 2020

@emekalites, I can replicate this bug consistently on emulator too using these steps:

  • Setup a new alarm
  • Completely close the application
  • The alarm rings
  • Press on the notification
  • The app opens, but the alarms keep ringing and no way to stop it
  • Close the app completely again
  • The alarm finally stops

My AndroidManifest.xml is exactly as described in the installation section. Do you know by any chance what might be the issue? Is there perhaps some code that should also be added to MainApplication.java to make the alarm stop?

For reference, this is the bug report from one of our users: https://github.com/laurent22/joplin/issues/4086

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Working] 12 Ways to Stop Your Phone From Ringing ...
If you have found the app causing your phone to ring at odd times, then you can force close the app, when not...
Read more >
Fix: Android Randomly Rings When No One Is Calling
If your Android phone starts ringing when there's no one calling, disable the NFC option and clear the junk files.
Read more >
Phone keeps ringing continuously? Check these solutions
If your phone keeps ringing continuously, restart your device, check proximity sensor, reset app preferences or perform the factory reset.
Read more >
My phone keeps ringing a notification - Android Central Forum
My phone keeps ringing a notification every 64 sec. I have blocked ALL the app notifications. Still happening. Where to look to stop...
Read more >
iPad keep ringing after I answer the call on my iPhone?
On Mac, open the FaceTime app, then choose FaceTime > Preferences. Click Settings, then select Calls From iPhone.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found