[bug] application show and hide methods doesn't work #5650
Labels
good first issue
Good for newcomers
priority: 2 medium
scope: core
Core packages of Tauri
status: backlog
Issue is ready and we can work on it
type: bug
Describe the bug
I set the allowlist config as follows:
However, it doesn't work, the error message is:
Unhandled Promise Rejection: 'app > hide' not in the allowlist (https://tauri.app/docs/api/config#tauri.allowlist)
.If I set the allowlist as follows:
It works. I think it has not set app features in the config as follows:
https://github.com/tauri-apps/tauri/blob/dev/core/tauri-utils/src/config.rs#L2149
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
› OS: Mac OS 13.0.1 X64
› Node.js: 18.6.0
› npm: 8.13.2
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.65.0
› cargo: 1.65.0
› Rust toolchain: stable-aarch64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.2.0
› @tauri-apps/api [NPM]: 1.2.0
› tauri [RUST]: 1.2.0,
› tauri-build [RUST]: 1.2.0,
› tao [RUST]: 0.15.4,
› wry [RUST]: 0.22.1,
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: