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:
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?