Comments (6)
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.
Hi @dariosalvi78
I want to know is it necessary to call promptInstallFit().As this install the Google fit App.
from cordova-plugin-health.
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.
@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.
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.
@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)
- Google Oauth verification HOT 18
- How to pass the value to store blood_glucose? HOT 1
- Empty array for active calories HOT 2
- blood_glucose cannot be authorised on Android HOT 3
- How to query cycling distances in Health Connect? HOT 1
- add support for distance in Android HOT 6
- Add support for TotalCaloriesBurnedRecord HOT 1
- How obtain 3 synchronisations HOT 1
- delete operation on Android: Missing argument startDate HOT 3
- Datatype not supported heart_rate & Datatype not supported sleep HOT 6
- Open healthConnect / HealthKit programmatically to see app authorizations HOT 24
- AndroidManifest.xml permissions re-added when compiling HOT 3
- inconsistency in unit value for health data
- Android: Privacy Policy URL must be specified at installation time not runtime HOT 1
- Using targetSdkVersion 34 is not supported in Capacitor 5 HOT 4
- Execute multiple queries synchronously HOT 2
- NPM package is not updated HOT 3
- Health connect android - android 14 delete records crashes. HOT 1
- openHealthSettings() does not work on Android 14 / HONOR 70. HOT 6
- Always get steps in 0 count
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-health.