Giter Site home page Giter Site logo

harbour-scooter's Introduction

Scooter

Disclaimer

Since the app uses undocumented provider APIs, there might be errors while using the app. As a result, a second device running Android/iOS and the official Bird app should be available, in order to fix any issues occuring during usage.

Overview

This app aims to provide support for unlocking/riding electric scooters on SailfishOS. While the app is built as multi-provider app, currently only Bird (https://www.bird.co) is supported.

Screenshot Screenshot Screenshot

Features

The app provides the following features:

  • Log into an existing Bird account using E-Mail/confirmation code
  • Show profile details
  • Show scooter locations and restricted areas on a map
  • Ring scooter
  • Unlock scooter / start ride by scanning the QR code on the scooter
  • Show pending/active rides which have not yet been stopped

The app will be able to load existing/still active rides when the app is closed / opened again.

The official Bird app (iOS/Android) will be able to "see" rides which have been started with this app. As such, the official app can be used to stop rides in case of errors/issues with this app.

Setup

In order to use the app, please make sure:

Supported providers

Currently supported:

Other scooter providers have been contacted asking for support/documentation of their APIs. The app is built with multi-provider support in mind, as such, it will be an easy task to add other providers in the future, once the API is known / documentation is available.

Known issues / limitations

Since the app is built without official documentation of APIs, several cases/features have not yet occured (and are thus not tested), or are simply missing in the app:

  • parking in restricted zones
  • using of voucher codes
  • displaying active vouchers or discount codes

Furthermore, it is currently not possible to display pricing information with the correct locale, before starting a ride. As a result, the pricing information is displayed in USD.

The app should, however, always display the correct pricing information when the ride has ended (in local currency), which includes discounts or free rides which have been applied automatically.

For unknown error situations, the app should be able to report error information which can be forwarded to the developer for analysis.

Compiling from source

In order to compile the project, a patch needs to be applied to the qzxing submodule, otherwise the app won't recognize any QR codes.

~/harbour-scooter$ cd submodules/qzxing/
~/harbour-scooter/submodules/qzxing$ git apply ../../qzxing_sfos_fix.patch

Copyright notice

harbour-scooter's People

Contributors

patrickjane avatar vistaus 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.