Raudius / Pushraven

A simple Java library to interface with Firebase Cloud Messaging (FCM) API. Pushraven allows you to push notifications to clients in very few lines of code.
MIT License
78 stars 34 forks source link

Detect OpenFeign, Retrofit or OkHttp on classpath and use those instead #19

Open iamareebjamal opened 6 years ago

iamareebjamal commented 6 years ago

OpenFeign or Retrofit are generally included to create REST API consumers along with OkHttp3 which has a better performance and API than HttpUrlConnection

Raudius commented 6 years ago

I am not too sure how I would go about doing this. How can I detect these on the classpath without including them as a dependency?

iamareebjamal commented 6 years ago

These won't be transitive dependencies. And would be provided by the developer when including the library. This can be taken later on as its just an enhancement