0
0
mirror of https://github.com/mueller-ma/PrepaidBalance.git synced 2024-09-20 00:12:15 +02:00
App to check your prepaid balance
Go to file
2021-06-09 09:32:18 +02:00
.github Add issue template 'Failed to get current balance' 2021-06-09 08:50:35 +02:00
.idea Inital commit 2021-05-16 18:26:18 +02:00
app Improve regex 2021-06-09 09:32:18 +02:00
fastlane/metadata/android/en-US Bump to 0.3 2021-06-09 08:52:46 +02:00
gradle/wrapper Inital commit 2021-05-16 18:26:18 +02:00
.gitignore Inital commit 2021-05-16 18:26:18 +02:00
build.gradle Bump kotlin_version from 1.5.0 to 1.5.10 (#8) 2021-05-25 09:43:42 +02:00
gradle.properties Inital commit 2021-05-16 18:26:18 +02:00
gradlew Inital commit 2021-05-16 18:26:18 +02:00
gradlew.bat Inital commit 2021-05-16 18:26:18 +02:00
LICENSE Inital commit 2021-05-16 18:26:18 +02:00
README.md Add "Android permissions" to Readme 2021-06-08 10:39:11 +02:00
SECURITY.md Inital commit 2021-05-16 18:26:18 +02:00
settings.gradle Inital commit 2021-05-16 18:26:18 +02:00

Prepaid balance

This app keeps track of your prepaid balance. It can automatically record it and post a notification if your balance drops under a configurable threshold. It does so by parsing the response of a USSD code, that can be set in the settings.

Get it on F-Droid

Translations

You can help translating this app by coping the file app/src/main/res/values/strings.xml to app/src/main/res/values-xx/strings.xml (xx stands for your language code), removing all entries marked with translatable="false" and translating the remaining entries. This file contains all strings used in the app.

The app store description can also be translated: Copy fastlane/metadata/android/en-US/full_description.txt and fastlane/metadata/android/en-US/short_description.txt to fastlane/metadata/android/xx-YY/full_description.txt (xx is the language code, YY is the country code) and translate the file.

Troubleshooting

You might run into on of these issues with the app:

  • The USSD code is different than the default (*100#). In this case please configure the correct one and open an issue, so I can change the default code for your provider.
  • Your provider doesn't provide a USSD code to query your prepaid balance. In this case you cannot use this app.
  • Depending on the response pattern the parsing might fail. In this case please open an issue.

Android permissions

  • CALL_PHONE: Used to query USSD codes.
  • ACCESS_NETWORK_STATE, RECEIVE_BOOT_COMPLETED, FOREGROUND_SERVICE, WAKE_LOCK: Used by WorkManager to ensure work constraints are met and running workers aren't killed.

Credits