microg / microg/GmsCore

Missing api in play-services-nearby

Open
#1,715 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
I'm trying to build https://github.com/ailabstw/social-distancing-android with nearby libs from microg. Some APIs are missing. Could you please help? Thanks!

e: /builds/linsui/fdroiddata/build/tw.gov.cdc.exposurenotifications/SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/nearby/ExposureNotificationManager.kt: (49, 40): Unresolved reference: status
e: /builds/linsui/fdroiddata/build/tw.gov.cdc.exposurenotifications/SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/nearby/ExposureNotificationManager.kt: (128, 40): Unresolved reference: status
e: /builds/linsui/fdroiddata/build/tw.gov.cdc.exposurenotifications/SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/nearby/ExposureNotificationManager.kt: (328, 63): Unresolved reference: NOT_IN_ALLOWLIST

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System
Android Version: [e.g. 10]
Custom ROM: [e.g. LineageOS 17.1]

Additional context
Add any other context about the problem here.

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 examining the play-services-nearby implementation and the unresolved references in SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/nearby/ExposureNotificationManager.kt at lines 49, 128, and 328. Compare the missing status and NOT_IN_ALLOWLIST APIs with the consuming code, then verify that the Social Distance project builds without those unresolved references.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
api, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.