Giter Site home page Giter Site logo

Comments (6)

dariosalvi78 avatar dariosalvi78 commented on September 13, 2024

It seems to me that you have a problem in your environment. It's not a plugin issue. Check the gradles, Google around, or simply restart the project from the scratch.

from cordova-plugin-health.

array-addu avatar array-addu commented on September 13, 2024

Hi @dariosalvi78
I want to know is it necessary to call promptInstallFit().As this install the Google fit App.

from cordova-plugin-health.

dariosalvi78 avatar dariosalvi78 commented on September 13, 2024

It is not necessary to call promptInstallFir(), but the whole idea of the plugin is to abstract Google Fit on Android (and HealthKit on iOS).
If you don't want to use Google Fit you don't want to use this plugin.

from cordova-plugin-health.

array-addu avatar array-addu commented on September 13, 2024

@dariosalvi78
Thanks for your reply.
So that means we need to install the app to get data like "STEP" count etc.
Actually i don't want to install any app to use fitness API.Is it possible without installing Google fit App

from cordova-plugin-health.

dariosalvi78 avatar dariosalvi78 commented on September 13, 2024

that's a good point. You can use the Google Fitness API even if the user doesn't have Google Fit installed, but there has to be some other fitness app putting data into the Fitness API otherwise your queries will always be empty.
Here's what the original documentation says:

The Google Fit app uses the Google Fit platform, which is included in Google Play services. Your fitness or wellness app can use the Google Fit platform without requiring users to install the Google Fit app.

from cordova-plugin-health.

array-addu avatar array-addu commented on September 13, 2024

@dariosalvi78
can i use native andorid code for getting the step count if i don't use "fit App".I am not sure that this might be possible or not but if you have any idea about this then, please let me know.

from cordova-plugin-health.

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.