Giter Site home page Giter Site logo

sushma-shrestha / car-tracker-flutter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tentone/car-tracker-flutter

1.0 0.0 0.0 6.89 MB

Car tracker GPS flutter based mobile application for A11, ST-901, GT01, and GT09 SMS based trackers.

Home Page: https://tentone.github.io/car-tracker-flutter/

License: MIT License

Shell 0.73% Java 0.15% Dart 99.12%

car-tracker-flutter's Introduction

Car Tracker Flutter

  • Car Tracker application using Flutter, as a rewrite of this project originally developed using Ionic and Capacitor

  • Mobile application to track car GPS position for SMS-based Chinese tracker(s) marketed under the model number A11, ST-901, GT01, and GT09.

  • Manage multiple GPS car trackers using SMS communication.

  • Set multiple parameters of the tracker (e.g. speed limit, sleep time, password, distance alarm)

  • Manage and list messages exchanged with the car tracker.

  • Track car GPS position for SMS-based Chinese tracker(s) marketed under the model number A11, ST-901, GT01 and GT09.

Screenshots

Getting Started

  • Install Android Studio or Visual Studio Code and get the Flutter SDK.

  • Ensure that you have the environment variables GRADLE_HOME, JAVA_HOME and ANDROID_SDK_ROOT, and have access to java and gradle from the your terminal (or command line in windows).

    • GRADLE_HOME ...\Gradle\gradle-7.2
    • JAVA_HOME ...\Java\jdk1.8.0_301
    • ANDROID_SDK_ROOT ...\AppData\Local\Android\Sdk
  • Configure your path to ensure that flutter is accessible from the terminal

  • Run flutter pub get in the project root to update dependencies.

  • If flutter cannot find the Android SDK please run flutter config --android-sdk <path>

  • Use flutter doctor to debug setup problems. Don't forget to accept the flutter doctor --android-licenses.

SDF Icons

  • Mapbox uses SDF-based icons, to generate icons use the tool image-sdf or sdfgen from the command line.
  • SDF allow for high quality rendering of 2D shapes and should be used when possible.
npm install -g image-sdf
image-sdf .\car-marker.png -s 6 -d 8 -c "#fff" -o car-sdf.png

Build

  • Check the flutter android and ios publish guides for more information.
  • The application has only tested in Android during development.
  • To build a release APK for android run flutter build apk on the project folder.
  • For publishing a ABB file is preferred run flutter build appbundle
  • Don't forget to update the project version on the pubspec.yaml file.
  • When building APK output is the build\app\outputs\apk\release folder.

Android Permissions

  • When new plugins are added to provide additional native functionality, the permissions list in the AndroidManifest.xml should be updated.
  • It might be necessary to also request for permission during runtime before using the feature.
<!-- Geolocation -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<!-- File API-->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- Contacts -->
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>

<!-- SMS -->
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
<queries>
<intent>
  <action android:name="android.intent.action.SENDTO" />
  <data android:scheme="smsto"/>
</intent>
</queries>

License

  • This project is distributed under MIT license and can be used for commercial applications.
  • License is available on the Github page of the project.

car-tracker-flutter's People

Contributors

tentone avatar

Stargazers

Sushma Shrestha 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.