microg / microg/GmsCore

Feature Request - Provide as a library to allow integration into single app

Open
#446 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

I'd like to integrate this project directly into my application so that if Google Play Services are unavailable on my current device, I can use this library instead. This would allow my app to have similar experience on both Google Play devices and non-Google Play devices.

I tried doing this myself but ran into an issue. I changed the "build.gradle" file in "play-services-core" module from "apply plugin: 'com.android.application'" to apply plugin: 'com.android.library'. Everything builds okay. however, since the code is now contained in library modules (aar), each indivual module (approx. 10) needs to be integrated into my app. It would be better if there was a single aar.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with play-services-core/build.gradle and inspect how the roughly ten modules are currently built and packaged as AARs. Determine how the modules could be integrated through one library artifact. Done means an application can integrate a single AAR instead of adding each individual module.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.