Lightmeter app inspired by Material 3 design system.
Find a file
2023-09-13 17:43:23 +02:00
.github Fixed _Build .apk_ flow 2023-09-02 13:08:58 +02:00
.vscode Refined launch options 2023-09-03 13:06:30 +02:00
android Added Firebase Analytics 2023-08-28 11:39:20 +02:00
assets
doc
iap moved Film to resources repo 2023-09-13 17:39:30 +02:00
ios Implemented IAP & Equipment profiles (#89) 2023-09-02 10:32:08 +02:00
lib copy 2023-09-13 17:42:06 +02:00
resources ML-11 Implement volume buttons actions (#86) 2023-07-09 13:39:33 +02:00
test removed film from exposure pairs building 2023-09-13 17:41:50 +02:00
.gitignore Update .gitignore 2023-09-13 17:43:23 +02:00
.metadata
analysis_options.yaml ML-62 Interactors tests (#87) 2023-07-10 17:49:34 +02:00
crowdin.yml
LICENSE
PRIVACY_POLICY.md
pubspec.yaml Version bump 2023-09-08 22:03:01 +00:00
README.md Refined launch options 2023-09-03 13:06:30 +02:00
test_coverage.sh ML-62 Bloc's tests (#78) 2023-06-20 08:43:49 +02:00

Table of contents

Backstory

Some time ago I've started developing the Material Lightmeter app. Unfortunately, the last update of this app was almost a year prior to creation of this repo. So after reading some positive review on Google Play saying that "this is an excellent app, too bad it is no longer updated", I've decided to make an update and also make this app open source. Maybe someone sometime will decide to contribute to this project.

But as the existing repo contained some sensitive data, that I've pushed due to lack of experience, I had to make a new one. And if creating a new repo, why not rewrite the app from scratch?

Without further delay behold my new Lightmeter app inspired by Material You (a.k.a. M3)

Screenshots

Development

1. Install Flutter

To build this app you need to install Flutter 3.10.0 stable. How to install.

2. (Optional) Install Firebase

Out of the box Firebase Crashlytics won't work. If you want to add Crashlytics to your local build please follow this guide.

3. Get packages

As part of the app's functionallity is in the private repo, you have to replace these lines in pubspec.yaml:

m3_lightmeter_iap:
  git:
    url: "https://github.com/vodemn/m3_lightmeter_iap"
    ref: main

with these:

m3_lightmeter_iap:
  path: iap

and run flutter pub get from the iap/ folder.

Then you can fetch all the neccessary dependencies and generate translation files by running the following commands:

flutter pub get
flutter pub run intl_utils:generate

4. Build

Android

You can build an apk by running the following command from the root of the repository:

flutter build apk --release --flavor dev --dart-define cameraPreviewAspectRatio=240/320 -t lib/main_dev.dart

iOS

TBD

Contribution

To report a bug or suggest a new feature open a new issue.

In case you want to help develop this project feel free to open a Pull Request, but you need to follow this style guide.

iOS Limitations

A list of features, that Android version of the app has and that iOS does not.

Incident light metering

Apple does not provide API for reading Lux stream form the ambient light sensor. Lux can be calculated based on front camera image stream, but this would be a reflected light. So there is no way incident light metering can be implemented on iOS.

Volume buttons action

This can be implemented but the app will be rejected due to 2.5.9