Git Product home page Git Product logo

timetrack-native's Introduction

Timetrack on mobile


Introduction

This project is a Timetrack PoC for android device.

It used with react-native 0.2

Soon, I'm going to try for use timetrack redux store. ( reducers / actions / selectors )


Requirements

React Native and android sdk

At this point, we need either an android virtual device or a physical android device.

To check this, running :

$ adb devices

should return something like :

List of devices attached
07bdb2f7	device

Android SDK Requirements

Need install 2 extra packages.

Go in the Android SDK Manager running : android Install this packages:

  • Local Maven repository for Support Libraries
  • Google repository

Installation

A simple npm install should work :

npm install

Build

Building debug

  • Start the packager server running :
make dev
  • In another terminal, run :
make run-android

Building release

Get private release.keystore and passwords

  • Send a mail to [email protected] to ask him for the release.keystore and gradle.properties files.

  • Build apk running :

make build-release-apk

This will create an app.apk on your project root.

  • Install apk on a connected device running :
make install-release-apk

Flow type checker

Flow is a static type checker for JavaScript. It can be used to catch common bugs in JavaScript programs before they run.

Check the official documentation.

In practice

For say to flow what file you want to check

  • Add this comment at the top of the file :
/* @flow */

More info on this page.


timetrack-native's People

Watchers

 avatar  avatar  avatar

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.