NativeScript / NativeScript/plugins
[@nativescript/geolocation] iOS - This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the `-locationManagerDidChangeAuthorization:` callback and checking `authorizationStatus` first.
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 123
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
説明
CoreLocation - This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.
Has Apple changed something that means it doesn't like this Library anymore?
In my application my Info.plist looks like this
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Tracks your location and delivery accuracy</string>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
I am using @nativescript/geolocation 9.0.0
Is there a plan to move this off the main thread? or can I do something to ensure it doesn't execute on the main thread?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、@nativescript/geolocation の iOS 実装と、警告で言及されている CoreLocation の認証呼び出しを見つけます。その動作を locationManagerDidChangeAuthorization コールバックおよび authorizationStatus の確認と比較します。警告に対処しつつ、位置情報の権限処理を壊していなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, typescript
- 領域
- mobile-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100