Skip to content

Missing consumer-rules.pro #3418

@pascalauroboa

Description

@pascalauroboa

Describe the bug

The NFC and Barcode scanner plugin refer to a proguard file that is not present in the source code. I am not sure if this is generated during build time but it is not shipped in the resulting crate.
onsumer-rules.pro

I am unsure if there are other plugins affected. Using more modern android toolchains (gradle 9) will refuse to compile since the files can not be found.

Reproduction

No response

Expected behavior

A consumer-rules.pro should be present in the downloaded crate or at least during build time.

Full tauri info output

[✔] Environment
    - OS: Ubuntu 24.4.0 x86_64 (X64) (ubuntu on wayland)
    ✔ webkit2gtk-4.1: 2.52.3
    ✔ rsvg2: 2.58.0
    ✔ rustc: 1.94.0 (4a4ef493e 2026-03-02)
    ✔ cargo: 1.94.0 (85eff7c80 2026-01-15)
    ✔ rustup: 1.26.0 (2026-04-20)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 24.14.1
    - npm: 11.11.0

[-] Packages
    - tauri 🦀: 2.10.3, (outdated, latest: 2.11.1)
    - tauri-build 🦀: 2.5.6, (outdated, latest: 2.6.1)
    - wry 🦀: 0.54.4, (outdated, latest: 0.55.1)
    - tao 🦀: 0.34.8, (outdated, latest: 0.35.2)
    - @tauri-apps/api  ⱼₛ: not installed!
    - @tauri-apps/cli  ⱼₛ: 2.10.1 (outdated, latest: 2.11.1)

[-] Plugins
    - tauri-plugin-barcode-scanner 🦀: 2.4.4
    - @tauri-apps/plugin-barcode-scanner  ⱼₛ: 2.4.4
    - tauri-plugin-os 🦀: 2.3.2
    - @tauri-apps/plugin-os  ⱼₛ: 2.3.2
    - tauri-plugin-log 🦀: 2.8.0
    - @tauri-apps/plugin-log  ⱼₛ: not installed!
    - tauri-plugin-nfc 🦀: 2.3.5
    - @tauri-apps/plugin-nfc  ⱼₛ: 2.3.5

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:5173/
    - bundler: Vite

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions