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

iOS 27 scene-based life cycle support

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

Maintainer thường phản hồi trong vòng 24 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, objective-c, react-native
Lĩnh vực
authentication, mobile

Hướng nghiên cứu

Start with packages/react-native-app-auth/ios/RNAppAuth.m at line 377 and trace the authorizeWithConfiguration flow that references appDelegate.window.rootViewController.view.window. Build with Xcode 27, launch on an iOS simulator, and reproduce the crash. Done means the app supports the scene-based lifecycle and no longer crashes when authorization is triggered.

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

Mô tả

Issue

Starting from Xcode 27, it is required to transition to scene-based life cycle methods in order to build with iOS 27.

Currently, the app crashes because react-native-app-auth still references appDelegate.window.rootViewController.view.window here:
https://github.com/FormidableLabs/react-native-app-auth/blob/9a325ae5a06e0420a49d21e1b908c62eaa21cdb8/packages/react-native-app-auth/ios/RNAppAuth.m#L377

How to reproduce?
Build with Xcode 27 and launch the app on e.g. an iOS simulator. Trigger authorizeWithConfiguration and watch the app crash.


Environment

  • "react-native": "0.86.3"
  • Not using Expo
  • "react-native-app-auth": "8.0.3"
  • iOS only
Ngôn ngữ chính
Java
Star
2.3k
Fork
473
Merge trung bình
23 ngày 15 giờ
Pull request đã merge (30 ngày)
2

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 FormidableLabs/react-native-app-auth

Tất cả issue của FormidableLabs/react-native-app-auth

Issue tương tự

Thêm issue về Java

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.