firebase / firebase/firebase-admin-java

Add support for GraalVM native image

Đang mở
#800 11 bình luận 8 reaction 1 người được giao Được @lahirumaramba nhận Xem trên GitHub
type: feature request
Ngôn ngữ chính
Java
Star
620
Fork
305
Merge trung bình
3 giờ 23 phút
Pull request đã merge (30 ngày)
1

Mô tả

**Is your feature request related to a problem? Please describe.**
Notifications are not sent when run as a native image.
I was able to use the library after adding reflection configuration for these classes:
Message.class,
Notification.class,
AndroidConfig.class,
AndroidNotification.class,
AndroidFcmOptions.class,
WebpushConfig.class,
WebpushFcmOptions.class,
WebpushNotification.class,
ApnsConfig.class,
ApnsFcmOptions.class,
ApsAlert.class,
FcmOptions.class,
MessagingServiceResponse.class,
MessagingServiceErrorResponse.class

**Describe the solution you'd like**
Add reflect-config.json file to the project

**Describe alternatives you've considered**
Document how to achieve native image compatibility

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.