Git Product home page Git Product logo

Comments (7)

simonroesch avatar simonroesch commented on May 27, 2024 2

Let me check what exactly triggers the notification, then we maybe can wrap that in a check for the presence of Google PlayServices.

from swisscovid-app-android.

tingsu avatar tingsu commented on May 27, 2024

any update? thanks.

from swisscovid-app-android.

simonroesch avatar simonroesch commented on May 27, 2024

This notification is generated by Google PlayServices and not SwissCovid. I tried to reproduce the problem on two phones but without success. What is the version of your Google PlayServices?

from swisscovid-app-android.

tingsu avatar tingsu commented on May 27, 2024

Thanks for your reply @simonroesch. I guess the root cause is that I run on a device that does not have Google Play. SwissCovid should have an additional check.

from swisscovid-app-android.

simonroesch avatar simonroesch commented on May 27, 2024

Ok I see, unfortunately, we cannot suppress this notification, but I will forward the feedback to Google. What happens later in the Onboarding process if you try to enable ExposureNotifications (ignoring the notification when starting the app).

from swisscovid-app-android.

tingsu avatar tingsu commented on May 27, 2024

Okay, I understand what you mean. Is it possible to check the existence of Google Play on the device before sending the notification (to update the Google Play Services)? If Google Play does not exists, give an additional message (or maybe a toast) to alert the user.

from swisscovid-app-android.

simonroesch avatar simonroesch commented on May 27, 2024

OK, found the problem. The SDK checks upon initialization if ExposureNotifications are enabled, which makes a call to the Google PlayServices and triggers the notification if they are not up to date. If we prevent this call when an update is needed, the notification will not show up. This is fixed in DP-3T/dp3t-sdk-android#164

from swisscovid-app-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.