tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.73k stars 2.59k forks source link

[feat] Option to generate android code as a fragment #11547

Open umesh-umesh opened 1 month ago

umesh-umesh commented 1 month ago

Describe the problem

I have an android app that is completely built on only single activity with multiple fragments. When I want to extend it with tauri generated android app, i have to have it as fragment instead of activity.

Describe the solution you'd like

Having an config option or flag to generate tauri android code as fragment instead of activity

Alternatives considered

No response

Additional context

Or is there a way i can import tauri generated android code main activity as a fragment in my native code?