Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

¿Future implement of Huawei Contact Shield? #27

Open
juanro49 opened this issue Sep 10, 2020 · 7 comments
Open

¿Future implement of Huawei Contact Shield? #27

juanro49 opened this issue Sep 10, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@juanro49
Copy link

juanro49 commented Sep 10, 2020

Hi, since USA has banned Huawei from using Google services, Google Exposute API does not work on their new devices.

For this reason, Huawei has developed the Huawei Contact Shield API integrated in the Huawei Mobile Services.

https://developer.huawei.com/consumer/es/doc/Contact-Shield-V1/introduction-0000001050738511-V1

Do you plan to integrate this function in the future to make RadarCovid usable in Huawei/Honor devices (or others that do not have the GMS but have HMS) an publish RadarCovid in AppGallery (new Huawei/Honor devices doesn't have Play Store since USA ban)?

@JuanjoSalvador
Copy link

A nice point would be using an opensource implementation of Google Play Services, such like MicroG. But I'm not sure about how compatible would be with the Google Exposure API and other health APIs.

By migrating to MicroG will be able to compile an APK for F-Droid (available for those all people without Google Play Services, such like LineageOS users or others Android cooked ROMs, and Huawei users too). But first, we need to evaluate the risks and the pros.

@EchedelleLR
Copy link

EchedelleLR commented Sep 12, 2020

You can mount your own F-Droid repo but main F-Droid repo doesn't allow you to put propietary code on the app such as the needed to use GPlay Services as well as any kind of integration.

microG doesn't replace the app code needed to use such services but replace the GApps providing them in order to get these apps working correctly. The Exposure API is already supported there.

In other situation, Huawei doesn't allow you to unlock the bootloader in order to replace the OS and this is not a thing everyone can do as well as not every phone is going to be supported by every rom.

As pointed in other issue, I think something based on Bluetooth LE like the G-API using this as base, would be better.

@juanro49
Copy link
Author

Other alternative that can work in any Android device without GMS is CoraLibre https://github.com/CoraLibre/CoraLibre-android-sdk

@iCesofT iCesofT added the enhancement New feature or request label Oct 7, 2020
@avecina
Copy link
Contributor

avecina commented Nov 6, 2020

Thanks. We are working on it.

@EchedelleLR
Copy link

EchedelleLR commented Nov 25, 2020

With a recent release of microG for Exposure Notifications improvements, a new kind of use was added to it.
2020-11-25_14-18

The original proposal is pointed in microg/GmsCore#1166

This allow its use even without Google Play Services nor microG installed, as example this case or even raw AOSP phones.
However, this is still experimental as pointed when it says "initial".

@EchedelleLR
Copy link

EchedelleLR commented Dec 7, 2020

The german national app got the goal I pointed by being forked and is already submited into F-Droid.

https://f-droid.org/packages/de.corona.tracing

https://fsfe.org/news/nl/nl-202012.en.html

@EchedelleLR
Copy link

EchedelleLR commented May 3, 2021

Same thing with the app for Switzerland.

https://f-droid.org/packages/ch.corona.tracing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

5 participants