microg / microg/GmsCore

Support for Play Asset Delivery

Open
#2,318 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It would be great if microG support Play Asset Delivery, allowing games to download assets from Play Store server. Without the support, the games can't download assets. More info: https://developer.android.com/guide/playcore/asset-delivery

Games that uses Play Asset Delivery

Mortal Kombat: https://play.google.com/store/apps/details?id=com.wb.goog.mkx
WWE Mayhem: https://play.google.com/store/apps/details?id=com.reliancegames.wwemayhem
Marvel Contest of Champions: https://play.google.com/store/apps/details?id=com.kabam.marvelbattle&hl=en

Logs (Tested on Xperia Z3 Compact running Lineage 18.1, with microG):

04-13 15:23:35.553 I/PlayCore(23387): UID: [10164]  PID: [23387] AssetPackServiceImpl : Initiate binding to the service.
04-13 15:23:35.553 W/ActivityManager( 2625): Unable to start service Intent { act=com.google.android.play.core.assetmoduleservice.BIND_ASSET_MODULE_SERVICE pkg=com.android.vending } U=0: not found
04-13 15:23:35.554 I/PlayCore(23387): UID: [10164]  PID: [23387] AssetPackServiceImpl : Failed to bind to the service.
04-13 15:23:35.672 E/Unity   (23387): Failed to retrieve asset pack batch: Failed to bind to the service.
04-13 15:23:35.672 E/Unity   (23387): UnityEngine.Logger:Log(LogType, Object)
04-13 15:23:35.672 E/Unity   (23387): Google.Play.AssetDelivery.Internal.<>c__DisplayClass10_0:<CreateAndInitiateBatchRequest>b__2(String, Int32)
04-13 15:23:35.672 E/Unity   (23387): Google.Play.Core.Internal.PlayCoreEventHandler:Update()

2024-04-13-15-21-11.txt

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 the Play Asset Delivery documentation linked in the issue and the logged service intent, com.google.android.play.core.assetmoduleservice.BIND_ASSET_MODULE_SERVICE. Use the listed games and provided logs to investigate the missing service binding; done means Play Asset Delivery requests no longer fail with that error and the games can download their assets.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.