Skip to content

v1.7.0: Out of the way for payments

Choose a tag to compare

@rogerantony-dev rogerantony-dev released this 04 Sep 07:09
· 36 commits to main since this release

Unhook now steps aside for Paytm and other payment apps, so a payment never fails because of it.

Out of the way for payments

Paytm, and a growing number of UPI and banking apps, refuse to pay while any third-party accessibility service is switched on. They read the list of enabled services and stop on the amount screen with a warning that names the app. Earlier versions of Unhook triggered this, and nothing short of turning the service off satisfies it.

So now it turns itself off. The moment a payment app comes to the front, Unhook's service disables itself and posts a notification saying so. It knows a payment app two ways: a built-in list of Indian UPI and bank apps, and any app that hides its screen from accessibility services, which is what banking apps do on Android 14 and is the clearest sign of one.

Turning it back on

Open Unhook and it shows a resume screen in place of the dashboard, with one button. Android does not let an app re-enable its own accessibility service, so that button opens Accessibility settings, where Unhook Reel Counter is under Installed apps. Nothing is counted in between, and nothing else changes.

If you are comfortable with adb, two grants make it automatic. The first lets Unhook re-enable itself, from the button and on its own four minutes after each pause. The second makes that four minutes exact under Battery Saver.

adb shell pm grant com.rogerantony.unhook android.permission.WRITE_SECURE_SETTINGS
adb shell appops set com.rogerantony.unhook SCHEDULE_EXACT_ALARM allow

What the service now sees

Outside Instagram and YouTube the service asks Android for one thing: a notice when a different app comes to the front, carrying that app's name. It reads no screen content anywhere else. The privacy policy has the full wording.

Installing

arm64 only, which is any phone from roughly 2017 onwards. Older 32-bit devices will refuse to install it.

Signature note. As with every release here, this APK is signed with a development key, not the key a future Play Store build will use. If you install this and later move to a Play version, you will need to uninstall first.