/traxivity

Traxivity is a React Native module for step counting, analytics and goal setting

Primary LanguageJavaScript

🏃🏻‍ Traxivity 🏃🏻‍

Traxivity is a module which features step counting and its analytics that you can use in your react-native app in order to help your users have their physical activity in check by maintaining and keep track of a daily step goal.

Prerequisites

We are constantly trying to make the module as independent as possible but at this stage, we only support the projects with following dependencies.

  1. Google Fit (react-native-google-fit)
  2. Google Signin (react-native-google-signin)

How to Use

Installing

via git clone (Temporary)

$ git clone git@github.com:RGU-Computing/traxivity.git

or 

$ git clone https://github.com/RGU-Computing/traxivity.git

Create a directory @rgu-computing/traxivity inside your node_modules folder and paste the root files and folders into it.

via NPM (Coming Soon)

$ npm install @rgu-computing/traxivity

via yarn (Coming Soon)

$ yarn add @rgu-computing/traxivity

Usage

import { Today } from "@rgu-computing/traxivity";
//..
<Today/>

import { Weekly } from "@rgu-computing/traxivity";
// ..
<Weekly/>

import { Monthly } from "@rgu-computing/traxivity";
//..
<Monthly/>

More options and customizations are coming soon! 😉

Screenshots