How do you specify a default notification channel ID in the application manifest?

烂漫一生 提交于 2020-12-12 18:01:09

问题


Android Oreo introduces notification channels, but the documentation for how to specify a default notification channel in the application manifest seems to be patchy to nonexistent.

How do you specify a default notification channel ID in the application manifest?


回答1:


Defining a default channel ID from the manifest cannot be done with standard notification channels, it only applies to Firebase notifications: Firebase: How to set default notification channel in Android app?



来源:https://stackoverflow.com/questions/46591282/how-do-you-specify-a-default-notification-channel-id-in-the-application-manifest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!