Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
214 stars 136 forks source link

Android SDK outdated #605

Closed RubensHardt closed 5 years ago

RubensHardt commented 5 years ago

Hi,

The company I'm working on has iOS and Android apps using the Mobile Buy SDK. For Android, we are using the version 3.3.2. We are having a lot of issues with the Android SDK because it's really outdated if compared to the iOS SDK. Does Shopify have any plans to update the Android SDK to match the iOS current version?

Thank you in advance, Rubens

rebeccajfriedman commented 5 years ago

We are having a lot of issues with the Android SDK because it's really outdated if compared to the iOS SDK.

Hi @RubensHardt - What functionality is outdated in the Android SDK that is present in the iOS SDK?

RubensHardt commented 5 years ago

Hi @rebeccajfriedman. The method to update all the line items at once, instead of having to remove/add/update the quantity of each item individually, having the discountApplications variable available, among other updates made recently in the iOS SDK.

rebeccajfriedman commented 5 years ago

This functionality does exist!

I suggest you clone the repo and generate javadoc locally for the buy3 module. You'll be able to find the class Storefront.CheckoutLineItemsReplacePayloadQuery (which updates all line items at once), and Storefront.CheckoutQuery.DiscountApplicationsArgumentsDefinition (which exposes discount applications on the checkout object).

I'm going to close out this ticket, but feel free to reopen it if you have any more concerns!

RubensHardt commented 5 years ago

Hi @rebeccajfriedman, I'm including the 3:3.2.3 version using gradle and I still don't have access to those methods. Have you updated the SDK in the distribution centers?

rebeccajfriedman commented 5 years ago

Are you using 3.2.3 or 3.3.2? The code is added as of 3.3.0.