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.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 206
- Forks
- 123
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die iOS-Implementierung für @nativescript/geolocation und den im Warnhinweis erwähnten CoreLocation-Aufruf zur Autorisierung zu finden. Vergleiche sein Verhalten mit dem locationManagerDidChangeAuthorization-Callback und der authorizationStatus-Prüfung; abgeschlossen ist die Aufgabe, wenn der Warnhinweis behoben ist, ohne die Verarbeitung der Standortberechtigungen zu beeinträchtigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, typescript
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100