Skip to content

[bug] TauriActivity and press the back button, exits the entire app. #14754

@aiHiNiHao

Description

@aiHiNiHao

Describe the bug

I am not using TauriActivity as the app's main entry point, but when I launch TauriActivity and press the back button, it not only closes the TauriActivity but also exits the entire app. However, there are no obvious crash logs in logcat. Is this an inherent mechanism of Tauri? If so, how can I modify this behavior to prevent the entire app from exiting when Tauri is closed?

Reproduction

No response

Expected behavior

No response

Full tauri info output

null

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions