Open vbashiri opened 4 years ago
Is there anyway I can play sound as notification sound in android, so when phone is silent, the sound doesn't play? Or detect if phone is silent? getSystemVolume only give media volume in android. :(
Use notifySound.setCategory("Ambient");
Is there anyway I can play sound as notification sound in android, so when phone is silent, the sound doesn't play? Or detect if phone is silent? getSystemVolume only give media volume in android. :(