universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

No sound and vibration for Local Notification #111

Open Bestlis opened 5 years ago

Bestlis commented 5 years ago

Hello!

There are no sound and vibrate for local notification on Android 9.0. Which parameter I have to set to fix this problem?

Bestlis commented 5 years ago

Any ideas?

yuriy-universal-ivanov commented 5 years ago

Hi @Bestlis,

UTNotifications respect system properties, including sound and vibration for notifications. Please check your system settings. Sound can be redefined in the notification profile properties, but it won't play if sound is disabled in the system (f.e. it's in silent mode). Vibration always respects only system settings.

Please let me know if vibration and notification sounds are enabled in Android settings but notifications in your app still don't play them: in that case I'll need more details, first of all specific reproduction steps (starting with creating an empty Unity project and importing UTNotifications into it, then all configuration steps you take, then how you scheduled/push a notification, then what happens for you).

Best regards, Yuriy, Universal Tools team.

Bestlis commented 5 years ago

Thanks for answer. Sound was disable in system settings, but vibration is enable but no vibration when notification.

yuriy-universal-ivanov commented 5 years ago

Can you please confirm that:

  1. Other applications vibrate on receiving a notification in that device.
  2. Vibration is enabled in your notification profile settings in Android settings (default value is based on your system settings), f.e. here it's disabled: image

Best regards, Yuriy, Universal Tools team.

Bestlis commented 5 years ago
  1. Yes, other app's notifications vibrate on receiving.
  2. Yes, vibrate is on in app's settings.
yuriy-universal-ivanov commented 5 years ago

Hi @Bestlis ,

Thank you. We'll be happy to help you fix that issue, but I'll need your help as for us vibration works absolutely fine, including Android 9 devices. Can you please provide me specific steps for reproducing that issue? Please describe it starting with creating a new Unity project and importing UTNotifications into it.

Best regards, Yuriy, Universal Tools team.