Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonprickett/bartcordova
Cordova App for my BART Transit JSON API.
https://github.com/simonprickett/bartcordova
android-app bart-api cordova ios-app phonegap
Last synced: about 1 month ago
JSON representation
Cordova App for my BART Transit JSON API.
- Host: GitHub
- URL: https://github.com/simonprickett/bartcordova
- Owner: simonprickett
- License: mit
- Created: 2015-08-17T19:53:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T19:17:44.000Z (about 9 years ago)
- Last Synced: 2024-10-29T15:49:38.158Z (3 months ago)
- Topics: android-app, bart-api, cordova, ios-app, phonegap
- Language: JavaScript
- Homepage: https://simonprickett.dev/
- Size: 5.03 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BART Cordova
Cordova App for my BART Transit JSON API (API lives at https://github.com/simonprickett/bartnodeapi)
This uses:
* JQuery
* Bootstrap 3
* Handlebars templating
* Splash screen images in their own folder
* Icons in their own folder
* Plugins downloaded using a hook script that runs when a platform is added
* Platforms and plugins folders not in Github on purpose, trying to keep that so
* Build hook script to compile Handlebars templates and put the resulting compiled JS in the www folder
* iOS pre build hook script to alter the Info plist to disable Application Transport Security in iOS 9 so that backend data calls can be made without requiring SSL endpoints (unsure right now if this will be allowed for apps submitted to the App Store)
* Platform independent pre build hook script to run eslint using configuration in package.json for each buildRequires proper install and setup of:
* Xcode including command line tools, recommend Xcode 7.01
* Android SDK, recommend API level 22 (Android 5.1.1)
* Apache Cordova CLI (5.3.3 or better)
* eslintFresh clone workflow:
* ```cordova -version``` (should yield 5.3.3 or better)
* ```cd app```
* ```cordova platform add ios```
* ```cordova platform add android```
* ```cordova build ios```
* ```cordova build android```Then try it out:
* ```cordova emulate ios```
* ```cordova emulate android```