# PlaySound standard Notification Sound

**URL:** <https://forums.fusetools.com/t/playsound-standard-notification-sound/7516>\
**Category:** How-to Discussions\
**Created:** [November 17, 2018, 12:00pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516 "2018-11-17T12:00:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_13](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Stefan\_13](https://forums.fusetools.com/u/Stefan_13)\
**Post date:** [November 17, 2018, 12:00pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/1 "2018-11-17T12:00:30Z")

</div>

Hey there 🙂  
Here I can Play a sound wich I choose: [https://fuseopen.com/docs/fuse/playsound.html](https://fuseopen.com/docs/fuse/playsound.html)  
But can I play the standard notification sound wich each user has on its device?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [November 20, 2018, 8:42am UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/2 "2018-11-20T08:42:36Z")

</div>

Push notifications already has a property for that, just pass in `"sound":"default"` into your notification payload.

---

<div class="post-metadata">

**Author:** ![Stefan\_13](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Stefan\_13](https://forums.fusetools.com/u/Stefan_13)\
**Post date:** [November 20, 2018, 3:01pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/3 "2018-11-20T15:01:07Z")

</div>

Thanks 🙂Yes and that works like a charm for notification.  
The Problem is, that if the app is in foreground there is no notification. So I startet to display a custom notification on screen. This works like a charm.  
But therefore I want to play also a sound. The only Way I think is to play a Sound with “PlaySound”. But I dont want a special sound implemented, but the standard Sound of the user.  
You know what I mean? 😕

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [November 21, 2018, 12:29pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/4 "2018-11-21T12:29:41Z")

</div>

Ok yeah, I know what ya mean, I dunno how to play the devices default sound, I personally would find that quite annoying though, especially if there are a lot of notifications.

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [November 21, 2018, 4:23pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/5 "2018-11-21T16:23:29Z")

</div>

You could write your own native module to get the users default notification sound…

- iOS: [https://developer.apple.com/documentation/usernotifications/unnotificationsound/1649030-defaultsound?language=objc](https://developer.apple.com/documentation/usernotifications/unnotificationsound/1649030-defaultsound?language=objc)

- Android: RingtoneManager - [http://developer.android.com/reference/android/media/RingtoneManager.html](http://developer.android.com/reference/android/media/RingtoneManager.html)

```auto
Uri uri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);

```

…then just [check environment](https://fuseopen.com/docs/fusejs/environment.html) and play it.

---

<div class="post-metadata">

**Author:** ![Stefan\_13](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Stefan\_13](https://forums.fusetools.com/u/Stefan_13)\
**Post date:** [November 21, 2018, 10:42pm UTC](https://forums.fusetools.com/t/playsound-standard-notification-sound/7516/6 "2018-11-21T22:42:45Z")

</div>

Sounds great 👍🏼 thanks a lot 🙂  
You are right, too many are annoying, but it is only for a few and the user can easily turn this off 👌🏼
