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.
- 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.
Download repository
git clone https://github.com/ammannbe/ShoppinglistApp.git
- Node.js
- Ionic CLI
- Angular CLI
- Android: Android Studio
- iOS: XCode
- 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
With both methods you'll get an APK, which you can upload to the google play store.
./build-apk.sh
- 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
- 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
Generate docs and open in Firefox
npm run typedoc
firefox docs/index.html &
- 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.
- Benjamin Ammann - Initial work - ammannbe
This project is licensed under the AGPLv3 or later - see the LICENSE file for details