Android Things
Disable user notifications for Android Things.
Airship is compatible with devices running Android Things. Airship treats devices running Android Things the same as standard Android devices throughout our stack. Push messages, in-app messaging, Message Center, and analytics are all supported.
Push Notifications
Android Things does not support displaying notifications,
so you will want to make sure setUserNotificationsEnabled
is disabled.
Disable user notifications
UAirship.shared().getPushManager().setUserNotificationsEnabled(false);
UAirship.shared().pushManager.userNotificationsEnabled = false
See Listening for Airship Events to learn how to receive a callback when a new push message is received.
Feedback
Was this page helpful?
Thank you
Thanks for your feedback!
Tell Us MoreThank you
We will try harder!
Tell Us MoreCategories