gioui-plugins / gio-plugins

Gio-Plugins offers new plugins to extend and enhance your Gio app. Inspired by flutter/plugins repository,
Other
46 stars 6 forks source link

In-App Payment #53

Open inkeliz opened 11 months ago

inkeliz commented 11 months ago

Why that plugin should be added? Most of app-stores (Android, iOS) requires the usage of Google Play Billing and In-App Purchase.

What features this plugin should have and how it should work? Make possible to make payment, receive payment notifications and check payment status.

What alternatives you've considered? External payment/gateway is not allowed for Google Play/App Store.

Is this plugin implementable on all OSes (Android, iOS, macOS, WASM, Windows...)? iOS/macOS: https://developer.apple.com/documentation/storekit/in-app_purchase?language=objc Android: https://mvnrepository.com/artifact/com.android.billingclient/billing and https://developer.android.com/google/play/billing Javascript: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API (nobody cares)

Did you known any particular limitation for specific OS? Each API is different.

gedw99 commented 11 months ago

this lib covers all of the app stores: https://github.com/awa/go-iap

I assume you want to track that a user has paid for an app serverside.

gedw99 commented 11 months ago

also we need to provide the .well-known fields in the GUI so that the OS can fill them in automatically for the user. For web thats easy, but for GIO Mobile not sure yet.

inkeliz commented 11 months ago

this lib covers all of the app stores: https://github.com/awa/go-iap

I assume you want to track that a user has paid for an app serverside.

Thanks. I didn't know about that lib.

But, I want to implement the client-side, the code responsible to open that: image

gedw99 commented 11 months ago

Ok i was not sure if you wanted client side or server side.

The client side would really help the gio ecosystem.