Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

react-native-google-fit

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-google-fit - npm Package Compare versions

Comparing version
0.18.1
to
0.18.2
+5
-3
android/src/main/j...tnative/googlefit/GoogleFitManager.java

@@ -32,3 +32,2 @@ /**

import com.google.android.gms.common.GoogleApiAvailability;
import com.google.android.gms.common.Scopes;
import com.google.android.gms.common.ErrorDialogFragment;

@@ -217,4 +216,7 @@ import com.google.android.gms.common.api.ApiException;

GoogleSignInClient googleSignInClient = GoogleSignIn.getClient(context, options);
GoogleSignInAccount gsa = GoogleSignIn.getAccountForScopes(mReactContext, new Scope(Scopes.FITNESS_ACTIVITY_READ));
// this is a temporary scope as a hotfix
// Ref to https://developers.google.com/android/guides/releases?hl=en
// will be removed in the future release
String tempScope = "www.googleapis.com/auth/fitness.activity.read";
GoogleSignInAccount gsa = GoogleSignIn.getAccountForScopes(mReactContext, new Scope(tempScope));
Fitness.getConfigClient(mReactContext, gsa).disableFit();

@@ -221,0 +223,0 @@ mApiClient.disconnect();

### Changelog:
```
0.18.2 ~ temporary hotfix (#268, kudos to @nikhil-kumar-160)
0.18.1 + Implement `getBodyTemperatureSamples()` and `getOxygenSaturationSamples()` (#266, kudos to @mluksha)

@@ -5,0 +7,0 @@ ~ Update typescript definitions

{
"name": "react-native-google-fit",
"version": "0.18.1",
"version": "0.18.2",
"description": "A React Native bridge module for interacting with Google Fit",

@@ -5,0 +5,0 @@ "main": "index.android.js",