firebase / firebase/firebase-admin-java
Add support for GraalVM native image
- Dominant language
- Java
- Stars
- 620
- Forks
- 305
- Avg merge
- 3h 23m
- Merged PRs (30d)
- 1
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.