the-dise / Mir-Pay-Wallet

Mir Pay Wallet app for Wear OS
GNU General Public License v3.0
129 stars 7 forks source link

Launch app when Google Pay window is detected #11

Closed OctoNezd closed 5 months ago

OctoNezd commented 5 months ago

This way, app can be "bound" to double-tap on crown without having to use tasker or similar software,

OctoNezd commented 5 months ago

This is the best solution I managed to come up with- after looking into systemui apk the package name for google wallet is hardcoded, unless the device has cn.google feature, and in that case it tries to launch app with com.google.android.wearable.localedition.action.PAY or com.google.android.wearable.localedition.action.PAY_RETAIL intent category.

the-dise commented 5 months ago

Thanks, that's a great solution. I checked it out I liked it and it's done awesome. Great job, thank you! 👍