Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum sound duration on Android Notification

What is the actual maximum duration in seconds for a custom sound played when a notification arrives in Android?

In iOS the limit is officially at 30 s for custom sounds.

like image 377
Beat Rupp Avatar asked Oct 05 '17 14:10

Beat Rupp


People also ask

How long can an Android notification sound be?

Do not use a sound file longer than about 20 seconds. If you use short noises as your ringer, the audio will be repeated many times.

How do I get continuous notification alerts on Android?

To enable repeat alerts on the Android mobile app:Tap Notification Settings. Tap Repeating Alerts. Tap the toggle to enable the feature. Tap Repeat to set the number of times the notification will be repeated after the original alert occurs (one, two, three, five, or ten times).

Why does my notification sound keep going off on my Android phone?

Your phone or tablet may make sudden notification sounds if you have unread or snoozed notifications. You may also be receiving unwanted notifications or repeating notifications, such as emergency alerts or a noisy app.


1 Answers

Nice to meet you here, Beat! I'm not sure that you still need the answer, but anyways:

I wasn't able to find any limit in Android documentation and decided to make a test. So I set Beethoven's 5th Symphony (36:20) as a notification sound and started a notification. It played the full time. So I assume, that Android has no notification sound limit.

like image 93
Alexander Tumanin Avatar answered Oct 14 '22 07:10

Alexander Tumanin