firebase / firebase/firebase-admin-java

Add support for GraalVM native image

Open
#800 11 comments 8 reactions 1 assignee Claimed by @lahirumaramba View on GitHub
type: feature request
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.