x

Implementing Square Reader SDK in person payments in Flutter/ Dart for IOS

Hello,

 

We are trying to implement Square Reader in-person payments in our mobile app developed in Flutter/ Dart.

we followed below link to get going:

https://github.com/square/reader-sdk-flutter-plugin/blob/master/doc/get-started.md

 

We have setup two applications in square one for staging environment and another for prod environment. We have also enabled repository credentials for both apps. 

 

My application details:

Mobile app in Flutter/ dart

Embedded Square reader sdk xc framework in Xcode using staging app credentials as listed in step:

Download and configure the latest version of SquareReaderSDK.xcframework in your project root by replacing YOUR_SQUARE_READER_APP_ID and YOUR_SQUARE_READER_REPOSITORY_PASSWORD with your Reader SDK credentials.

The command below will download the framework into the current directory. The framework must be in either the ios directory or the ios/Frameworks directory of your Flutter project.

ruby <(curl https://connect.squareup.com/readersdk-installer) install \
--app-id YOUR_SQUARE_READER_APP_ID                                    \
--repo-password YOUR_SQUARE_READER_REPOSITORY_PASSWORD

Square reader sdk works okay on my mobile app in IOS emulator but crashes on actual physical device (Ipad).  

                                      

I have the following questions:

1: How to apply prod repository credentials? The confusion is when installing the framework we are supplying staging credentials. so do I need to un-install the framework and re-install it with prod repo credentials?

2: On the physical device (Ipad), where the user will be using a Square Reader, do we need to install any additional software from Square? 

 

Happy Thanksgiving!

344 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

Hey @Sureshg,

 

This looks like a question for our Developer Forum, which you can find here

296 Views
Message 2 of 2
Report