Is It Possible to Build Native Apps for Desktop and Mobile from a Single Project?

0
13
Asked By CreativeNinja42 On

I'm looking to create a native application that can run on Windows, MacOS, Android, and iOS. Is it realistic to develop a single project that caters to all these platforms? I know Electron is not suitable for mobile, and while React Native doesn't seem to offer great desktop capabilities, I've heard that Flutter can handle everything. Still, I have my doubts about Flutter's current status. I'm leaning towards creating a separate desktop app with Electron and another mobile app with React Native. What do you all think?

5 Answers

Answered By TechieExplorer88 On

There are several frameworks you could consider! Flutter is one of them, and it works well for both mobile and desktop. Kotlin Multiplatform with Compose is another great choice, along with QtFramework and JavaFX. If you're open to web apps, Websites or PWAs might also meet your needs. React Native can handle this too but the setup for Windows and Mac is a bit tricky right now. Personally, I'd lean toward Flutter or Kotlin Multiplatform for this project.

Answered By CodeWizard99 On

You might want to give .NET MAUI a shot; it targets all the platforms you mentioned. Here's the link for more details: [https://dotnet.microsoft.com/en-us/apps/maui](https://dotnet.microsoft.com/en-us/apps/maui). It could be a solid option for your project!

Answered By PragmaticDev28 On

Keep in mind that desktop and mobile environments are quite different. Mobile screens are fixed-sized, while desktops can resize. Mobile relies on touch input, whereas desktops use a mouse and keyboard. There's also the issue of access to files and locations—desktop apps usually have more access to the filesystem than mobile ones. Balancing these differences can make it tricky to develop a more complex app that works seamlessly across both.

Answered By RustyCoder22 On

Check out Tauri if you want to develop using Rust or TypeScript! It's a nice alternative that might suit your needs.

Answered By FlutterFanatic14 On

We've been using a single Flutter codebase for our SCO/PoS App, and it runs on both Windows and Android. We could build it for Linux and macOS as well, but no one has asked for it yet! So far, it's been working well for us.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.