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

Support for Huawei Contact Shield #179

Open
abusuioc opened this issue Jul 14, 2020 · 4 comments
Open

Support for Huawei Contact Shield #179

abusuioc opened this issue Jul 14, 2020 · 4 comments

Comments

@abusuioc
Copy link

Let me start by thanking the whole team for the great job you guys did on this SDK.

As you well know, because of the US trade ban , the new and upcoming Huawei devices powered by Android cannot anymore use Google Play Services (GMS). As a response to that, Huawei developed its own alternative to GMS - called Huawei Mobile Services (HMS). As part of the HMS offering, Contact Shield offers the same capabilities as the GMS equivalent that you already depend on: Exposure Notifications.

It would be fantastic if the SDK would offer support for HMS Contact Shield, in addition to the current support for GMS Exposure Notifications. Huawei users wish to contribute to the global effort of tracing the spread of Covid-19 and, currently, they cannot - since the DP-3T SDK and the apps built on top of it require the presence of GMS.

@marado
Copy link

marado commented Jul 16, 2020

FYI, #143 shows how can the prestandard tag be used to support non-GMS devices.

I know that isn't the same as supporting Contact Shield, and a better solution would be having the same app using GMS, HMS or nothing, depending on what is available on the system, but this information might still be useful.

@abusuioc
Copy link
Author

Thanks for pointing that out, @marado !

However, the ideal scenario is exactly what you proposed: "having the same app using GMS, HMS or nothing, depending on what is available on the system".

But that's not the case at the moment. For instance, what the Swiss Covid app does right now is to block further access if GMS is not available on the device. This focus only on GMS leaves a gap for non-GMS devices - which are usually powered by HMS.

At a first look, Contact Shield API looks very similar to Exposure Notifications - it would be nice to get additional feedback from the engineers working on the SDK since they know the implementation needs inside out.

Are there plans to support HMS devices?

@ineiti
Copy link

ineiti commented Aug 19, 2020

@abusuioc will the HMS/Contact Shield be BLE compatible with the GAEN solution? And do you know if there is source code available?

It would be interesting to have a GAEN-API compatible library in Open Source form to enable services for Huawei, or other non-GMS enabled devices.

@abusuioc
Copy link
Author

Yes @ineiti , afaik HMS/ContactShield (CS) is compatible with GAEN in terms of BLE usage and API def.
I could found some development samples and a full API overview .

It would be nice if some of the engineers working on the dp3t-sdk-android could take and look at the above links and judge if CS offers all they need to have dp3t-sdk-android running on top of CS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants