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

Add App Check support for macOS

Đang mở
#602 0 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
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
objective-c
Lĩnh vực
authentication, desktop

Hướng nghiên cứu

Bắt đầu trong GoogleSignIn/Sources/GIDSignIn.m và theo dõi mã App Check được bảo vệ bởi TARGET_OS_IOS \u0026\u0026 !TARGET_OS_MACCATALYST, bao gồm cả đường dẫn GIDSignIn.sharedInstance.configure. So sánh các điều kiện nền tảng hiện có và xác định điểm truy cập tương thích với macOS. Hoàn tất khi các ứng dụng macOS có thể bật App Check thông qua GIDSignIn.sharedInstance.configure hoặc một phương thức tương đương.

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

Mô tả

enhancement triage

Is your feature request related to a problem you're having? Please describe.
App Check is currently not supported on macOS. The GIDSignIn.sharedInstance.configure method, which is required to enable App Check, is only available on iOS.

Looking at the source code, App Check related code is wrapped in #if TARGET_OS_IOS && !TARGET_OS_MACCATALYST, which confirms that macOS is intentionally excluded from the current implementation.

Describe the solution you'd like
Please add App Check support for macOS so that GIDSignIn.sharedInstance.configure (or an equivalent method) can be called on macOS as well.

Describe alternatives you've considered
No alternatives have been found. macOS apps are currently forced to run without App Check.

Additional context
Relevant source file: GoogleSignIn/Sources/GIDSignIn.m

#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#import <AppCheckCore/GACAppCheckToken.h>
#import "GoogleSignIn/Sources/GIDAppCheck/Implementations/GIDAppCheck.h"
// ...
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
Ngôn ngữ chính
Objective-C
Star
751
Fork
282
Merge trung bình
4 ngày 20 giờ
Pull request đã merge (30 ngày)
11

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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/GoogleSignIn-iOS

Tất cả issue của google/GoogleSignIn-iOS

Issue tương tự

Thêm issue về Objective-C

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.