Android: Sound rings only for a few seconds
See original GitHub issueSound rings only for a few seconds on Android 12 device. However on Android 11 it works just fine.
I tried to implement the notification on native side but faced the similar issue. Luckily I stumbled upon the following piece of code in this guide. After setting the flag it started working on Android 12 as well.
// Set notification as insistent to cause your ringtone to loop.
Notification notification = builder.build();
notification.flags |= Notification.FLAG_INSISTENT;
Can we have an option to update the notification flags when calling displayNotification
?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Fix: Android Randomly Rings When No One Is Calling
If your Android phone starts ringing when there's no one calling, disable the NFC ... The ringing stopped by itself after a few...
Read more >Phone rings only for 1 or 2 second, then......
I noticed since 4.3 upgrade that my phone rings for perhaps one or two seconds and then continues to "ring" silently!
Read more >How to Change Number of Rings on Android - wikiHow
1. Open the Phone app on your Android. It's the phone receiver icon typically near the bottom of your home screen. Although there...
Read more >Why Won't My Android Ring? 8 Ways to Fix Ringing Issues
How to troubleshoot when your Android phone isn't ringing · 1. Open the Settings app. · 2. Select "Sound." · 3. Tap Phone...
Read more >How to extend the ring time of your Android phone - YouTube
How To Make Your Phone Ring For Longer Telstra · Top 5 Excel Functions for Finance People (with end-to-end example) · Telstra brings...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this has been released in 5.6.0 🙏 https://notifee.app/react-native/docs/release-notes#560
Works great!!! Thanks for the fast turnaround @helenaford 👍