disableCustomSound static method

Future<void> disableCustomSound()

Custom sound is enabled by default. If you wanted to disable it and use the default sound (like for avoiding downloading sound) you can disable it.

Implementation

static Future<void> disableCustomSound() async {
  if(!Platform.isAndroid) return;
  await _channel.invokeMethod("Pushe.disableCustomSound");
}