GmsCore
GmsCore copied to clipboard
Android Pay Support
I'm trying to use Android Pay but it constantly crashes with the following error message. "Android Pay is unavailable. Android Pay isn't available" I know I pass SafetyNet because I'm able to play Pokemon Go without issue. Is it possible to add in support for Android Pay?
I've taken a logcat during the crash. android_pay_logcat.txt [Removed for privacy]
System Moto X Pure LineageOS 14.1 Magisk 12 microG 0.2.4-81-gb1e98ea
The service bound by com.google.android.gms.tapandpay.service.BIND is not yet implemented and likely required for Android Pay to work.
@mar-v-in Would this be hard to implement? Or even legal since this is a payment service?
@mar-v-in I use microG for a mix of security, privacy, and battery saving so I'd like to see support for Android Pay implemented. I've added $5 to a bounty
Any potential updates on this?
Added another $5 to this in hope someone can add support for this.
@mar-v-in any chance of Android Pay support ever being implemented?
Is this being ignored for some reason? Will this be hard to implement?
I too would like to see support for this.
@ShapeShifter499: He is only one developer so if he work on one thing all others are ignored, development will be faster if there will be more contributors.
@ale5000-git I wish I knew more to help with the code but I barely know code at all, just simple scripts.
How do we add money to a bounty?
To add money for this specific issue the link is this.
I bumped up the bounty to a total of $25
Bumped to $50
Bumped to 100$. This feature would be very useful indeed.
i could try to help but to be honest i dont have an idea of what ya trying to get done here.
@Banginpadr @mar-v-in suggested that Google Pay might work if a few things were implemented in microG. It would be nice to have some control over what Google does with the device by installing microG but then allow some aspects to work like tap-to-pay with Google Pay.
It's likely your transactions are heavily tracked as it is. Some people, such as I, may not care if Google knows they brought groceries somewhere at sometime. Cash is the only way to go if you're really paranoid.
@Banginpadr @mar-v-in suggested that Google Pay might work if a few things were implemented in microG. It would be nice to have some control over what Google does with the device by installing microG but then allow some aspects to work like tap-to-pay with Google Pay.
It's likely your transactions are heavily tracked as it is. Some people, such as I, may not care if Google knows they brought groceries somewhere at sometime. Cash is the only way to go if you're really paranoid.
i guess you need to use api for that to work.
This issue can't be fixed, because SafetyNet does not pass in more modern devices, if the bootloader is unlocked. Furthermore, SafetyNet itself is not passable in microG at the moment, like at all. Even the older devices (that do pass SafetyNet with unlocked booloader under Gapps) do not pass.
It is only a matter of time until SafetyNet won't be passable on every device with an unlocked bootloader. Source: https://www.xda-developers.com/magisk-no-longer-hide-bootloader-unlock-status/
So in my opinion it would be a waste of time to implement Android Pay, just to have it not working again in a year or less time - again.
correct me if I'm wrong, cheers
SafetyNet does not pass in more modern devices, if the bootloader is unlocked
Can't we simulate an older device instead? I know all the dance around SafetyNet is tricky and will continue to become even trickier over years, but still.
Well, isn't it possible to hide both unlocked bootloader and root using Magisk and the Riru EdXposed HiddenCore module? I tried so on Android 11. At least, using the proprietary GApps, Google Pay works this way. This should hence similarly work with proper microG implementations too.
The new flutter based google pay app does not check for safetynet, it runs fine on another device I own with broken safetynet and normal google services. So it should be possible to make it work with microg.
Can confirm: just installed Google Pay on an old phone with GApps and Magisk, SafetyNet fails, but Google Pay seems to be happy with that. :eyes:
@notpushkin I have it on a root note 8 and is working
I am not sure that I am understanding this correctly. Let's say I have a device like one of the newer Redmi's from Xiaomi, with MicroG, Magisk (magisk hide), but without any GAPPS, Will I be able to use Google Pay with it? Now with the new flutter based Google Pay app.
Hi there! My banking app (mBank, pl.mbank) recently added their own nfc payemnts (without google pay) - it looks like everything is going well, and the app even opens when I touch terminal with my phone (!!!) but then it fails
(I can provide more details later of course)
Would com.google.android.gms.tapandpay.service.BIND be hard to implement? Is it just some "launch X when Y intent received" or some more API logic etc? If I got some guidance, I could try...
I've recently tried a similar feature by Sberbank of Russia (ru.sberbankmobile), with a similar result (the app asks for device PIN confirmation, then crashes). I'll try to get more details next time I try it (I don't really use it for anything other than metro rides, and I don't want to experiment with a 5+ people queue behind me so it can take a while).
I have to add that I am using tap-and-pay (contact-less payment via NFC) using my bank's app (Leumi Bank). I also only have MicroG without any GAPPS, everything in the app works fine.
Some Belarus banks have dedicated apps that also work pretty well with tap and pay.
In Russia, we also have an app called Wallet (called Koshelek in Russian; not to be confused with Apple Wallet) which many different banks (in both 🇷🇺 and 🇧🇾, and they plan on expanding to 🇪🇺 next year I think) support in addition to Google Pay. Sadly, it doesn't seem work on my microG setup, but it might be interesting to explore.
Making Google Pay work with MicroG would be fantastic, though, I don't know if it will work because of SafetyNet.