PromiseKit/CoreLocation iOS 14 Compatibility Issues
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
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ios, swift
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Start by reading CLLocatioinManager+Promises and the until: method, then reproduce the authorization flow on an iOS 14 simulator with Xcode 12.2 and the CocoaPods installation described. Done means location updates do not start before authorization is granted and the promise chain does not fail prematurely.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Using PromiseKit 6.13.1 and PromiseKit/CoreLocation 6.13.1
Building with Xcode 12.2 to iOS 14 simulator and devices
PromiseKit and CoreLocation extension installed with CocoaPods
iOS 14 introduced some changes for CoreLocation that are problematic with with the current implementation of the PromiseKit CoreLocation extension.
Specifically CLLocatioinManager+Promises is using deprecated method - locationManager:didChangeAuthorizationStatus:
And, it seems because
- (AnyPromise *)until:(BOOL(^)(CLLocation *))block
- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
Both call [manager startUpdatingLocation] before authorization has been granted, didFail:withError is called and then error block is invoked in the promise chain.
So I am wondering if there is an awareness of this issue and if so if there is a plan to fix it?
- Ngôn ngữ chính
- Swift
- Star
- 14.2k
- Fork
- 1.5k
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mxcl/PromiseKit
-
Allow Serialisation of PMKArrayĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mxcl/PromiseKit#1362 · 1 bình luận · 1 reaction ·
-
CocoaPods supportĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mxcl/PromiseKit#1361 · 6 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
mxcl/PromiseKit#1356 · 3 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
mxcl/PromiseKit#1347 · 5 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
mxcl/PromiseKit#1244 · 1 bình luận · 1 reaction ·
Tất cả issue của mxcl/PromiseKit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
vorssaint/vorssaint-utils#2481 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows: `update --apply` still kills itself via `Stop-CuaDriverDaemons` (regression of #2803)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: build-and-ci bug difficulty:1 good first issue help wanted S3: minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
manaflow-ai/cmux#16193 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100