Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ApplePayButton doesn't appear in production

未关闭
#312 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
40/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
dart, flutter, ios
领域
mobile, payments

调研方向

从 ApplePayButton 集成开始,并在实体设备上将其 production 构建的行为与正常工作的 debug 和 development 构建进行比较。检查报告中涉及的 production entitlements 或证书;当原生 Apple Pay 按钮在 production 应用中渲染、响应点击并呈现支付界面时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Describe the bug
The ApplePayButton widget is not rendering or is unresponsive in the production build of the app. This issue, identified by the App Store review team, is preventing app submission. The button functions correctly in debug and development builds.

To Reproduce
Steps to reproduce the behavior:

  1. Add ApplePayButton to your app
  2. run the app on physical device
  3. navigate to the payment screen in the production app.
  4. the ApplePayButton widget does not appear or is not responsive to taps.

Expected behavior
Expected: The native Apple Pay button should render and, when tapped, should present the payment sheet.

Screenshots

Image

flutter doctor output
Flutter (Channel stable, 3.32.6, on macOS 15.5 24F74 darwin-arm64, locale en-DZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1)
[✓] VS Code (version 1.102.0)
[✓] Connected device (3 available)
[✓] Network resources

Additional context
The issue is exclusive to the production environment.
The app was rejected by Apple, with the specific error: "unresponsive."
The payment flow works correctly in debug and development environments. This strongly suggests a misconfiguration related to production entitlements or certificates.

主要语言
Dart
星标
180
派生
144
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google-pay/flutter-plugin 的其他 Issue

查看 google-pay/flutter-plugin 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。