Coder Social home page Coder Social logo

longzheng / mypal-ionic Goto Github PK

View Code? Open in Web Editor NEW
68.0 7.0 13.0 10.38 MB

Mobile app to see Myki account details for iOS & Android

License: MIT License

TypeScript 56.70% HTML 17.77% CSS 14.12% JavaScript 11.41%
ionic2 melbourne myki ios android typescript

mypal-ionic's Introduction

mypal-ionic

Mobile app to see Myki account details for iOS & Android

Download links

Background

I'm making this app because the Myki site doesn't have a mobile view nor a mobile app, and I wanted to experiment with the Ionic framework to make a hybrid mobile app.

Screenshots

Current features

  • Log in to Myki online account with username & password
  • Show current/archived myki cards
  • Shows myki money & myki pass balance
  • Shows card information
  • Shows recent transactions
  • Top up with credit card
  • Show retail top up outlets

Build requirements

Must have Cordova and Ionic 3 installed npm install -g cordova ionic

Install npm packages npm install

Restore Cordova plugins ionic cordova prepare

Run on device ionic run android or ionic run ios

Debug in browser ionic serve (When debugging with Chrome, security limitations must be disabled since we're accessing a third-party site without CORS headers)

OSX from terminal
open -a Google\ Chrome --args --disable-web-security --user-data-dir
  
Windows from cmd
chrome.exe --disable-web-security --user-data-dir

mypal-ionic's People

Contributors

longzheng avatar plasma avatar testsr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mypal-ionic's Issues

Quick select top up money/pass

Redesign UI to allow easy selection of top up money presets
$10, $20, $30, $40, $50 etc

Also pass duration presets
7 days, 28 days, 365 days

Alignment off for some history touch on/off events

Slight design tweaks needed?

  • 'Darling station' has a blank line above it, compared to 'Flinders street station' below
  • The event number "1/" has a slash for some reason
  • Also noticed the Hawthorn East route has a strange name, LR05_1_047

img_5754

Show more card details in sidebar

  • Could show a card type sign "C"
  • Would need to load all card details automatically since those details aren't available on the main account screen
  • Need to be careful with concurrent requests, maybe do it one at a time

No session expired error handling

The myki site has a pretty quick session expiry time.

If you leave the app open for a while, then pull to refresh, it will fail.

Need some sort of error handling, auto retry or re-login.

Train animation not going to end of screen

Need to redesign train animation layout
Instead of animating train, need to animate a 100% width div so transform works correctly
Our train in div, maybe scale with viewwidth proportionally

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.