FLUTTER ECOSYSTEM

square/in-app-payments-flutter-plugin

Square 应用内支付 SDK 的 Flutter 插件

in-app-payments-flutter-plugin 项目封面
Stars
341
Forks
135
最近推送(UTC)
2026年9月16日
项目状态
未归档
Square GitHub avatar
GITHUB Organization

Square ↗

语言Objective-CDartJavaSwiftRubyKotlin

技术话题

此仓库发布的插件

使用的依赖

依赖清单 8 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Flutter plugin for In-App Payments SDK

build Pub

The Flutter plugin for Square In-App Payments SDK is a wrapper for the native Android and iOS SDKs and supports the following native In-App Payments SDK versions:

  • iOS: 1.6.7
  • Android: 1.6.9

Additional documentation

In addition to this README, the following is available in the flutter plugin GitHub repo:

Build requirements

Flutter
  • Flutter version 3.44 or higher (required for the Swift Package Manager iOS integration)
  • Dart version 3.12 or higher
Android
  • Android minSdkVersion is API 28 (Android 9).
  • Android Target SDK version: API 36 (Android 16).
  • Android SDK build tools: 26.0.3
  • Android Gradle Plugin: the plugin inherits your app's version (the plugin build uses the Gradle Kotlin DSL).
  • Support library: 27.1.1
  • Google Play Services: 16.0.1
  • Google APIs Intel x86 Atom_64 System Image
iOS
  • Xcode version: 16 or greater (required for Swift Package Manager).
  • iOS Base SDK: 14 or greater.
  • Deployment target: iOS 14.0 or greater.
  • iOS integration uses Swift Package Manager (SPM), which Flutter 3.44 enables by default. CocoaPods is still supported and needs no Podfile changes.
  • This plugin will work on Mac with Intel processor and Apple silicon chips.

In-App Payments SDK requirements and limitations

  • In-App Payments SDK cannot issue refunds. Refunds can be issued programmatically using the Refunds API or manually in the Square Dashboard.

Sample applications

License

Copyright 2019 Square Inc.

Licensed under the Apache License, Version 2.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.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.