plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[feat] `plugin-opener` returns a handle to close what ever was opened.

Open jonhallur opened this issue 8 months ago • 1 comments

For example with the plugin-oauth where we open an external browser window since tauri is running a disallowed_useragent on Android, it would be very smooth for the flow to be able to close the opened browser tab after the successfult redirect to localhost has been called.

jonhallur avatar Apr 24 '25 09:04 jonhallur

For desktop use you're basically asking for Commands (part of the shell plugin). Probably not that viable on mobile.

to be able to close the opened browser tab

This is impossible. For this specific example you're probably looking for custom tabs https://developer.chrome.com/docs/android/custom-tabs (out of scope for the oauth plugin for now but there's https://github.com/Dreaming-Codes/tauri-plugin-custom-tabs-manager)

FabianLars avatar Apr 24 '25 10:04 FabianLars