Engineering

Native, not wrapped: the Kotlin and SwiftUI Apirex wrote for Streakly

A wrapped app is a website in a phone frame. Here is the proof Streakly is not one: Kotlin and Jetpack Compose files, a real Gradle build, SwiftUI and an Xcode BUILD SUCCEEDED.

Apirex Team1 December 20266 min readAndroidiOSWeb
Native, not wrapped: the Kotlin and SwiftUI Apirex wrote for Streakly
On this page
  1. How to spot a wrapper
  2. Android: Kotlin and Jetpack Compose
  3. iPhone: Swift and SwiftUI
  4. Web: React, and honestly a website
  5. What native needs
  6. The numbers
  7. Frequently asked questions
  8. Try it

A wrapped app is a website in a phone frame: one web page inside a WebView, packaged so it can be installed. It can look fine in a screenshot. It usually feels different the moment you scroll or press Back.

Apirex does not do that for phones. Android projects are Kotlin with Jetpack Compose. iPhone projects are Swift with SwiftUI. On 30 November 2026 we built the same habit tracker, Streakly, both ways on an Apple Silicon Mac, plus a website for it. This post shows the files, the build logs and the running apps, and is honest about the one part that is supposed to be web.

How to spot a wrapper

  • Scrolling and touch. Native lists use the platform's own scroll physics. A WebView scrolls like a browser page, and you can often select text or see a page bounce where an app would not.
  • System navigation. On Android the back gesture should move between screens of the app, not reload a page. On iPhone, sheets, tab bars and swipe-back should behave like every other app.
  • The project itself. A wrapped app has one WebView screen and a folder of HTML. A native project has Kotlin or Swift source files, a Gradle or Xcode project, and a build that compiles them.
  • Store review. Apple's App Review Guidelines (4.2, minimum functionality) push back on apps that are just a repackaged website.

The third point is the one you can check in two minutes, so that is where the proof starts.

Android: Kotlin and Jetpack Compose

Open the Code tab on the Android Streakly project and you get a Gradle project, not a web folder: .gradle, app, gradle with its wrapper, build.gradle.kts, gradle.properties and settings.gradle.kts. The status bar of the editor reads Kotlin. settings.gradle.kts names the project "Streakly" and includes the :app module.

Apirex Code tab showing the Streakly Android Gradle project tree and settings.gradle.kts in Kotlin
The Code tab on Streakly: a Gradle project, with settings.gradle.kts open and a Download codebase button under the tree.

The dependency list is the clearest sign of what kind of app this is. gradle/libs.versions.toml pulls in the Jetpack Compose BOM, compose-ui, compose-foundation, compose-material3, activity-compose, navigation-compose, the lifecycle libraries and Room for storage, plus the Android application plugin, the Kotlin Android and Kotlin Compose plugins and KSP. There is no WebView library in it.

libs.versions.toml in the Apirex Code tab listing Jetpack Compose, Material 3, Navigation Compose, Lifecycle and Room for the Streakly Android app
libs.versions.toml for Streakly: Compose BOM 2024.12.01, Material 3, Navigation Compose, Lifecycle and Room 2.6.1.

The source files are Kotlin, and you can watch them being written in the details panel: Theme.kt, AppIcons.kt, Motion.kt, Data.kt, StreakCalc.kt, HabitRepository.kt, a StreakCalcTest.kt unit test and HabitViewModel.kt first. Then two writers worked in parallel on TodayScreen.kt, AddHabitScreen.kt, HabitDetailScreen.kt and StatsScreen.kt while Apirex wrote AppNavHost.kt and MainActivity.kt. In total the run wrote 27 files and made 1 edit.

Apirex details panel listing Kotlin files written for the Streakly Android app: Theme.kt, StreakCalc.kt, HabitRepository.kt and HabitViewModel.kt
Kotlin files as they were written, before the screens went to two parallel writers.

Then Gradle compiled it on our Mac. The log reads "BUILD SUCCESSFUL in 3m", 37 tasks executed, followed by ANDROID_APK_VERIFIED. Later we asked for Android lint as well: no errors and 32 warnings, and the debug build still succeeded. This build passed first time; when a build fails, Apirex reads the log, fixes the files and builds again.

Apirex build log showing the Streakly Android Gradle build successful in 3 minutes and the APK verified
A real Gradle build on our own Mac: BUILD SUCCESSFUL in 3m, APK verified.

The APK then installed into the built-in Android emulator and opened. The built-in emulator runs on Apple Silicon Macs with macOS 13 or later. It is a full Android device: rotate it, use Home, Back and Recents, and the app behaves like any app on the phone.

Streakly running in the Apirex built-in Android emulator on an Apple Silicon Mac next to the chat that built it
Streakly in the built-in Android emulator: Compose screens, Room data on the device.

iPhone: Swift and SwiftUI

iPhone projects use Apple's own tools on your Mac. On our first iOS project the Local Agent printed "Xcode 27.2 detected at /Applications/Xcode.app, preparing only the iPhone tools" and fetched the matching iOS Simulator runtime, 8.32 GB, once.

Apirex Local Agent detecting Xcode 27.2 on a Mac and downloading the iOS Simulator runtime
Xcode on your own Mac, found by the Local Agent.

Apirex then wrote nine Swift files: Theme, Models, HabitStore, Components, StreaklyApp, TodayView, AddHabitView, HabitDetailView and StatsView. The Stats screen uses Swift Charts, the icons are SF Symbols, and the data is a Codable JSON file on the device. Each file opens with its diff in the details panel.

Apirex details panel listing Swift files written for the Streakly iPhone app with StreaklyApp.swift open
SwiftUI source as it was written, with StreaklyApp.swift open.

xcodebuild ran on our Mac and printed "** BUILD SUCCEEDED **" at 7 minutes 10 seconds, on the first pass. Apirex booted the Simulator, installed the app and opened it: an iPhone 18 Pro on iOS 27.2, streamed into the builder. On the Simulator home screen Streakly sits next to Fitness, Reminders and Files with the icon Apirex generated, because it is an iPhone app like those.

The Streakly app icon on the iOS Simulator home screen next to Apple apps
A real iPhone app on the Simulator home screen, wearing its generated icon.

Web: React, and honestly a website

Native matters on phones. On the web, the right answer is a website, so that is what Apirex builds: React and Vite with TypeScript, in a folder on your computer. Our third Streakly project was a landing page for the app, built in 4 minutes 36 seconds and published on an apirex.app address. It does not pretend to be the phone app; it shows the app and points people to it.

The Streakly promo website, a React and Vite project, in the Apirex web preview
The Streakly website: React + Vite, TypeScript, and a website on purpose.

Each platform is its own project with its own source. Apirex does not convert an Android app into an iPhone app or a website; you describe the app, pick the platform, and it writes that platform's code.

What native needs

  • Android: you do not need to install Android Studio or the Android SDK yourself. The Local Agent gets the Android tools and packages the project needs, and reuses them for later projects.
  • Android preview: the built-in Android emulator needs an Apple Silicon Mac with macOS 13 or later. On Windows, Linux and Intel Macs, Android apps still build in full; test them on a real Android phone (USB, APK download, or QR link in beta) or your own emulator.
  • iPhone: a Mac with Xcode installed. The first iOS project fetches the Simulator runtime once; ours was 8.32 GB.
  • Web: any computer that can run the Local Agent on macOS, Windows or Linux.

The numbers

The three Streakly projects, built on 30 November 2026 on an Apple Silicon Mac.
AndroidiPhoneWeb
LanguageKotlinSwiftTypeScript
UIJetpack Compose, Material 3SwiftUI, Swift ChartsReact
Build toolGradlexcodebuildVite
Build resultBUILD SUCCESSFUL in 3mBUILD SUCCEEDED at 7:10Published on apirex.app
Build time9 minutes 24 seconds8 minutes 17 seconds4 minutes 36 seconds
Cost6.94 Rex Credits3.83 Rex Credits4.41 Rex Credits

Frequently asked questions

Is an Apirex Android or iPhone app a WebView?

No. Android apps are Kotlin with Jetpack Compose, compiled by Gradle. iPhone apps are Swift with SwiftUI, compiled by xcodebuild. Streakly's Android dependencies list Compose, Material 3, Navigation Compose and Room, and no WebView library.

Can I open the project in Android Studio or Xcode?

Yes. The project is a normal folder on your computer: a Gradle project for Android and an Xcode project for iPhone. You can also download the codebase from the Code tab.

Which Android APIs and Jetpack libraries can Apirex use?

It is a normal Kotlin project, so it can use the Android SDK and Jetpack libraries like any Android app. Streakly uses Compose, Material 3, Navigation Compose, Lifecycle and Room. Ask for what your app needs in the prompt.

Do I need a Mac to build iPhone apps?

Yes, a Mac with Xcode, because Apple builds use Apple's tools. Android and web projects also work on Windows and Linux; the built-in Android emulator needs an Apple Silicon Mac with macOS 13 or later.

Do I need to install the Android SDK?

No. The Local Agent downloads the Android tools and packages a project needs, once per computer. Android Studio is optional, for when you want to open the project yourself.

Is the code mine?

Yes. It is written into a folder on your own computer, and you can open it, change it, commit it or move it anywhere.

Try it

Pick Android or iOS, describe the app, and open the Code tab when it is done. Look for the Kotlin or Swift files yourself. Your code. Your machine. Your build.

Build a website for your app with AI: a landing page for Streakly from one prompt, built in 4 minutes 36 seconds

Build it on your own computer

Describe the app and Apirex writes real source you own, then builds it on your machine.

Streakly, a Kotlin and Jetpack Compose app, running in the Apirex built-in Android emulator on an Apple Silicon MacReal Android result from this post

Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.