Pending intent in notification not working

前端 未结 6 1962
感情败类
感情败类 2020-12-02 13:13

Below is my block of code which should open NotificationActivity when the notification is tapped on. But its not working.

private void setNo         


        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 13:50

    You might be using a notification id equal to 0. There is known issue with notification id being 0. If you will use any other id, it should work.

提交回复
热议问题