Skip to content

Mobile application to manage your shopping lists, written with Ionic, Cordova and TypeScript. Manage your shopping lists and share them with your family and flatmates.

License

Notifications You must be signed in to change notification settings

ammannbe/ShoppinglistApp

Repository files navigation

Shoppinglist App

Mobile application to manage your shopping lists, written with Ionic, Cordova and TypeScript. Manage your shopping lists and share them with your family and flatmates.

Why is this so awesome?

  • Multiple shopping lists | Manage multiple shopping lists.
  • Android and iOS | Download this app for Android and iOS.
  • Share your lists | Share shopping lists with other users.
  • Online and offline usage | Use the app offline only and optionally online.
  • Backup data | Optionally your data is available through the cloud.

Getting Started

Download repository

git clone https://github.com/ammannbe/ShoppinglistApp.git

Prerequisites

Installing/Updating

  • Make sure you have all prerequisites
  • Install NPM packets: npm install
  • Run emulator with live-reload: ionic cordova run android -l
  • Build app (debug APK): ionic cordova android build
  • Build app (prod APK): ionic cordova android build --prod --release

Deploy on Google Play Store

With both methods you'll get an APK, which you can upload to the google play store.

Via Script

./build-apk.sh

Manually

  • Build APK
ionic cordova build android --prod --release
  • Rename APK
mv ./platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk ./platforms/android/app/build/outputs/apk/release/Shoppinglist-release-unsigned.apk
  • Sign APK
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore Shoppinglist-release-key.keystore ./platforms/android/app/build/outputs/apk/release/Shoppinglist-release-unsigned.apk alias_name
  • Optimize APK with the zipalign-utility

Exists in folder $HOME/Android/Sdk/build-tools/[VERSION]/zipalign

$version="28.0.3"
$HOME/Android/Sdk/build-tools/$version/zipalign -v 4 platforms/android/app/build/outputs/apk/release/Shoppinglist-release-unsigned.apk platforms/android/app/build/outputs/apk/release/Shoppinglist.apk

Deploy on Apples App Store

  • Edit version number in config.xml
  • Prepare for XCode
ionic cordova prepare ios
  • Open XCode:
open platforms/ios/Todo\ Liste.xcodeproj
  • Change emulator to "Generic iOS Device"
  • Check Identity:
    • Name: Shoppinglist
    • Bundle ID: (not ready yet)
    • Version & Build according to config.xml
  • Go to Product > Archive (if the build failes, check the settings)
  • A new window opens -> Choose iOS App
  • Distribute App
  • Choose iOS App Store -> Next
  • Choose Upload -> Next
  • Set hook -> Next
  • Automatically Manage signing -> Next

Docs

Generate docs and open in Firefox

npm run typedoc
firefox docs/index.html &

Built With

  • Angular - One framework. Mobile & desktop.
  • Cordova - Mobile apps with HTML, CSS & JS.
  • core-js - Standard Library.
  • Ionic - One codebase. Any platform.
  • RxJS - A reactive programming library for JavaScript.
  • TypeDoc - Documentation generator for TypeScript projects.
  • TypeScript - JavaScript that scales.

Authors

  • Benjamin Ammann - Initial work - ammannbe

License

This project is licensed under the AGPLv3 or later - see the LICENSE file for details

About

Mobile application to manage your shopping lists, written with Ionic, Cordova and TypeScript. Manage your shopping lists and share them with your family and flatmates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published