Skip to content
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

Outdated Read Me Documentation #730

Open
ellisee opened this issue Sep 19, 2022 · 2 comments
Open

Outdated Read Me Documentation #730

ellisee opened this issue Sep 19, 2022 · 2 comments

Comments

@ellisee
Copy link

ellisee commented Sep 19, 2022

Hello,

I am trying to implement the Mobile Buy SDK in Android Studio for my custom app, but I cant figure out, which classes / methods I need to use now, as the documented methods don't work anymore.

For example:

GraphClient.builder(this) .shopDomain(BuildConfig.SHOP_DOMAIN) .accessToken(BuildConfig.API_KEY) .httpClient(httpClient) // optional .httpCache(new File(getApplicationContext().getCacheDir(), "/http"), 10 * 1024 * 1024) // 10mb for http cache .defaultHttpCachePolicy(HttpCachePolicy.CACHE_FIRST.expireAfter(5, TimeUnit.MINUTES)) // cached response valid by default for 5 minutes .build()

I am currently using this library in my app.build.gradle

implementation ('com.shopify.mobilebuysdk:buy3:14.0.0'){ exclude group: "com.shopify.graphql.support" }

I needed to exclude this group, as it generated duplicated classes.

Help would be very much appreciated.

@emporioreale
Copy link

Same problem here, please, it is needed documentation update.

@BigBrainBrad
Copy link

As of Feb 2023 the documentation is still for 3.2.3 and doesn't work/compile for recent versions (the current version is 15.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants