Works by looking for messages from MPESA
then parses them using regex.
If there is anyone who wants to help out with this please feel free to submit issues or PRs :)
- Go to 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.
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:
# 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
flutter pub run build_runner build
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.
To run all unit and widget tests use the following command:
$ flutter test --coverage --test-randomize-ordering-seed random
To view the generated coverage report you can use lcov.
# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/
# Open Coverage Report
$ open coverage/index.html