Skip to content

fix(ios): use userInitiated QoS when requesting location authorisation - #112

Merged
OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-5656/ios-permission-qos
Nov 16, 2026
Merged

OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-5656/ios-permission-qos

Conversation

@OS-pedrogustavobilro

Copy link
Copy Markdown
Contributor

Fixes #105

The issue describes the situation in detail.

Related Jira ticket: https://outsystemsrd.atlassian.net/browse/RMET-5656

I tested using the example app in this repository, I didn't notice much speed improvement across multiple runs (maybe slightly quicker with userInitiated) even when turning on Low Power Mode on an physical iPhone, but it doesn't hurt this change, and according to apple docs https://developer.apple.com/documentation/dispatch/dispatchqos, userInitiated does make more sense for location check before trying to request location permission system UI.

@OS-pedrogustavobilro
OS-pedrogustavobilro requested review from a team and andredestro and removed request for a team November 13, 2026 17:40
@OS-pedrogustavobilro
OS-pedrogustavobilro merged commit 41afa83 into main Nov 16, 2026
8 checks passed
@OS-pedrogustavobilro
OS-pedrogustavobilro deleted the fix/RMET-5656/ios-permission-qos branch November 16, 2026 13:38
capacitor-bot pushed a commit that referenced this pull request Nov 17, 2026
# [9.0.0-next.5](v9.0.0-next.4...v9.0.0-next.5) (2026-11-17)

### Bug Fixes

* **android:** use bridge.registerForActivityResult for Fragment compatibility ([#104](#104)) ([6a171fe](6a171fe))
* **ios:** use `userInitiated` QoS when requesting location authorisation ([#112](#112)) ([41afa83](41afa83))
capacitor-bot pushed a commit that referenced this pull request Nov 17, 2026
## [8.2.5](v8.2.4...v8.2.5) (2026-11-17)

### Bug Fixes

* **ios:** use `userInitiated` QoS when requesting location authorisation ([#112](#112)) ([41afa83](41afa83))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS: permission prompt can be delayed by tens of seconds because requestLocationAuthorisation runs on a .background QoS queue

2 participants