@tokamakdev/plugin 0.1.0-beta.84 → 0.1.0-beta.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,11 +59,11 @@ so only calls that would show UI fail:
|
|
|
59
59
|
activity `requireForegroundActivity()` returns, which throws `NeedsUIError`
|
|
60
60
|
in the background; `authenticateOwner` uses it. `isInForeground` reports the
|
|
61
61
|
app's stage.
|
|
62
|
-
- **Apple:** `requireUI()` throws `NeedsUIError` on iOS while
|
|
63
|
-
the
|
|
64
|
-
UI would appear, such as before
|
|
65
|
-
authorization is not determined.
|
|
66
|
-
prompts, so it never throws there.
|
|
62
|
+
- **Apple:** `requireUI()` throws `NeedsUIError` on iOS while the app is in
|
|
63
|
+
the background. Call it on the main thread where the plugin decides to show
|
|
64
|
+
UI, and only when the UI would appear, such as before
|
|
65
|
+
`requestWhenInUseAuthorization` while the authorization is not determined.
|
|
66
|
+
A hidden macOS app still shows system prompts, so it never throws there.
|
|
67
67
|
|
|
68
68
|
## Worker events
|
|
69
69
|
|