10

Porting an iOS Application to Android (and Vice Versa): Why and How?

 4 years ago
source link: https://codinginfinite.com/porting-an-ios-application-to-android-and-vice-versa-why-and-how/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Porting an iOS Application to Android (and Vice Versa): Why and How?

June 1, 2020
hardik-sharma-CrPAvN29Nhs-unsplash-770x515.jpg

It’s very common to start with just one app, usually, for iOS. Reasons differ—from testing new channels to not having enough resources to make two apps.

But once the app is doing well on the market, it’s time to expand and adapt it to another platform.

Which gives rise to some questions:

Primis Player Placeholder
vid5fdab33d81004412665740.jpg?cbuster=1608168279
10 Sec
Reddit Buys TikTok Rival Dubsmash
logo_7390.png?cbuster=1582297789
liveView.php?njs=1&ito=1&vid_event=25&serverTime=1608178133&vid_playerVer=3.1.0&s=102363&sta=0&x=730&y=500&vid_passDomain=codinginfinite.com&subId=codinginfinite.com&debugInformation=&isApp=0&userIpAddr=141.164.55.160&userUA=Mozilla%2F5.0%20%28X11%3B%20Linux%20x86_64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20HeadlessChrome%2F87.0.4280.66%20Safari%2F537.36&csuuid=5fdad9d48c8bd&contentFileId=0&mediaPlayListId=0&mediaListId=0&dur=457&gdpr=0&gdprConsent=&isWePassGdpr=1&ccpa=0&ccpaConsent=&cbuster=1608178139057&uid=SekindoSPlayer5fdad9d54b38b&pubUrl=https%3A%2F%2Fcodinginfinite.com%2Fporting-an-ios-application-to-android-and-vice-versa-why-and-how%2F&floatStatus=false
vid5fdab33d81004412665740.jpg?cbuster=1608168279
vid5fdab31a86e2d522458194.jpg?cbuster=1608168251
vid5fdab30c09e45854949931.jpg?cbuster=1608168205
vid5fd85e0a0ae71865437879.jpg?cbuster=1608015370
vid5fd1f3a24f7ec509301323.jpg?cbuster=1607594915
Arrow Left #1 IconCreated with Sketch.
Arrow right #1 IconCreated with Sketch.
  • What’s the point of porting an app?
  • What benefits does it bring?
  • What are the challenges?
  • And why not just use one of the online app converters?

Now, this is not an instruction on how to convert apps. But a guide explaining the most popular reasons for app converting—and what to pay attention to during this process.

Let’s get started.

Why Convert Apps from One Platform to Another?

There’s a bunch of reasons—be it good results you’re getting from one app or the need to grow the audience.

Basically, there are three reasons, as old as humanity itself:

  • get more users
  • get access to new markets
  • get more money

I suggest taking a more detailed look at them.

New users

By having apps for both platforms, you reach more of your target audience and make the mobile strategy more profitable.

Many businesses, especially when it comes to startups, start with a single platform—the one most of their audience uses. That’s because startups often don’t have enough money to make two native apps.

Starting with an MVP for iOS/Android is a rational and more budget-friendly decision.

According to Statcounter, Android may hold 75% of the mobile OS market share worldwide.

More wealthy markets belong to iOS, though:

  • Oceania — 53% market share
  • US — 54%
  • Canada — 53%
markets where ios dominates

You can’t ignore this if your product is aimed at one of these regions, if not all of them. And that’s not including countries where iOS takes 20-40% market share, which is also a huge part.

New markets

If you want to get access to a few more markets, you should probably have two apps for two platforms.

By converting your iOS app to Android, you may get new users from Android-loving countries like Central or Eastern Europe, Africa, Asia, or Latin America.

And vice versa: need to cover North America, Oceania, or some other local markets (like Norway, Japan, Saudi Arabia)? Convert your Android app to iOS.

operating system markets

More money

It all depends on the monetization model you’ve picked. Still, in any case, two apps can potentially bring bigger revenue than one:

  • iOS owner buy apps more often and spend more on in-app purchases
  • Android apps are downloaded more, which means better earnings from in-app advertising.

Platform’s share isn’t the only thing to pay attention to when discovering new operating systems.

There are some rules for markets like the European one. To launch an app there, you need to make sure that your iOS and Android apps are compliant with GDPR.

For Arabic markets, UI designers should adjust the interface to the Arabic language—make it go from right to left.

What to Pay Attention to When Converting Apps?

First, I don’t recommend using online app converting platforms. All you’re going to get is unstable code with tons of issues at best or not working at worst. If you’re looking for a painless solution, it’s better to hire dedicated developers.

Here I’m taking about native development: for iOS, it’s Objective-C/Swift programming, Android — Java/Kotlin.

These programming languages are official and most widely used for mobile development.

Once again: there’s no magic wand that’ll turn Swift code into Kotlin one. It takes a few skilled mobile devs to make it work.

What’s more, each programming language has its own syntax, and the time required to build the same authorization feature may slightly differ on iOS and Android.

Now, let’s see what tech and design challenges you’re going to face when porting the apps.

Adaptating to Different OS Versions

Both Android and iOS get updates every year. Here’s the problem: many users don’t or can’t update to the latest OS version.

For you, that means your app should run on the most popular OS versions. Or some percentage of users will have to quit.

Actually, if you’re converting an Android app to iOS, the situation isn’t that bad. 89% of iOS users update to the latest OS version (for now, it’s iOS 13). 9% use iOS 12 and 2% stay on an older version.

iOS OS adoption

But it’s a bit tricky with Android, so you may want to check some statistics on Android OS usage.

Almost half of all users (41%) have the latest OS version (currently, it’s Android Pie). 19% are using the previous Android version (Oreo), and the rest—Nougat, Marshmallow, or Lollipop versions.

Android OS adoption

Number of Screen Sizes and Resolutions

The next thing is adapting the app’s layout to different screen sizes and resolutions. Especially when it comes to iOS-to-Android converting.

The list of iOS screen sizes has 16 points in it. As for Android, it’s much more complicated.

There are hundreds of Android-based devices with different screen resolutions made by different manufacturers.

ios vs android screen sizes and resolutions

Android developers handle this issue by supporting different densities and adjusting the app for a few screens. Then the app will be automatically adjusted to other resolutions.

UI Design Challenges

Next stop—UI/UX design. It’s as important as the tech part (after all, it’s the first thing app users will see). But there’s another catch: Android and iOS have different design languages—flat and material.

How exactly do they differ?

Fonts

Android uses Roboto typeface, iOS—San Francisco. Both guidelines show different use cases with various sizes, letter spacings, and weights. That makes fonts look natural within a system, but it’s another headache for you.

Android vs iOS fonts

Icons

System icons also differ. They are more delicate on iOS and bolder on Android.

Android vs iOS icons

Digital files

Media assets porting—photos, videos, PDF files, docs—from one platform to another is important, too, as they have different sizes on Android and iOS.

Here’s the grid for iOS:

iOS grid

Android:

Android grid

Of course, there’s a lot more design differences between these two systems. But these are the most visible for users.

Converting apps is tricky but rewarding—you discover new markets, get more users, and earn more money.

Anyway, I advise starting with an iOS app, as many successful startups did. Instagram appeared on Android only 4 years after the launch on iOS, Airbnb spent 14 months to convert iOS app to Android. You know the results.

But the choice of the platform always depends on the target audience. Maybe in your case, Android is the best option to start with.

Don’t use app converters, code translators, and other stuff—they waste your time, nothing else. Converting an app from one platform to another requires a deep understanding of the app’s logic and good coding skills.

If you’re entrusting the task to developers—make sure to provide them with the source code, media files, and documentation.

If you’re making it yourself, pay attention to tech, and design differences between these two platforms.

Recommended Training – Treehouse

TreehouseFrom beginner to advanced, our recommended coding training is Treehouse.

Treehouse is an online training service that teaches web design, web development and app development with videos, quizzes and interactive coding exercises.

Treehouse's mission is to bring technology education to those who can't get it, and is committed to helping its students find jobs. If you're looking to turn coding into your career, you should consider Treehouse.

Disclosure of Material Connection: Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, we will receive an affiliate commission. Regardless, we only recommend products or services we use personally and believe will add value to our readers.

Advertisement


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK