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
211
stars
136
forks
source link
Not able to integrate mobile buy sdk in android project with java or kotlin #723
[ ] 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()
this code available on github with old sdk
after integration sdk not able define client or make query
No client Found:
[ ] 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() this code available on github with old sdk
after integration sdk not able define client or make query
Version of the SDK are you using: 13.0.0