An open API service indexing awesome lists of open source software.

https://github.com/williamluke4/mypesa

App to View and Export Transactions from MPESA
https://github.com/williamluke4/mypesa

android export flutter mpesa

Last synced: about 1 month ago
JSON representation

App to View and Export Transactions from MPESA

Awesome Lists containing this project

README

        

# myPesa

## Info

Works by looking for messages from `MPESA` then parses them using regex.

## Help Wanted

If there is anyone who wants to help out with this please feel free to submit issues or PRs :)

## Installation

- [Go to Releases](https://github.com/williamluke4/myPesa/releases) and download the latest `.apk` under assets.
- After installation you may have to close the app after initially opening it to get it to work.

---

## Getting Started ๐Ÿš€

This project contains 3 flavors:

- development
- staging
- production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

```sh
# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart
```

### JSON Seriablizable code generations

```
flutter pub run build_runner build
```

### Helper Commands

```
dart format --set-exit-if-changed lib test
dart analyze lib test
git tag v2.0.20 -m "Support Reversed Transactions"
```

_\*myPesa works on Android._

---

## Running Tests ๐Ÿงช

To run all unit and widget tests use the following command:

```sh
$ flutter test --coverage --test-randomize-ordering-seed random
```

To view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov).

```sh
# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html
```

---