项目作者: heyteacher

项目描述 :
BikeTracking is an Android app for track your bike activities.
高级语言:
项目地址: git://github.com/heyteacher/biketracking.git
创建时间: 2020-07-29T22:02:16Z
项目社区:https://github.com/heyteacher/biketracking

开源协议:

下载


BikeTracking

BikeTracking is a GPS tracking Android app for cycling activities created by a passionate bicycle developer.

I made this app focusing exclusively on the features that I consider necessary and important on the basis of my experience as an amateur cyclist, eliminating everything superfluous present in other similar apps, such as social sharing, vocal training, location sharing.

In addition, the app keeps GPS tracks inside the device, without sending and saving your location data on external servers.

As for the online altitude calculation, for Europe I use a service I created that does not store the coordinates of the users but only uses them to determine the DEM (Digital Elevation Measure) value, while outside Europe I use a similar service provided by MapBox (see PRIVACY)

Install BikeTracking from Google Play

Features

  • measure realtime distance, duration, speed, average
  • measure altitude online via DEM (Digital Elevation Measuring). For Europe best precision: 25m resolution with vertical accuracy: +/- 7 meters Copernicus EU-DEM
  • realtime routing 3D on map
  • heartrate and cadence sensor via BLE (Bluethoot Low Energy)
  • meteo forecast via https://open-meteo.com
  • voice track summary
  • history of tracks with statistical data, charts and map

Support Us

Developers

Install

  • create project

    1. tns create trasksport
    2. npm i @types/jest --devel
    3. cd tracksport
    4. tns preview
  • Install NativeScript apps playground and preview and scan QR Code

  • Install NativeScript extension on VSCode

  • Install adb (Android Debug Bridge)

  • Enable Developer Mode in your smartphone

    1. Go to Settings, then tap About device or About phone.
    2. Scroll down, then tap Build number seven times
    3. Enter your pattern, PIN or password to enable the Developer options menu.
    4. The Developer options menu will now appear in your Settings menu.
  • Create Launch Configuration for NativeScript

  • Plug you android and play Launch on Android

  • configure and commit git

    1. git config --global user.email "XXXXXXX@XXX.XXX"
    2. git config --global user.name "XXX, XXX"
    3. git add .
    4. git commit . -m "init commit"

Run

  • plug USB cable

  • run tns run android

nativescript-geolocation

  1. npm install @nativescript/schematics
  2. tns plugin add nativescript-geolocation

Release on Playstore

generate bubdle

  1. tns build android --release --key-store-path ./keys/keystore.jks --key-store-password XXXXX --key-store-alias upload --key-store-alias-password XXXXX --aab --copy-to releases/biketracking.aab

Generate apk

  1. tns build android --release --key-store-path ./keys/keystore.jks --key-store-password XXXXX --key-store-alias upload --key-store-alias-password XXXXXX

Publish on Google Play Store

publish via Microsoft Visual Studio App Center, after release the first application in Google Play Console

  1. autenticate into https://appcenter.ms/

  2. create a new app

  3. follow istruction to connect App Center to Google Play Console

  4. install appcenter cli

    1. npm install -g appcenter-cli
  5. login appcenter copy and paste browser token

    1. appcenter login
  6. publish the AAB

    1. appcenter distribute stores publish --app <account_name>/<app_name> --file releases/biketracking-<version>.aab --store Production --release-note "minor fixes"

Gulp commands

  1. update version depending semantic version:

    • bug fix
      1. gulp patch
    • new features (minor release)
      1. gulp minor
    • new mayor release
      1. gulp mayor
  2. create release notes for new version in releases/release-notes-X.Y.X.txt

  3. publish on google store

    1. gulp publish