firebase-admin-java
firebase-admin-java copied to clipboard
Add support for GraalVM native image
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
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Is there any update on this? I am struggling with a native image build since adding the firebase-admin
dependency.
Is there any update on this?
Is there any update on this?
This is error i am getting:
[INFO] [creator] Jan 07, 2024 9:07:06 PM com.google.api.gax.nativeimage.NativeImageUtils registerClassForReflection [INFO] [creator] WARNING: Failed to find io.grpc.netty.shaded.io.netty.channel.ProtocolNegotiators on the classpath for reflection.