Reputation: 1569
I have an app which offers users to add a pass into their Google Wallet using a banner on home screen. There is a requirement that when user adds this pass to the wallet then the app should hide this banner.
I cant find an API that would let me check if a specific .pkpass
already exists in user's wallet. Can you guys help? maybe there is a library that can do it?
Upvotes: 0
Views: 1507
Reputation: 1
Google Wallet passes are JSON files, not PKPASS.
But you can perform a GET request, and then generate a ViGW button with the pass link attached.
https://developers.google.com/wallet/generic/rest/v1/genericclass/get#http-request
Link template: https://pay.google.com/gp/v/object/{<issuerId>}.{<objectId>}
Upvotes: 0