iOS|Android app for Invoice Ninja built with Google Flutter

admin

iOS/Android app for Invoice Ninja built with Google Flutter

Invoice Ninja

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
  •  Credits
  •  Recurring
  •  Tablet support
  •  Desktop support

Developer Notes

  • Run cp lib/.env.dart.example lib/.env.dart to create the config file
  • Run cp android/key.properties.example android/key.properties to create the keys file
  • 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.
  • 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.
  • Run flutter run while you have a device connected to the computer or an emulator running and now you can run it.

Credit (github url) : https://github.com/invoiceninja/flutter-mobile

Next Article : https://flutterappdev.com/2019/01/28/a-tmdb-client-built-with-flutter-using-the-bloc-pattern/

Leave a Comment