Go to file
Hillel Coren 141866fb89 Settings 2019-10-06 16:12:52 +03:00
.idea Vendors 2019-06-02 15:09:05 +03:00
android Settings 2019-10-03 20:40:21 +03:00
assets/images Update logo 2018-09-16 19:07:20 +03:00
ios Update Flutter platform files 2019-09-18 09:50:35 +03:00
lib Settings 2019-10-06 16:12:52 +03:00
samples Tablet layout 2019-08-19 13:57:41 +03:00
stubs Settings 2019-10-06 16:12:52 +03:00
test_driver Quotes Tests 2019-09-01 17:47:27 +01:00
.gitignore Update Flutter platform files 2019-09-18 09:50:35 +03:00
.metadata
LICENSE.txt Update copyright year 2019-05-28 23:28:32 +03:00
README.md Added new Contributor to README 2019-09-01 17:05:16 +01:00
analysis_options.yaml Update Flutter 2019-03-04 12:40:49 +02:00
invoiceninja.iml iOS app 2018-09-02 14:46:29 +03:00
invoiceninja_android.iml
pubspec.lock Settings 2019-10-04 16:29:32 +03:00
pubspec.yaml Update PDF 2019-10-01 20:05:43 +03:00
run_all_it_tests.sh Combine all IT tests to one suite so as not to open and close the app between them. 2019-06-13 23:00:09 +03:00
starter.sh Settings 2019-10-06 16:07:59 +03:00

README.md

Invoice Ninja

Companion app for the Invoice Ninja web app.

Note: the mobile app requires the latest version of the web app.

View Invoice List Invoices Contact Details Edit Product

Features

  • Dashboard
  • Clients
  • Products
  • Invoices
  • Quotes
  • Payments
  • Projects
  • Tasks
  • Vendors
  • Expenses
  • Tablet support
  • Web/Version 2

Application Architecture

The application was created using the Flutter Redux Starter.

The architecture is based off these two projects:

Blog Posts

Developer Notes

  • Run cp lib/.env.dart.example lib/.env.dart to create the config file.
  • Run cp android/app/build.gradle.dev android/app/build.gradle to support running the code unsigned.
  • Run flutter run while you have a device connected to the computer or an emulator running and now you can run it.

Code generation

  • Run flutter packages pub run build_runner build --delete-conflicting-outputs to regenerate the model files. It will also remove the old generated files so conflicts are avoided..

Tests

  • Run flutter drive --target=test_driver/all_it.dart to run the tests

Code Signing

  • Run cp android/app/build.gradle.prod android/app/build.gradle to support running the code signed
  • Run cp android/key.properties.example android/key.properties to create the keys file
  • Run keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias invoiceninja to generate a key to be able to sign the android application.
  • Update android/key.properties according to the parameters you entered in previous command when you generated the key
  • Open a new Firebase project from your console. Firebase is used for authentication.
    • Inside the project go to Authentication and enable at least one method.
    • After go to add a new Android application. For the package name add com.invoiceninja.flutter
    • Press "Register App" button.
    • Download "google-services.json" and put it in android/app directory.

Credits

Special thanks to:

Contributions

We gladly accept contributions! If you'd like to get involved with development please join our Slack group.