diff --git a/android/build.gradle b/android/build.gradle index bdb6970..8d0a61c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,13 +1,3 @@ -buildscript { - repositories { - jcenter() - } - - dependencies { - classpath 'com.android.tools.build:gradle:2.1.3' - } -} - def safeExtGet(prop, fallback) { rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback } diff --git a/js/index.d.ts b/js/index.d.ts index 9e6cc65..7fe1451 100644 --- a/js/index.d.ts +++ b/js/index.d.ts @@ -1,3 +1,5 @@ +export const Platform = 'AppleHealth' | 'GoogleFit'; + const Errors = { ErrorHKNotAvailable: -100, ErrorMethodNotAvailable: -99, @@ -26,7 +28,6 @@ const PermissionAccesses = { export declare type PermissionAccesses = typeof PermissionAccesses[keyof typeof PermissionAccesses]; - export declare type Permission = { kind: PermissionKinds, access: PermissionAccesses, diff --git a/package.json b/package.json index d392e63..adf5ee7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ovalmoney/react-native-fitness", - "version": "0.5.1", + "version": "0.5.2", "description": "A React Native package that gives you access to Apple kit and Google Fit data.", "main": "./js/index.js", "keywords": [ diff --git a/react-native-fitness.podspec b/react-native-fitness.podspec index 32debf3..c370c6e 100644 --- a/react-native-fitness.podspec +++ b/react-native-fitness.podspec @@ -15,5 +15,5 @@ Pod::Spec.new do |s| s.source = { :git => "git@github.com:OvalMoney/react-native-fitness.git", :tag => "master" } s.source_files = "ios/RCTFitness/**/*.{h,m}" - s.dependency 'React' + s.dependency 'React-Core' end