Can apollo-android be used as a java client?

2.5k Views Asked by At

I'm working on a spring boot app that needs to talk to the Github GraphQl API. Can apollo-android be used for this purpose? Since all of it's scarce documentation available as well as the sample project is written with android in mind, I'm not sure.

2

There are 2 best solutions below

0
On BEST ANSWER

maintainer here. You can absolutely use Apollo-Android in a java only project. There is only 1 module/artifact that is android specific which is not required. The android artifact simply brings in android specific threading models. Come join our slack if you need more help :-) http://www.apollostack.com/#slack

1
On

Found this maven plugin. It would be nice if you could make a sample project that uses apollo-android in spring boot.