I am implementing add a card to google pay. I download the demo project and install the demo app. And I basically copy code from that demo to my project but almost all functions return the error Calling package not verified
. I can not find anything for package verifies.
UPDATE (probable solution):
I found how to generate SHA-256 key in doc.
# Function to display your SHA-256
$ keytool -printcert -jarfile my-push-provisioning-app.apk | grep SHA256
and send the result of this command to google via the form in doc... I did it and now I am waiting for some response. It could take them 2 weeks...
I am just wondering if they send me an acceptance email or if it just starts work ...
For me the issue was:
I've realized that it only reproduced on the
debug
build type. After I switched torelease
, the issue was resolved.