Offix extends capabilities of Apollo GraphQL providing
fully featured Offline Workflow and Conflict Resolution for Android Platform
NOTE: Project is no longer maintained and updated to latest version of the Apollo Android SDK
Offix extends capabilities of Apollo GraphQL providing fully featured Offline Workflow and Conflict Resolution for Android Platform. User can perform queries and mutations when offline and these would be automatically synced to the server when they come online. It also enables working with locally cached GraphQL compliant data without access to server. It will leverage capabilities of Apollo GraphQL cache do deliver seamless experience for querying data even when server side data is not reachable.
For more information about the Apollo and GraphQL please go to https://www.apollographql.com/
Mutations are persisted when Offline and replicated back to server when online.
Provide custom conflict resolution strategies to solve conflicts among the mutations and replicate them back to the server after resolving conflicts.
See offix website for usage and more details.
-
Gradle:
implementation 'org.aerogear.offix:offix:0.4.0'
-
Maven:
<dependency>
<groupId>org.aerogear.offix</groupId>
<artifactId>offix</artifactId>
<version>0.4.0</version>
<type>pom</type>
</dependency>
See sample for example application.
https://docs.google.com/presentation/d/1SzAfRQTqfMtXbp6jFfr99jkIjjZWslX3tU2Wkoec2Uk/edit?usp=sharing
See contribution guidelines file for more information