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

Android Notification Sound #160

Closed
omeriko opened this issue Sep 28, 2019 · 0 comments
Closed

Android Notification Sound #160

omeriko opened this issue Sep 28, 2019 · 0 comments

Comments

@omeriko
Copy link

omeriko commented Sep 28, 2019

In the documentation of the : Android Notification Sound item there is am example of the config.xml entry:

<platform name="android">
    <resource-file src="res/android/raw/my_sound.mp3" target="app/src/main/res/raw/my_sound.mp3" />
</platform> 

with the my_sound.mp3 file

but when you give the notification payload example few lines later:

{
  "name": "my_notification",
  "notification": {
    "body": "Notification body",
    "title": "Notification title"
  },
  "android": {
    "notification": {
      "sound": "crystal"
    }
  }
}

you indicate filename called : "crystal".

it's confusing.

@dpa99c dpa99c closed this as completed in f979188 Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant