Skip to content

Add support for GraalVM native image #800

@ygyg70

Description

@ygyg70

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions