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
211 stars 136 forks source link

Flutter with mobile-buy-sdk-android #729

Closed OsamaJaved78 closed 1 year ago

OsamaJaved78 commented 1 year ago

I have searched everywhere but could'nt find anything related to flutter and shopify documentation can anyone help me. I need to integrate shopify checkout in my Flutter App.

eternalparquet commented 1 year ago

The only solution is to use platform channels.

saladthieves commented 1 year ago

The only solution is to use platform channels.

Only if @OsamaJaved78 is willing to write the platform channel glue code for the underlying Android SDK, but I think it'd be a lot of work to do. Since Shopify uses GraphQL, I'd recommend using the GraphQL Flutter package and call the Shopify API URL directly instead.

OsamaJaved78 commented 1 year ago

The only solution is to use platform channels.

Only if @OsamaJaved78 is willing to write the platform channel glue code for the underlying Android SDK, but I think it'd be a lot of work to do. Since Shopify uses GraphQL, I'd recommend using the GraphQL Flutter package and call the Shopify API URL directly instead.

True that's a lot of work to do so i have just used Storefront Api in php and call my data from api to flutter.