Create an AeroGear Android library that depends on and configures the [ApolloClient|https://github.com/apollographql/apollo-android] based on config in mobile-services.json
We are not going to create a wrapper around Apollo client. The responsibility of the SyncService will be read the info from the mobile-service.json and provide a configured instance of Apollo client.
Something like: {code} SyncService.getInstance().getApolloClient() {code} |
|