-1

I want to make a mobile app, but I app very new to the field. I am looking for what language I should go for. I know that iOS supports Swift and Objective-C. Android supports a range of languages, but Kotlin or Java are best. However, it seems that C# is supported on both iOS and Android (but I can't find a solid statement). I am also open to (free) converters. In terms of the app, I have these requirements:

  • Make HTTP/HTTPS requests
  • Text rendering
  • Basic Audio Capabilities
  • Image Rendering
  • Buttons (optional)

What would be the optimal language? I don't want an opinion as much as I want a simple list. If there is no such language that supports both systems, what would be the easiest two languages to port between? Thanks in advance!

SimplyDev
  • 90
  • 2
  • 11
  • I've not used it myself, but something called [dart](https://dart.dev/multiplatform-apps) could be one possibility for the cross-platform development. – Paul T. Aug 18 '22 at 01:48

4 Answers4

3

Let prefer Flutter framework (Dart language), by Google. It is quite similar with web development but support multi platforms.

https://flutter.dev/

imdungnguyen
  • 216
  • 1
  • 3
  • 14
  • Thanks, I'm looking into it right now! Also, I am not accepting your answer yet as I don't want to close it yet. – SimplyDev Aug 18 '22 at 01:53
3

Generally speaking, there are 3 popular options, with widespread use and community support:

  1. Flutter framework (uses Dart)
  2. React Native (uses JS)
  3. Kotlin Multiplatform (business logic in Kotlin, UI can be drawn natively for the platform)

If you're still not satisfied with these frameworks, other options would be:

  1. Xamarin (uses .NET/C#)
  2. Ionic (uses JS)
Abhinav Mathur
  • 7,791
  • 3
  • 10
  • 24
  • It seems that across all answers, flutter is the best! – SimplyDev Aug 18 '22 at 23:51
  • @SimplyDev if you've accepted the answer that has suggested _only_ Flutter, you haven't understood the point. Flutter is not the best. – Abhinav Mathur Aug 19 '22 at 03:10
  • Yes, I have accepted your answer. But I concluded to that because across all answers, Flutter was the common one. It was a bad choice on words to say 'best', I simply meant it was the most agreed one. – SimplyDev Aug 19 '22 at 03:25
  • @SimplyDev even React Native is almost as popular as Flutter, but both have important differences. Understanding the use case and target audience becomes crucial before settling on one (unless it's a pet programming project) – Abhinav Mathur Aug 19 '22 at 03:30
  • Thanks for the advice. However, speaking of React Native, I have a question; From what I know, React or other variants(React Native) are usually for web development. Are you using a converter or does React Native naturally support mobile apps? – SimplyDev Aug 20 '22 at 00:49
  • @SimplyDev [here](https://www.akveo.com/blog/how-does-react-native-work) is a good article on this. It basically uses a 'bridge' to natively render the JavaScript components. – Abhinav Mathur Aug 20 '22 at 04:39
1

There are two good cross platforms for developing application on both ios and android

  • Flutter
  • KMM (kotlin multiplateform mobile)

Flutter uses dart language and KMM uses Kotlin language for development.

flutter is evolving rapidly while KMM is getting attraction of developers after the release of android jetpack compose.

Tariq Hussain
  • 409
  • 1
  • 5
  • 19
0

It is also possible to use c++ both for Android and iOS.

Meanwhile most of the code can be shared between different platforms, there could be platform specific differences; like hardware accelerated graphics, permission handling or file handling.

Starting points:

zerocukor287
  • 555
  • 2
  • 8
  • 23