[expo-in-app-purchases][android] added the ability to set obfuscatedAccountId, obfuscatedProfileId and isVrPurchaseFlow (#16670)# Why Many application which use iAP on Android requires the obfus
[expo-in-app-purchases][android] added the ability to set obfuscatedAccountId, obfuscatedProfileId and isVrPurchaseFlow (#16670)# Why Many application which use iAP on Android requires the obfuscatedAccountId and obfuscatedProfileId to be set. A subset of applications may need isVrPurchaseFlow, making that property available to library consumer is low effort. # How Simply, we just check if `obfuscatedAccountId`, `obfuscatedProfileId` or `isVrPurchaseFlow` is passed to the `purchaseItemAsync` method, if they exist we set them on the `BillingFlowParams.Builder`. **Note:** there is a small caveat, that `obfuscatedAccountId` and `obfuscatedProfileId` both need to be passed unless the Google iAP dialog will show the following error: "Something went wrong on our end. Please try again." ♂️ Types are built to enforce this, consumer is made to pass both, not just one. # Test Plan Tests will be carried out today in the Qeepsake application to verify these values are being passed through to the Google Play webhook. # Checklist - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`). - [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin).
show more ...
[eslint-config] remove `arrowParens` overwrite, reformat files (#14232)
[iap][android] getPurchaseHistoryAsync accepts map of options (#13942)* [iap][android] getPurchaseHistoryAsync accepts map of options * Update packages/expo-in-app-purchases/CHANGELOG.md Co-a
[iap][android] getPurchaseHistoryAsync accepts map of options (#13942)* [iap][android] getPurchaseHistoryAsync accepts map of options * Update packages/expo-in-app-purchases/CHANGELOG.md Co-authored-by: Expo CI <[email protected]> * update changelog and docs * Update docs/pages/versions/unversioned/sdk/in-app-purchases.md * Storekit- StoreKit * yarn build after merge Co-authored-by: Expo CI <[email protected]>
[IAP][android] Upgrade Google Play Billing dependency (#13884)* upgrade android native lib * fixes following upgrade * back to productId * changelog * cleanup queryPurchases * Update
[IAP][android] Upgrade Google Play Billing dependency (#13884)* upgrade android native lib * fixes following upgrade * back to productId * changelog * cleanup queryPurchases * Update packages/expo-in-app-purchases/android/src/main/java/expo/modules/inapppurchases/BillingManager.java * Update packages/expo-in-app-purchases/CHANGELOG.md Co-authored-by: Expo CI <[email protected]> * Update apps/native-component-list/src/screens/InAppPurchases/InAppPurchases.tsx * no need to declare separate BillingFlowParams.SubscriptionUpdateParams * use purchaseToken, not old sku (oops) * run queryPurchasesAsync in parallel * small fixes * error message and use Sets * check both billing results for error * move aggregateBillingResults out of Runnable * purchaseItemAsync now accepts old purchase token instead of old sku * changelog * add test for replacing old sub with a new one * rebuild package after rebase Co-authored-by: Expo CI <[email protected]>
[in-app-purchase] update types (#13104)# Why avoid using `as InAppPurchase` or `as IAPItemDetails `, since its type should be known already when calling corresponding methods # How ```diff
[in-app-purchase] update types (#13104)# Why avoid using `as InAppPurchase` or `as IAPItemDetails `, since its type should be known already when calling corresponding methods # How ```diff - export interface IAPQueryResponse { + type QueryResult = InAppPurchase | IAPItemDetails; + export interface IAPQueryResponse<TResult extends QueryResult = QueryResult> ``` no breaking changes introduced. # Test Plan works locally and ncl example seems fine with it
[ncl] Fix lint warnings (#10443)# Why Let's make NCL a top-notch application, always tidy etc. # How - configured ESLint for NCL - fixed all warnings automatically - changed manually all
[ncl] Fix lint warnings (#10443)# Why Let's make NCL a top-notch application, always tidy etc. # How - configured ESLint for NCL - fixed all warnings automatically - changed manually all `React.Component<object, …` that ESLint "automatically fixed" to `<{}` as per https://github.com/expo/expo/pull/10229#discussion_r490961694 # Test Plan `yarn lint` no longer warns about warnings.
[ncl] Fix most of the TS errors adding types (#10229)# Why NCL is full of errors. # How Went through all of them and fixed them as it made sense in my opinion. # Test Plan TS no long
[ncl] Fix most of the TS errors adding types (#10229)# Why NCL is full of errors. # How Went through all of them and fixed them as it made sense in my opinion. # Test Plan TS no longer complains that much.
[In App Purchases] Don't query purchase history in connectAsync (#8577)* [IAP] Don't query history when initializing connection * Update IAP screen in NCL to reflect new API for connectAsync
Add expo-in-app-purchases to bare-expo and native-component-list (#7540)* Added expo-in-app-purchases to bare-expo and native-component-list * Update BasePackageList.java * Update EXSQLite.h
Add expo-in-app-purchases to bare-expo and native-component-list (#7540)* Added expo-in-app-purchases to bare-expo and native-component-list * Update BasePackageList.java * Update EXSQLite.h * Update EXSQLite.h * revert sqlite * Update README.md