Android notification setSound is not working

后端 未结 8 1792
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 04:46

In my hybrid Cordova Android app targeting API 23+ I want to use a custom sound for notifications. To that end I have done the following

  • In plugin.xml
8条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 04:57

    1. Try clearing data (or fresh install)
    2. Trying this again

    The settings are set the first time you create the channel and then not modified unless you do it manually by fresh install or clearing data.

    For more info on this read the top answer here: Android Oreo notification keep making Sound even if I do not set sound. On Older version, works perfectly

提交回复
热议问题