ibm-bluemix-mobile-services / bms-clientsdk-android-push

Android Push notifications SDK for IBM Cloud Mobile Services
Apache License 2.0
10 stars 12 forks source link

No sound and vibration in push messages #137

Open lenzch opened 3 years ago

lenzch commented 3 years ago

When using Android devices with version >= 8 neither sound nor vibration effects are applied, when a push notification is received on the default channel.

The root cause seems to be, that the default channel created by the library has IMPORTANCE_LOW assigned during creation. This prevents any 'intrusive' effects.

Please change it to at least IMPORTANCE_DEFAULT

Code for referene: https://github.com/ibm-bluemix-mobile-services/bms-clientsdk-android-push/blob/0beaa8cec0592439d01349b1bfadaf40460f505b/lib/src/main/java/com/ibm/mobilefirstplatform/clientsdk/android/push/api/MFPPushIntentService.java#L294

lenzch commented 3 years ago

Please see #138 for change