ApplePayButton doesn't appear in production
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 40/100
调研方向
从 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:
- Add ApplePayButton to your app
- run the app on physical device
- navigate to the payment screen in the production app.
- 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
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google-pay/flutter-plugin 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 52/100
google-pay/flutter-plugin#342 · 1 个 reaction ·
-
Unable to load asset: "packages/pay_platform_interface/pubspec.yaml".可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 42/100
google-pay/flutter-plugin#331 ·
-
难度 4/5 3-5 天 新手友好度 52/100
google-pay/flutter-plugin#323 · 3 条评论 · 1 个 reaction ·
-
Apple Pay Bottom Sheet – Incorrect Failure Design Handling After Backend Call Using Apple Pay Token未关闭
难度 5/5 一周以上 新手友好度 25/100
google-pay/flutter-plugin#322 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 52/100
google-pay/flutter-plugin#321 · 2 条评论 · 9 个 reaction ·
查看 google-pay/flutter-plugin 的全部 Issue
相似的 Issue
-
priority: high scope: frontend type: bug
难度 2/5 1-3 小时 新手友好度 65/100
GonsiorHack/czyPrzejade#15 ·
-
fix: jaspr serve keyboard shortcuts (r/R/l/d/q) don't work on Windows可能已有人在做 @lewinpauli 今天认领。 未关闭bug
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
berkmancenter/frankly#729 ·
维护者通常 1 天内回复
-
ORM未关闭Backend SW VTA
难度 2/5 1-3 小时 新手友好度 61/100
aau-giraf/visual-tangible-artefacts#376 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复