Skip to content

Commit

Permalink
Merge pull request #92 from OvalMoney/release/0.5.2
Browse files Browse the repository at this point in the history
Release/0.5.2
  • Loading branch information
franceto authored Dec 3, 2020
2 parents 3fdf681 + f15e462 commit a65c3cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
10 changes: 0 additions & 10 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down
3 changes: 2 additions & 1 deletion js/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const Platform = 'AppleHealth' | 'GoogleFit';

const Errors = {
ErrorHKNotAvailable: -100,
ErrorMethodNotAvailable: -99,
Expand Down Expand Up @@ -26,7 +28,6 @@ const PermissionAccesses = {

export declare type PermissionAccesses = typeof PermissionAccesses[keyof typeof PermissionAccesses];


export declare type Permission = {
kind: PermissionKinds,
access: PermissionAccesses,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion react-native-fitness.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Pod::Spec.new do |s|
s.source = { :git => "[email protected]:OvalMoney/react-native-fitness.git", :tag => "master" }
s.source_files = "ios/RCTFitness/**/*.{h,m}"

s.dependency 'React'
s.dependency 'React-Core'
end

0 comments on commit a65c3cf

Please sign in to comment.