Skip to content

7.0.4

Latest

Choose a tag to compare

@douglasjunior douglasjunior released this 03 Dec 13:28
· 1 commit to master since this release
6a62b05

What's changed

iOS fixes

  • No unexpected permission prompt when an "Allow Once" grant expires mid-request (#80, #81). Every authorization callback of a pending request asked for authorization again when the status was NotDetermined. When a temporary "Allow Once" grant expired while a request was waiting for a fix (app sent to the background, then brought back before the timeout), the system permission prompt appeared without the app asking for it. Now:
    • Each request shows the permission prompt at most once. A repeated NotDetermined callback while the prompt is showing no longer shows a second prompt.
    • If the grant is revoked after the request started, the request rejects with UNAUTHORIZED right away, instead of prompting again.

Thanks to @IjzerenHein for the report and for verifying the fix with a reproduction app.

Error codes, messages and the public API are unchanged.