Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

PushNotifications totally broken on Android

Đang mở
#2,446 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
android, java
Lĩnh vực
mobile

Hướng nghiên cứu

Đọc phần triển khai Android PushNotifications và so sánh getDeliveredNotifications(), removeDeliveredNotifications() và pushNotificationActionPerformed với hành vi được mô tả trong PR #2445 và issue #2317. Hoàn tất có nghĩa là các phương thức không còn throw nữa, các ID thông báo được trả về có thể được truyền vào để xóa và ActionPerformed.notification khớp với PushNotificationSchema được tài liệu hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

platform: android

Bug Report

Plugin(s)

PushNotifications

Capacitor Version

7.0.x

Platform(s)

Android

Current Behavior
  • getDeliveredNotifications() throws as the linked PR shows
  • pushNotificationActionPerformed event throws as the linked PR shows
  • getDeliveredNotifications() notification.id is an int
  • removeDeliveredNotifications() does not work when passing a notification from getDeliveredNotifications()
  • according to documentation ActionPerformed object has a key .notification that represents the notification as PushNotificationSchema object, which is not the case. The notification object contains the id key merged with the keys from the data object. It does not have title, body and other keys.
Ngôn ngữ chính
Java
Star
682
Fork
689
Merge trung bình
5 ngày 11 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ionic-team/capacitor-plugins

Tất cả issue của ionic-team/capacitor-plugins

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.