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 137 forks source link

SDK Relies On Undocumented Dependencies #627

Open cocoahero opened 4 years ago

cocoahero commented 4 years ago

After following the (albeit outdated) installation steps in the README, I have come across the following crash when attempting to perform a query:

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.stream.JsonReader"

This appears to be because this SDK has an undocumented dependency on the Google Gson library.

cocoahero commented 4 years ago

After digging further, it looks like the artifact published does not list any dependencies. Therefore, using things like OkHttp and Gson in this SDK will crash.

ibrahimAlii commented 3 years ago

The whole documentation is outdated ! @cocoahero see pull#681