I have no idea if there is something like that, but I know there are a lot of different tools to create an android app (Android studio with Jetpack compose, React Native or Flutter).

  • pr06lefs@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 day ago

    Depends. I made one in tauri and it was a good fit because I already had a web frontend and rust backend. I was able to reuse both of those with minor changes, now the same code builds the app and the web server/frontend.

    I’d probably go native if:

    • you’re only developing for android and don’t care about desktop/ios/etc…
    • UI performance is really important, like for a game
    • You want to minimize app size
    • You aren’t skilled at web front end development

    With tauri, if you need phone apis that aren’t in the toolkit already you’re going to jump through some hoops going from javascript to rust to kotlin and back again. Its a significant barrier, you’re handling serialization/deserialization of function arguments/results in 3 different languages.

      • Zelaf@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        18 hours ago

        Not necessarily. Most plugins for Tauri support being configured on the JS side of things quite well. You can achieve a total HTML/CSS/JS or using a JS framewframework with very very minimal Rust code modifications.

        I dabbled in creating a GUI for password-store with Tauri and SvelteKit and managed to create everything without barely having to touch the Rust code. Of course, if you want to optimize and make it more efficient you’d probably want to port the code over to Rust as it’d most likely be a bit speedier for some tasks but in general you can go all the way in skipping the Rust partion of things!

      • pr06lefs@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 hours ago

        If you only will use what’s in the standard tauri js api, or in the standard plugins, then technically you don’t need rust. But yeah I think if you wrote a bunch of apps in it you’d inevitably want to make your own plugins or backend code, and then you’d need rust.

        • yoru77@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          I’ve tried Tauri, and I’ve successfully built a desktop app and run a web app, however I couldn’t successfully built an android app because I need to create key.properties (I’ve no idea why it isn’t on the website) I’ll probably try something with it tomorrow

          • pr06lefs@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 hours ago

            yeah I’ve gotten android to work but its been a journey. still feels a little underdocumented and bleeding edge, but then again got it working finally. look to the examples and not the docs IMO