Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digital Goods API not working? #854

Closed
vflam opened this issue Jun 3, 2024 · 2 comments
Closed

Digital Goods API not working? #854

vflam opened this issue Jun 3, 2024 · 2 comments

Comments

@vflam
Copy link

vflam commented Jun 3, 2024

Hello, I made a TWA of my PWA using bubblewrap, using these options in the twa-manifest.json

"features": { "playBilling": { "enabled": true } }, "alphaDependencies": { "enabled": true },

However, "getDigitalGoodsService" is never available, I am out of ideas. All the documentation I find is from 2022, it says there is an origin trials but it seems like the origin trials is over now, but the digital goods API just won't work. Was this scrapped and it's now impossible to use Play Billing with a bubblewrapped app? Or, is there anything that I am missing?

@Stevie-Ray
Copy link

Hi @vflam I can confirm it's working, still receiving payments on my app. The API is only available on mobile devices: chrome://inspect/#devices

@vflam
Copy link
Author

vflam commented Jul 16, 2024

Thank you, I managed to get it to work.

The problem was that the default browser on my phone was Brave browser and not Chrome, so the TWA would be started using Brave and it does not work in Brave.

@vflam vflam closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants