GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ATOS-VIRTUAL-CARE/apollo-android: :robot: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,714 Commits
1,714 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
apollo-android-support
apollo-android-support
 
 
apollo-api
apollo-api
 
 
apollo-compiler
apollo-compiler
 
 
apollo-coroutines-support
apollo-coroutines-support
 
 
apollo-gradle-plugin
apollo-gradle-plugin
 
 
apollo-http-cache-api
apollo-http-cache-api
 
 
apollo-http-cache
apollo-http-cache
 
 
apollo-idling-resource
apollo-idling-resource
 
 
apollo-integration
apollo-integration
 
 
apollo-mutiny-support
apollo-mutiny-support
 
 
apollo-normalized-cache-api
apollo-normalized-cache-api
 
 
apollo-normalized-cache-sqlite
apollo-normalized-cache-sqlite
 
 
apollo-normalized-cache
apollo-normalized-cache
 
 
apollo-reactor-support
apollo-reactor-support
 
 
apollo-runtime-kotlin
apollo-runtime-kotlin
 
 
apollo-runtime
apollo-runtime
 
 
apollo-rx2-support
apollo-rx2-support
 
 
apollo-rx3-support
apollo-rx3-support
 
 
buildSrc
buildSrc
 
 
composite
composite
 
 
docs
docs
 
 
gradle
gradle
 
 
samples
samples
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
CODEOWNERS
CODEOWNERS
 
 
Contributing.md
Contributing.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
Releasing.md
Releasing.md
 
 
build.gradle.kts
build.gradle.kts
 
 
checkstyle.xml
checkstyle.xml
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
netlify.toml
netlify.toml
 
 
renovate.json
renovate.json
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Apollo Android

GitHub license Slack Join the community CI Maven Central OSS Snapshots

Apollo Android 3 is available in alpha. It is still in active development, and we'd love for folks to test it out. See the v3 documentation and please report any issues!

Apollo Android is a GraphQL client that generates Java and Kotlin models from GraphQL queries. These models give you a type-safe API to work with GraphQL servers. Apollo helps you keep your GraphQL query statements together, organized, and easy to access.

This library is designed primarily with Android in mind, but you can use it in any Java/Kotlin app.

Features

  • Java and Kotlin code generation
  • Queries, Mutations and Subscriptions
  • Reflection-free parsing of responses
  • HTTP cache
  • Normalized cache
  • File uploads
  • Custom scalar types
  • Reactive bindings for: RxJava2, RxJava3, Coroutines, Reactor and Mutiny

Getting started

If you are new to GraphQL, check out the tutorial that will guide you through building an Android app using Apollo, Kotlin and coroutines.

If you'd like to add Apollo Android to an existing project:

  • Get started with Kotlin shows how to add Apollo Android to a Kotlin project.
  • Get started with Java shows how to add Apollo Android to a Java project.
  • Get started with Multiplatform (Experimental) shows how to add Apollo Android to a Multiplatform project. This is still under heavy development and APIs may change without warning.

Advanced topics

Check the project website for in depth documentation about caching, plugin configuration, android, file upload, coroutines, rxjava2, rxjava3, reactor, mutiny, persisted queries, no runtime, migrations and much more...

IntelliJ Plugin

The JS Graphql IntelliJ Plugin provides auto-completion, error highlighting, and go-to-definition functionality for your .graphql files. You can create a .graphqlconfig file to use GraphQL scratch files to work with your schema outside product code (such as to write temporary queries to test resolvers).

Releases

The latest version is Maven Central

Check the changelog for the release history.

Releases are hosted on Jcenter and Maven Central. The plugin is additionally hosted on the Gradle Plugin Portal

plugins {
  id("com.apollographql.apollo").version("x.y.z")
}

repositories {
  mavenCentral()
}

dependencies {
  implementation("com.apollographql.apollo:apollo-runtime:x.y.z")

  // optional: if you want to use the normalized cache
  implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:x.y.z")
  // optional: for coroutines support
  implementation("com.apollographql.apollo:apollo-coroutines-support:x.y.z")
  // optional: for Mutiny support
  implementation("com.apollographql.apollo:apollo-mutiny-support:x.y.z")
  // optional: for Reactor support
  implementation("com.apollographql.apollo:apollo-reactor-support:x.y.z")
  // optional: for RxJava3 support
  implementation("com.apollographql.apollo:apollo-rx3-support:x.y.z")
  // optional: Most of apollo-android does not depend on Android in practice and runs on any JVM or on Kotlin native. apollo-android-support contains a few Android-only helper classes. For an example to send logs to logcat or run callbacks on the main thread.
  implementation("com.apollographql.apollo:apollo-android-support:x.y.z")
  // optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
  // and use apollo-api instead
  implementation("com.apollographql.apollo:apollo-api:x.y.z")
}

Snapshots

Latest development changes are available in Sonatype's snapshots repository:

repositories {
  maven {
    url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
  }
}

Requirements

Apollo Android runs on the following platforms:

  • Android API level 15+
  • JDK 8+
  • iOS 13+

Contributing

If you'd like to contribute, please see Contributing.md.

Community integrations

  • If you're using the Maven build tool, https://github.com/aoudiamoncef/apollo-client-maven-plugin is a Maven plugin that calls the Apollo Android compiler to generate your Java/Kotlin sources.

Additional resources

  • MortyComposeKMM: A Kotlin Multiplatform Github template using Apollo Android, SwiftUI and Jetpack Compose.
  • A journey to Kotlin multiplatform: how the project was moved to Kotlin multiplatform, talk given at Kotliners in June 2020.
  • #125, Fragmented Podcast: Why's and How's about Apollo Android and the entire journey.
  • GraphQL.org for an introduction and reference to GraphQL itself.
  • apollographql.com to learn about Apollo open-source and commercial tools.
  • The Apollo blog for long-form articles about GraphQL, feature announcements for Apollo, and guest articles from the community.
  • The Apollo Twitter account for in-the-moment news.

Who is Apollo?

Apollo builds open-source software and a graph platform to unify GraphQL across your apps and services. We help you ship faster with:

  • Apollo Studio – A free, end-to-end platform for managing your GraphQL lifecycle. Track your GraphQL schemas in a hosted registry to create a source of truth for everything in your graph. Studio provides an IDE (Apollo Explorer) so you can explore data, collaborate on queries, observe usage, and safely make schema changes.
  • Apollo Federation – The industry-standard open architecture for building a distributed graph. Use Apollo’s open-source gateway to compose a unified graph from multiple subgraphs, determine a query plan, and route requests across your services.
  • Apollo Client – The most popular GraphQL client for the web. Apollo also builds and maintains Apollo iOS and Apollo Android.
  • Apollo Server – A production-ready JavaScript GraphQL server that connects to any microservice, API, or database. Compatible with all popular JavaScript frameworks and deployable in serverless environments.

Learn how to build with Apollo

Check out the Odyssey learning platform, the perfect place to start your GraphQL journey with videos and interactive code challenges. Join the Apollo Community to interact with and get technical help from the GraphQL community.

About

🤖  A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.

www.apollographql.com/docs/android/

Topics

mitel

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.