Giter Club home page Giter Club logo

react-native-google-fitness's People

Contributors

aidenjlee avatar andrewmarmion avatar mswokk avatar ybrain-admin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-google-fitness's Issues

Cannot read property 'isGooglePlayServicesAvailable' of undefined

The following error occurs whenever I try to initialize the application using

const result = await GoogleFit.isGooglePlayServicesAvailable();

error TypeError: Cannot read property 'isGooglePlayServicesAvailable' of undefined
    at Object.isGooglePlayServicesAvailable (AppEntry.bundle?plat…se&hot=false:125554)
    at handleGetHealthData$ (AppEntry.bundle?plat…se&hot=false:125363)
    at tryCatch (AppEntry.bundle?plat…lse&hot=false:29721)
    at Generator.invoke [as _invoke] (AppEntry.bundle?plat…lse&hot=false:29897)
    at Generator.prototype.<computed> [as next] (AppEntry.bundle?plat…lse&hot=false:29764)
    at tryCatch (AppEntry.bundle?plat…lse&hot=false:29721)
    at invoke (AppEntry.bundle?plat…lse&hot=false:29797)
    at AppEntry.bundle?plat…lse&hot=false:29827
    at tryCallTwo (AppEntry.bundle?plat…alse&hot=false:3765)
    at doResolve (AppEntry.bundle?plat…alse&hot=false:3929)

설치 및 실행시 에러가.. 어떻게 해야하죠?

react-native run-android 시

Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.google.android.gms:play-services-base' has different version for the compile (12.0.1) and runtime (16.0.1) classpath. You should manually set the same version via DependencyResolution

에러가 발생합니다.

Getting error while building app

I am trying to use react-native-google-fitness but getting error. Please find attachment here -
Screenshot 2019-09-17 at 6 44 32 PM

I m using -
package.json

"react-native-google-fitness": "0.2.1"
"react-native": "16.8.3"
"react": "0.2.1"

build.gradle

ext {
      buildToolsVersion = "28.0.3"
      minSdkVersion = 19
      compileSdkVersion = 28
      targetSdkVersion = 27
      supportLibVersion = "28.0.0"
      googlePlayServicesVersion = "15.0.1"
      androidMapsUtilsVersion = "0.5+"
    }
dependencies {
        classpath 'com.android.tools.build:gradle:3.3.1'
        classpath 'com.google.gms:google-services:4.0.1'
}

Could not find method api() for arguments [directory 'libs']

Error after linking:


A problem occurred evaluating project ':react-native-google-fitness'.
> Could not find method api() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Work progress

are there some plans to developing father/support this project?

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.