3 ms·
For in-app purchases of PWAs in app Stores, you can use the Digital Goods API[0]. It works for Google Play and Microsoft Store. For non-free apps, one thing I'
by judah 3y ago
For in-app purchases of PWAs in app Stores, you can use the Digital Goods API[0]. It works for Google Play and Microsoft Store.
For non-free apps, one thing I've seen is app Stores launch the PWA with some flags indicating it was launched from the Store. If these flags are not present, the app is being launched via direct URL, in which case the app server can give a not authorized response.
[0]: https://developer.chrome.com/docs/android/trusted-web-activity/receive-payments-play-billing/ https://developer.chrome.com/docs/android/trusted-web-activi...