Comments (3)
I'm no longer working on a project that uses Google Fit but you need to only call the authorize
function once the user has indicated that they want to share their data. What form user onboarding takes is up to you.
Also, tagging anyone who has ever contributed to the repo is pretty bad form and very rude.
from react-native-google-fit.
I'm no longer working on a project that uses Google Fit but you need to only call the
authorize
function once the user has indicated that they want to share their data. What form user onboarding takes is up to you.
Thank you for your fast reply! Calling the authorize
function isn't what will solve this because the solution I need is to allow the new users to dismiss the Google OAuth pop up when it first appears and allow the user to proceed into the app without signing into Google OAuth.
All users login with their email in my mobile app, so they don't need to do Google OAuth login unless they want to share sensitive health scope data. It's this inital Google OAuth pop up that I want to be optional for users when they first login to my application...
This is an example of the screen I am talking about (from google, not from my app) - but this is the screen that we want our users to be able to skip if they want to avoid signing into Google.
Can you help?
Also, tagging anyone who has ever contributed to the repo is pretty bad form and very rude.
Sorry @matiaskorhonen it's my first time πΆβπ«οΈπ³
from react-native-google-fit.
Hi @marzhill , to make this optional you should not initialise the google fit scope authorization method unless user selects it. This means you should add a button in order users to choose if they want to connect to google fit or not.
from react-native-google-fit.
Related Issues (20)
- getActivitySamples missing data HOT 3
- Google fit consents screen change HOT 1
- AUTH_DENIED Authorization cancelled HOT 2
- isAvailable() doesn't work on Android 11+ without change to AndroidManifest.xml HOT 1
- getDailySteps returns empty array HOT 3
- passing callback to `observeSteps` causes crash HOT 6
- Running the react-native google fit with background fetch crashes the app HOT 1
- Data for users who never used Google Fit HOT 3
- Authorize Issue in bundle release HOT 6
- GoogleFit.getXXXSamples(options) returns with no data HOT 1
- Using new GoogleSignInClient
- I want to retrieve information about connected users.
- How to get Read Sleep Data by sessions of type sleep as Document HOT 4
- GoogleFit.disconnect() not working
- App crash on bundleRelease - java.lang.IllegalStateException
- Not working in release or debug in .aab extention HOT 12
- Firebase Error: Attempt to invoke virtual method 'java.lang.String java.lang.String.to LowerCase()'on a null object reference HOT 1
- Missing source information for some datatypes
- Google Fit Sync working in prod apk but not in Playstore build (With firebase) HOT 1
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 react-native-google-fit.