square_reader_sdk는 개발자가 Android 및 iOS 애플리케이션에 Square의 네이티브 리더 SDK를 통합할 수 있도록 해주는 플러터 플러그인입니다. 호환되는 하드웨어 리더를 통해 대면 결제를 가능하게 합니다. 이 플러그인은 플러터 앱과 Square의 안전한 결제 처리 인프라스트럭처 사이의 다리를 제공하며, 카드 스와이프, 탭 또는 삽입을 가능하게 합니다. 이 플러그인은 오픈소스이며 Square에서 유지 관리되어 새로운 기능과 보안 기준에 대한 최신 지원을 보장합니다. 모바일 앱 내에서 포인트 오브 세일 기능을 구현하는 것을 간편하게 만듭니다.
사용 사례
오프라인 소매 거래
모바일 POS 시스템
이동 중 서비스 결제
결제 수납이 포함된 이벤트 티켓팅
소규모 기업용 결제 앱
주요 기능
Square Reader 장치와의 네이티브 통합
안전한 결제 처리
Android 및 iOS 지원
오픈소스이며 활발히 유지 관리되고 있습니다
카드 읽기 작업을 위한 간단한 API
적합한 대상
Square 리더를 사용하는 소매업체
모바일 포스 앱을 개발하는 개발자
빠른 결제 통합이 필요한 스타트업
안전한 대면 결제가 필요한 기업
고려 사항
물리적 Square Reader 하드웨어가 필요합니다
올바른 Square 계정과 API 자격 증명이 필요합니다
Square에서 지원하는 결제 방법에만 제한됨
플랫폼별 설정이 필요합니다
PCI-DSS 기준 준수
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
⚠️ RETIRED — Reader SDK is no longer supported
[!CAUTION]
Reader SDK has been retired and can no longer be used to accept payments.
Reader SDK was deprecated in January 2025 and retired on December 31, 2025. This plugin no longer functions, and this repository is no longer maintained.
Square Reader SDK lets developers embed the Square checkout flow and accept
in-person payments in custom apps using Square Readers. The SDK supports
authorization, transaction processing, and Reader management.
Use Square's official Flutter plugin for Reader SDK to build in-person payment
solutions on Android and iOS.
Migration from 3.x to 4.x
Remove initialize method from onCreate method in your application class in Android portion
package <YOUR_PACKAGE_NAME>;
- import com.squareup.sdk.reader.ReaderSdk;
import io.flutter.app.FlutterApplication;
public class MainApplication extends FlutterApplication {
@Override
public void onCreate() {
super.onCreate();
- ReaderSdk.initialize(this);
}
}
If you targeting SDK 31 and above
Go to your app and add code to request BLUETOOTH_SCAN and BLUETOOTH_CONNECT permissions before
you invoke any of Reader plugin method.
How to use
The Flutter plugin for Reader SDK acts as a wrapper on the native SDKs and is
currently compatible with the following native Reader SDK versions:
iOS: 1.6.0 and above
Android: 1.7.5 and above
Try the sample app to see the plugin in action or follow the instructions in
the getting started guide to build a custom solution from scratch.
example - Root directory of the Flutter sample app (with walkthrough).
Build requirements
Flutter
Flutter version 2.0 or higher
Dart version 2.12 or higher
Android
minSdkVersion is API 24 or higher.
Android SDK platform: API 31.
Android SDK build tools: 28.0.2
Android Gradle Plugin: 3.0.0 or greater.
Support library: 26.0.2
Google Play Services: 16.0.1
Google APIs Intel x86 Atom_64 System Image
iOS
Xcode version: 10.2 or greater.
iOS Base SDK: 11.1 or greater.
Deployment target: iOS 11.0 or greater.
Reader SDK requirements and limitations
Reader SDK is only available for accounts based in the United States.
Authorization requests for accounts based outside the United States return an
error.
Reader SDK may not be used for unattended terminals. Using Reader SDK to
implement payment solutions in unattended terminals or kiosks (for example,
vending machines) is strictly prohibited.
Reader SDK requires an authorization token from the Mobile Authorization API
to connect Square Readers and accept payments.
Reader SDK only supports on-screen tipping. Digital receipts and tips can be
configured in Reader SDK. Tipping on printed receipts is not supported at this
time.
Reader SDK cannot issue refunds. Refunds can be issued programmatically using
the Refunds API or manually in the Square Dashboard.
Reader SDK is not supported in the Square sandbox. See Testing Mobile Apps
for testing recommendations.
Your version of Reader SDK must adhere to the Square SDK update policy. To
limit risk to developers and their users, Square enforces an
update policy for Reader SDK that requires developers to keep their version
of Reader SDK current.
License
Copyright2022SquareInc.
Licensed under the ApacheLicense, Version2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unlessrequired by applicable law or agreed to in writing, software
distributed under the Licenseis distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the Licensefor the specific language governing permissions and
limitations under the License.