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
- Host: GitHub
- URL: https://github.com/williamluke4/mypesa
- Owner: williamluke4
- License: mit
- Created: 2020-03-04T12:56:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T02:56:07.000Z (7 months ago)
- Last Synced: 2024-10-17T16:47:25.228Z (6 months ago)
- Topics: android, export, flutter, mpesa
- Language: Dart
- Homepage:
- Size: 6.42 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
- productionTo 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
```---