-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[in_app_purchase] Add play country code api #5941
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
Changes from 1 commit
5be7c0a
5d6f1cc
e19b644
3f5a4e3
337a7d7
99af529
fdc42cd
88ccd2a
036e2f2
91950f3
7d4af42
5cd0acb
894473c
e33f22c
1dc004b
319ffe7
28e95ad
3c263a8
4cd74ec
d7934fc
5252d6e
5e363fc
62477c4
a514dc1
f047aac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -148,10 +148,13 @@ class InAppPurchaseAndroidPlatformAddition | |||
| ); | ||||
| } | ||||
|
|
||||
| /// TODO | ||||
| Future<BillingConfigWrapper> getBillingConfig() async { | ||||
| /// Returns Play billing country code based on ISO-3166-1 alpha2 format. | ||||
| /// | ||||
| /// See: https://developer.android.com/reference/com/android/billingclient/api/BillingConfig | ||||
| /// See: https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html | ||||
| Future<String> getBillingConfig() async { | ||||
| return _billingClientManager.runWithClientNonRetryable( | ||||
|
||||
| /// Designed only for operations that do not return a subclass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to keep the exposed api as small as possible so I thought the country code was the right level to expose. I didnt even think about if it should be retryable I just mirrored the other commands. Let me look at what that does and make a call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment still applies
Uh oh!
There was an error while loading. Please reload this page.