microg / microg/GmsCore

[de.dwd.warnapp] Existing Google Play license can not be restored

Open
#2,254 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Affected app
Name: WarnWetter
Package id: de.dwd.warnapp
https://play.google.com/store/apps/details?id=de.dwd.warnapp

Describe the bug
When trying to restore an existing license by tapping "Full version" on the main activity, microG displays the message "You already own this item.".

I assume this means that the app is trying to initiate the IAP for the full version, where real GMS would probably return some kind of "already bought" message to the app.

To Reproduce
Steps to reproduce the behavior:

  1. Finish app setup
  2. Click on "Full version"

Expected behavior
The app would restore full access as the purchase has already been made before

Screenshots

Home screen of WarnWetter You already own this item message shown by microG

System
Android Version: 14
Custom ROM: crDroid 10.2

microG
microG Core version: 0.3.1.240913
microG Self-Check results: All ticked

Additional context
I am happy to use development builds in order to test if the behavior is fixed.

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 by reproducing the WarnWetter purchase flow on Android 14, following setup and the Full version action until microG shows “You already own this item.” Read the Play Services purchase and license-restoration implementation that handles this flow. Done means an existing WarnWetter purchase restores full access instead of displaying the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.