universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

PushNotificationsEnabled #64

Closed ghost closed 6 years ago

ghost commented 6 years ago

I used PushNotificationsEnabled to get platform push settings. When using PushNotificationsEnabled in version 1.6.3, it is all False and it is not working properly. Is this a function from version 1.7?

ghost commented 6 years ago

PushNotificationsEnabled misunderstood that it can acquire the push notification setting of the device. Is device push notification setting acquisition implemented in version 1.6?

yuriy-universal-ivanov commented 6 years ago

Hi @daikitsujino ,

What you seem to be looking for is UTNotifications.Manager.Instance.NotificationsAllowed(), which is available in UTNotifications 1.6.3. But it works correctly there only on iOS, just returning true on all the other platforms. In UTNotifications 1.7, which should be released in less than a month (hopefully!) it also works as expected on Android.

yuriy-universal-ivanov commented 6 years ago

1.7 is now released: https://assetstore.unity.com/packages/tools/integration/utnotifications-professional-local-push-notification-plugin-37767