evollu/react-native-fcm

There is no sound when notification is received. Android 8.

Open

#772 建立於 2018年2月3日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Java (1,733 star) (688 fork)batch import
help wanted

描述

Hi, I'm trying to use sdk-26 branch. I test it on a devices and emulator. Everything is fine on android from 4.2 to 7. But on android 8 notifications appears on the screen but there is no sound.

I'm trying to send custom notification.

{
  token: deviceToken,
  data: {
    custom_notification: JSON.stringify({ 
       title: "Title", 
       body: "Body",
       sound: "default",
       priority: "high", 
       ticker: "Ticker", 
       channel: "default"
    })
  }
}

"react": "16.0.0-alpha.12", "react-native": "0.47.1", "react-native-fcm": "github:evollu/react-native-fcm#sdk-26"

貢獻者指南