Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ApplePayButton doesn't appear in production

Đang mở
#312 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
40/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
dart, flutter, ios
Lĩnh vực
mobile, payments

Hướng nghiên cứu

Bắt đầu với việc tích hợp ApplePayButton và so sánh hành vi của nó trong bản build production với các bản build debug và development đang hoạt động trên thiết bị vật lý. Kiểm tra các entitlements hoặc chứng chỉ production liên quan được nêu trong báo cáo; công việc được xem là hoàn tất khi nút Apple Pay native được hiển thị, phản hồi thao tác chạm và hiển thị payment sheet trong ứng dụng production.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Dart
Star
180
Fork
144
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google-pay/flutter-plugin

Tất cả issue của google-pay/flutter-plugin

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.