-
Notifications
You must be signed in to change notification settings - Fork 463
Native SSL provider is available; will use native provider. #1035
Description
Hello,
I am getting the following message "Native SSL provider is available; will use native provider." and when trying to send as notification, The sendNotification is returning a null.
I tried to add the following to my build.gradle:
runtimeOnly 'io.netty:netty-tcnative-boringssl-static:2.0.36.Final'
But, when I do so, I get the following error when trying to setup ApnsClientBuilder:
eanInstantiationException: Failed to instantiate [com.eatthepath.pushy.apns.ApnsClient]: Factory method 'apnsClient' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/internal/tcnative/AsyncSSLPrivateKeyMethod","name":"org.springframework.beans.factory.BeanCreationException","cause":{"commonElementCount":20,"localizedMessage":"Failed to instantiate [com.eatthepath.pushy.apns.ApnsClient]: Factory method 'apnsClient' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/internal/tcnative/AsyncSSLPrivateKeyMethod"
I'm using pushy version '0.15.1' together with jdk 11 within springboot framework (Tomcat container)