搜索插件、代码仓与 APP 分类

插件详情v11.0.1

purchases_flutter

Flutter 内购和订阅变得简单。该插件支持 iOS、macOS 和 Android。

AndroidiOSWebmacOS
近 30 天下载
66.8万
喜欢数
924
Pub 分数
140

安装插件

flutter pub add purchases_flutter

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Purchases Flutter 是一个全面的内购和订阅管理解决方案,适用于 Flutter 应用程序,支持 iOS、Android、macOS 和 Web。它简化了订阅模型的集成,处理复杂的后端逻辑,如权限授予、计费和用户访问。该插件提供跨平台的统一 API,使开发者能够以最少的代码管理订阅、跟踪用户状态,并支持多种定价层级。由 RevenueCat 构建,确保行为一致并符合各平台的特定规则。

适合场景

  • 管理应用内订阅
  • 处理一次性购买
  • 实施分级定价
  • 支持跨平台订阅
  • 启用用户授权
  • 跟踪订阅生命周期

主要特点

  • 跨平台统一 API
  • 自动订阅管理
  • 权限和访问控制
  • 支持 iOS、Android、macOS 和 Web
  • 实时用户状态更新
  • 与 RevenueCat 后端集成

适合对象

  • 具有订阅模式的应用程序
  • 需要应用内购买的电子商务应用
  • 基于内容的服务(例如媒体、教育)
  • 跨平台移动应用
  • 寻求简化计费逻辑的开发者

使用建议

  • 需要设置 RevenueCat 账户
  • 依赖外部后端服务
  • 无需额外配置即可进行有限的自定义
  • 可能需要额外的 SDK 设置才能使用高级功能
  • 特定于平台的行为可能需要测试

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

RevenueCat

pub package

purchases_flutter

purchases_flutter is a client for the RevenueCat subscription and purchase tracking system. It is an open source framework that provides a wrapper around StoreKit, Google Play Billing and the RevenueCat backend to make implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included!

Features

RevenueCat
✅ Server-side receipt validation
➡️ Webhooks - enhanced server-to-server communication with events for purchases, renewals, cancellations, and more
🎯 Subscription status tracking - know whether a user is subscribed whether they're on iOS or Android
📊 Analytics - automatic calculation of metrics like conversion, mrr, and churn
📝 Online documentation and SDK Reference up to date
🔀 Integrations - over a dozen integrations to easily send purchase data where you need it
💯 Well maintained - frequent releases
📮 Great support - Help Center

Installation

To use this plugin, add purchases_flutter as a dependency in your pubspec.yaml file.

Requirements

purchases_flutter requires Xcode 14.0+ and minimum targets iOS 13.0+/Android SDK 21+ (Android 5.0+).

SDK Reference

Our full SDK reference can be found here.

Getting Started

For more detailed information, you can view our complete documentation at docs.revenuecat.com.

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

所在榜单