microg / microg/GmsCore

[com.freestylelibre.app.gb] LibreLink using BIND_GET_INSTALL_REFERRER_SERVICE to detect abscence of Google Play

Open
#1,589 5 comments 3 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

Affected app
Name: Freestyle LibreLink
Package id:com.freestylelibre.app.gb

Describe the bug
When I try to open the app, it displays a message saying "Please install this app from the Google Play Store".

To Reproduce
Steps to reproduce the behavior:

  1. Download the app (I used Aurora store). The locale doesn't really matter, so if you don't have access to the GB app it should still work.
  2. Open the app
  3. Observe error message

Expected behavior
I would expect the app to function properly, and for microG to emulate <uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/> to suggest that the app was installed via Google Play.

Screenshots
N/A

System
Android Version: 10
Custom ROM: microG LineageOS 17.1

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

Additional context

Annoyingly, this is the only app that I have not been able to get working, but it is the one I need the most. As the app is required for medical purposes, I would really appreciate it if you could give me any advice on how I could get it up and running. Thanks.

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 launch failure with Freestyle LibreLink installed from Aurora Store on microG, then inspect how the app checks BIND_GET_INSTALL_REFERRER_SERVICE and how microG handles that permission. Done means the app no longer reports that it must be installed from Google Play, while preserving the reported Android 10 setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
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.