<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mirzamehdi Karimov on Medium]]></title>
        <description><![CDATA[Stories by Mirzamehdi Karimov on Medium]]></description>
        <link>https://medium.com/@mirzemehdi?source=rss-31b52dcbf3fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*67sqU2xhnqMHQWvF23_vGw.jpeg</url>
            <title>Stories by Mirzamehdi Karimov on Medium</title>
            <link>https://medium.com/@mirzemehdi?source=rss-31b52dcbf3fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:16:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mirzemehdi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[App Army guide: agentic mobile app development]]></title>
            <link>https://proandroiddev.com/app-army-guide-agentic-mobile-app-development-04b73a4dfe73?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/04b73a4dfe73</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[indie-hacking]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sat, 28 Nov 2026 13:48:54 GMT</pubDate>
            <atom:updated>2026-11-28T13:48:54.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*40c1oByyEez6rqsL4BDSLQ.png" /></figure><p><strong>App Army lets you build a mobile app by chatting.</strong> You send a message on Telegram, like “new app: a water tracker that reminds you based on your real day”, and a team of AI helpers takes it from there. They check the idea, design the screens, build the app, test it and get it ready for the App Store and Google Play. They run on a server that stays on day and night, so the work keeps going while you sleep, and they only stop to ask you when a decision is yours. It is the system we used to ship 25 apps, 3 of which were sold.</p><p>Under the hood the helpers work in Claude Code, Anthropic’s coding tool, with your own Claude account. If you would rather work in Claude Code yourself on your own computer, the same helpers come as a plugin for it.</p><p>This page covers everything, step by step: each step from idea to the week after launch, the helpers and tools behind them, what you still do yourself, and near the end how you set it up and use it day to day. Use the contents to jump to the part you need.</p><h3>The short version</h3><p>“Agentic mobile app development” is a long name for a simple idea: instead of one AI chat that you guide line by line, a group of AI helpers (we call them agents) each own one job. One plans, one builds, one checks the onboarding, one checks the paywall, one checks that the build still works, and so on. They hand work to each other and come back to you at the moments that need a person.</p><p>App Army is that group, set up for mobile apps. It is a folder of agents, playbooks (we call them skills), long expert prompts, safety checks and small command line tools. It runs in the normal Claude Code program with your own Claude account. Nothing runs on our servers.</p><p>It comes in two forms: a <strong>plugin</strong> that adds it to Claude Code in any project, and the full <strong>kit</strong> with bots you message from Telegram. This guide covers both. What each one includes and what it costs is near the end, in <a href="https://kappmaker.com/blog/app-army-complete-guide#what-you-get">the plugin and the kit</a>.</p><h4>Who it is for</h4><ul><li><strong>Developers who use Claude Code</strong> and want to ship more apps with less hand holding.</li><li><strong>Indie makers</strong> who publish small subscription apps and care about onboarding, paywalls and store listings, because that is where the money is made or lost.</li><li><strong>People who have never built an app.</strong> You paste one command or one sentence, sign in to a few websites, create the store accounts, and answer questions in plain words. You do not need to know Kotlin, Gradle or Xcode. The <a href="https://kappmaker.com/docs/first-app">first app guide</a> and the <a href="https://kappmaker.com/docs/glossary">glossary</a> are written for you.</li></ul><h4>Who it is not for</h4><ul><li>People who want an app built for them with no setup. You install, run and update it yourself. (If you want us next to you, see <a href="https://kappmaker.com/blog/app-army-complete-guide#which-one">Build With Me</a>.)</li><li>People who want a web app or a backend product. Everything here is made for phone apps.</li><li>People who expect zero review. The agents make mistakes, so you check their work before you publish or spend money. If you do not read code, check the result instead: install the build on your phone, tap through it, and read the short summary it sends before you say yes.</li></ul><h3>The journey, idea to day 7</h3><p>“New app: &lt;idea&gt;” starts the same order every time. Skipping or swapping steps is what turns a three day app into a three week one: a paywall designed before the onboarding, or code written before the design is settled, both get redone. So the order is fixed, and the worker runs it by itself.</p><p><strong>Your job is the decisions. The army does the rest.</strong> It tells you in one line when each step starts, sends one message when it ends, and only stops at the steps marked “you decide” below. Everything else runs without you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alPL_3nHxUJSxdPwgVj_Cg.png" /><figcaption>The whole journey. The marks show where it stops and waits for you.</figcaption></figure><p>The checklist plans about three working days of worker time per app. Your own time is much shorter: reading what it sends and replying, spread over those days.</p><ol><li><strong>Idea scored</strong> (you decide): Competitors, demand, price, a score. You say “go”.</li><li><strong>Name</strong> (you decide): Three names, one recommended. You pick.</li><li><strong>Design pass 1: the general look</strong> (you decide): Google Stitch and Claude Design side by side. You pick a look.</li><li><strong>Design pass 2: onboarding and paywall</strong> (you decide): Planned by two specialists, then drawn. You approve.</li><li><strong>Design pass 3: every other screen</strong>: Settings, empty, error, offline, icon, splash.</li><li><strong>Design pass 4: render and review</strong> (you decide): Every screen checked by four specialists. You say “design approved”.</li><li><strong>Set up the project</strong>: Template, rename, private repository.</li><li><strong>Product documents</strong> (you decide): A few questions, each with a suggested answer. You approve.</li><li><strong>Reuse plan</strong>: Every feature matched to one that already exists, where it can be.</li><li><strong>Build the first version</strong>: Milestone by milestone, checked against the design.</li><li><strong>Improvement pass</strong>: Starts by itself. Onboarding, paywall, look, quality, sharing, delight.</li><li><strong>Copy check</strong>: Every word in every language. No text that sounds machine written.</li><li><strong>Release check</strong>: The store rules list. It refuses while the copy check finds anything.</li><li><strong>Store listing and screenshots</strong> (you decide): Keywords, text, slides, feature graphic. You approve.</li><li><strong>Website and legal pages</strong>: Landing page, privacy, terms, search pages.</li><li><strong>Publish</strong> (you type “yes publish”): Android and iPhone, with or without a Mac.</li><li><strong>Day 7 check</strong>: Crashes, reviews, ranks, lessons.</li><li><strong>Feed the system</strong>: After every step: lessons, your rules, reusable features, new skills.</li></ol><p>Here is each step in detail.</p><h4>1. The idea is scored, with real evidence</h4><p><strong>What happens:</strong> the idea-validator agent looks up competitors on the App Store and Google Play, estimates search demand (from your keyword data if you have it, such as the Mentor keyword bank or the Astro keyword app, otherwise from how many apps rank for those words and how many reviews they have, and it tells you which it used), looks at what similar apps charge, and checks which parts the kit can reuse from features already built. It writes an idea file and a score from 20 to 100, weighted across six things: demand, willingness to pay, how weak the competition is, how much can be reused, whether it has a share moment, and whether there are store keywords it can rank for.</p><p><strong>What you get back:</strong> the score, a verdict and the biggest risk. <strong>Go</strong> means 70 or more. <strong>Park</strong> (60 to 69) means “not now, and here is what would change my mind”. <strong>Kill</strong> (under 60) comes with the reason in one sentence.</p><p><strong>Why it is better than the obvious way:</strong> the obvious way is to start building the idea you are excited about. The scorer says kill when the evidence is weak, which can save you a week of building something nobody searches for.</p><p><strong>No idea yet?</strong> Say “suggest 5 small subscription app ideas and score them”. It starts from the keyword data you have and scores each idea the same way. You can also paste research from ChatGPT, Gemini or Perplexity, or send a keyword export, and say “look at this research”. It saves it unchanged and scores every idea in it. Mentor buyers also get a backlog of about 48 ideas that are already scored (see <a href="https://kappmaker.com/blog/app-army-complete-guide#mentor">the mentor pack</a>).</p><p><strong>Games:</strong> for a game-like app, the core game is agreed with you before any design starts.</p><p><strong>You decide:</strong> “go”, or try another angle.</p><h4>2. The name</h4><p>You get three names, one recommended, and an app id (the unique name the stores use, like com.yourcompany.sprout). The worker tells you once that the app id cannot change after the first upload to a store, and asks you to confirm it before anything reaches a store. Later the store listing puts the main keyword first (“Water Tracker: Sprout”), so the name you pick here is the brand part.</p><h4>3. Design pass 1: the general look, in two tools</h4><p><strong>What happens:</strong> no code yet. The same key screens are drawn in Google Stitch (Google’s AI design tool for app screens) and in a Claude Design canvas (a design page inside your Claude account), side by side, one screen after another. You get both links and pick the look you like, or mix them (“Stitch home, canvas colours”). That tool carries the rest of the design.</p><p><strong>Why:</strong> one build round of a real app takes hours just to see a look. A design round takes minutes. Two tools give you two different starting points, and the text on these screens already comes from the copywriter, so you judge the real words. Stitch screens are made to look like a real phone app with the platform’s own controls.</p><p><strong>No Stitch key?</strong> It designs in the canvas only and tells you so.</p><h4>4. Design pass 2: the onboarding and the paywall</h4><p><strong>What happens:</strong> the onboarding is the first few screens a new user sees. The paywall is the screen that sells the subscription. The onboarding-specialist writes a plan for the first, then the paywall-conversion-specialist writes a plan for the second, both from long expert prompts (master prompts) about how good apps do this. The two plans have to agree on the hand-off from the last onboarding screen to the paywall. The screens are then drawn again in your chosen look, and both specialists review the drawn screens.</p><p><strong>Why a pass of its own:</strong> these screens decide if you earn anything. Nobody sees your paywall if the onboarding loses them first. One rule you will notice: the main button on the paywall does not show the price. The price sits on the plan cards, where people expect it.</p><p><strong>You decide:</strong> whether the onboarding and the paywall are right, in your own words (“too many screens”, “make it warmer”).</p><h4>5. Design pass 3: every other screen and state</h4><p>Then everything else, in the same look: the main flows, home in all its states, settings, empty screens, errors, no internet, permission denied, loading, the other paywall variants, share cards, the icon and the splash screen. Those are the screens where unfinished apps show it, so they are designed now and the builder does not have to guess them.</p><h4>6. Design pass 4: render and review</h4><p><strong>What happens:</strong> every screen is turned into an image at phone size and checked for text that wraps or gets cut off, buttons that are too small and colours with too little contrast. Every path through the app is walked tap by tap. Then four specialists (onboarding, paywall, look and feel, delight) review all of it in parallel, the fixes are made, and you get one sheet with every screen on it.</p><p><strong>You decide:</strong> type “design approved”. Nothing is built before you say it, and it covers the whole design.</p><p><strong>A reskin</strong> (a new app made from one of your existing apps for a different audience) skips passes 1 and 3 and keeps the old app’s style. It changes the main colour, logo, icon, splash and words. The onboarding and paywall still get passes 2 and 4, because they are the first thing the new audience sees.</p><h4>7. The project is set up</h4><p>The kit fetches the latest free KAppMaker app template, one codebase that runs on Android and iPhone, renames it to your app, makes a private GitHub repository (the online home of your app’s code, visible only to you) under your account and installs the improvement loop (switched off for now). The approved design images are saved inside the project as the reference the builders follow. You do not need to do anything here. The plugin does the same with your own stack’s starter.</p><h4>8. A few product questions</h4><p>It asks about the app in small batches of 2 or 3 questions. Each question comes with a recommended answer, so “go” is always a fine reply. From your answers it writes the product documents: what the app does, the user flow, the voice of the text, the onboarding and the paywall. <strong>You decide:</strong> “approved”, or say what is wrong.</p><h4>9. The reuse plan</h4><p>Before any code, every feature in the documents is matched against what already exists: the kit’s library of 54 features proven in shipped apps (paywalls, credits, referral links, reminders, widgets, share cards, account deletion and more); with the plugin, your own earlier apps. Each feature gets one line in the plan: “port from” a named source, or “new”. A paywall that already works in another app is ported with its known pitfalls written down, not rebuilt from zero.</p><h4>10. The first version is built</h4><p><strong>What happens:</strong> the app is built milestone by milestone against the approved design. After each built screen, the design-fidelity-reviewer compares it with the design and scores exactly what differs. After every change the build gate runs (an automatic check that the app still builds and its tests pass), and nothing is ticked until it passes. No placeholder art in the finished build: your own logo, icon and splash on both platforms, and one real output from the cheapest AI model so you see what users will see. While it builds, paid AI calls are faked so retries cost nothing.</p><p><strong>See it on your phone:</strong> “send me the APK” gets you the Android install file (the APK) in Telegram. “Send me a preview” gets you a quick browser version. An iPhone build happens only when you ask, because cloud Mac minutes cost more.</p><p><strong>Your choice, once:</strong> by default it asks you before a finished milestone goes into your app’s main branch (the version of the code you treat as the real one). If you prefer, say “remember: merge finished milestones to main without asking”, and it will, but only after a full build passes and a scan finds no passwords or keys in the code.</p><h4>11. The improvement pass starts by itself</h4><p>A first build that runs is not a finished app. So the worker does not stop there. It sends one message (“it builds, here is how it looks, starting the improvement pass”) and goes on, in this order: onboarding, paywall, look and feel, quality (bugs, no internet, empty screens), sharing and referrals, then delight and reasons to come back.</p><p>Each part starts with one deep review by the matching specialist. Every finding becomes a small to-do. Each to-do is fixed, reviewed, and only ticked when the build is green. A closing review ends the part. The onboarding, paywall and growth parts run their master prompts. It keeps going without you typing “continue”, and you hear from it at the end of each part. Say “stop” whenever you like. Work that is already saved stays.</p><p>UI work runs as a critique loop: the look and feel reviewer acts as a design director, names what makes a screen look cheap (emoji used as art, a timid type scale, flat spacing, cards with no depth), writes a fix for each issue, and checks again after the change. The bar is a screen that looks like a good app, which is a higher bar than matching the design.</p><h4>12. The copy check: no text that sounds machine written</h4><p>Copy is reviewed all along, but before release the whole app gets one sweep: every piece of text in the app, in every language, plus the store text. The copywriter agent rewrites each finding (old line, new line, why), makes the same fix in every language, and the check runs again until it comes back clean. The check flags the phrases that make text sound written by AI (slogans, teaser lines, the stock phrases every AI tool repeats), dashes in product copy, and words a new user has not learned yet, and it keeps every line inside its length limit.</p><p><strong>Why it matters:</strong> text that reads as machine made costs trust, and trust is what gets someone to pay. The rule is simple: read it out loud. If a friend would not say it like that, it gets rewritten. Passing the check is not the end. You can still send any line back with “too AI”.</p><h4>13. The release check</h4><p>The release-manager agent walks the store rules list before anything reaches a store: version and build number, signing, release notes, the privacy labels and Google Play data safety form compared with the code libraries actually in the app, screenshots per language, subscriptions, and a green release build. Everything still open lives in one list in the app, READINESS.md. The app is never called ready while that list has an open line, unless you said by name that a line can wait. The release agent writes the confirmation message. It never publishes.</p><p>The release check also runs the copy check again. If it finds a single line, that is a blocker, and the release check refuses until it is fixed.</p><p>The subscription products and the paywall provider (Adapty by default, RevenueCat if you prefer) are set up with the kappmaker command line tool instead of by hand in each store&#39;s website. Steps that only exist in a web console, like the content rating form, go into a to-do file with the answers already written for you. (The kappmaker tool is free and installs with one npm command.)</p><h4>14. Store listing, screenshots and feature graphic</h4><p><strong>The listing:</strong> the aso-specialist agent (ASO means app store optimisation, being found in store search) picks the keywords, then writes the title with the main keyword first, the subtitle, the keyword field and the description, for each language you sell in, with no word wasted by repeating it.</p><p><strong>The screenshots:</strong> the store screenshots skill does more than take screenshots. It makes store slides that sell, in this order:</p><ol><li>It looks at the top competitors’ first slides for your keywords: what everyone does, and the gap nobody fills.</li><li>It writes a storyboard for you to approve before anything is drawn. Each slide is a problem and its outcome, ordered by how big the pain is. The first three slides matter most, because they show in search results.</li><li>Captions are 2 to 5 plain words, led by the outcome, with one highlighted word. Every slide shows a real screen of the app in use, never a login or a paywall.</li><li>It renders the slides with a free composer, checks them at search result size, has a specialist review them, and translates them into every language you sell in.</li></ol><p>It also knows the store rules that get apps rejected, like any mention of price or “free” on a slide. A paid image generator is used only if you reject the free result, and only after it tells you the cost. The same skill makes the Google Play feature graphic, the banner at the top of your listing.</p><p><strong>You decide:</strong> the storyboard and the store text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D8alIrvqQPCXHZO63LBiww.png" /><figcaption>Pianolune, VisionReel, PianoSpot and PourRight</figcaption></figure><p>Store slides from four of our apps that are live today. See them all on the <a href="https://kappmaker.com/#apps">apps wall</a>.</p><h4>15. Website, legal pages and search pages</h4><p>Every app gets its own small website on hosting you control, such as free Firebase Hosting: a landing page with real app screens, outcome-led text and store badges (or “coming soon”), a privacy policy, terms of use, and the account deletion page Google Play asks for. The app, the stores and the paywall all link to these pages, so store reviewers find working links.</p><p>If you want people to find the app on Google too, the SEO site skill builds guide pages from real complaints people post (one and two star reviews of competitors, Reddit, forums, the questions Google shows), checks whether AI answer engines cite you, and reviews your search traffic each week when you ask for it (this needs your own domain and Google Search Console). When your own domain is live, another skill moves every link (site, app links, share links, store listings) to it in one go. The pages are checked for design problems and colour contrast before they go live.</p><h4>16. Publish, with your “yes”</h4><p>You get one confirmation message with the release check result and any open items. Nothing is published until you type exactly “yes publish Sprout”.</p><ul><li><strong>Android:</strong> the worker uploads the signed build to Google Play.</li><li><strong>iPhone with a Mac:</strong> the worker writes a prompt file, you open Claude Code on the Mac and say “Read IOS_PROMPT.md and follow it”.</li><li><strong>iPhone without a Mac:</strong> it rents a GitHub macOS machine for about 20 to 40 minutes per build. It tells you the cost before it starts.</li></ul><p>Then the stores review the app, which takes days and is up to Google and Apple. A personal Google Play account made after November 2023 must also run a closed test with at least 12 testers for 14 days in a row before it can go to production. Company accounts are exempt. Plan for that early.</p><h4>17. Day 7</h4><p>A week after launch the worker checks crashes, store reviews (and drafts replies), keyword ranks, installs and trials. The systems-retro agent looks at what cost the most time and writes it down as lessons, so the next app goes faster.</p><h4>18. After every step: feed the system</h4><p>At the end of each step, the worker writes back what it learned: anything put off goes on the app’s open list the same turn, a feature worth reusing becomes a ready-made feature, a prompt that worked is saved, a flow it did twice becomes a skill, a rule you stated goes into your app rules, and anything that went wrong becomes a lesson. This is how the tenth app goes faster than the first.</p><h4>Where it always waits for you</h4><ul><li><strong>The idea is scored</strong>: “go”, or another idea</li><li><strong>The name</strong>: “go” for the recommended one, or your own</li><li><strong>The general look</strong>: “1” or “2”, or what to mix</li><li><strong>Onboarding and paywall designs</strong>: “approved”, or what to change</li><li><strong>The design is finished</strong>: “design approved”</li><li><strong>The product documents</strong>: “approved”</li><li><strong>Anything that costs money</strong>: “ok” or “no”, after it states the rough cost</li><li><strong>Store storyboard and store text</strong>: “approved”, or what to change</li><li><strong>Merging finished work into main</strong>: “yes push &lt;repo&gt;” (unless you told it to merge finished milestones on its own)</li><li><strong>Publishing to a store</strong>: “yes publish &lt;app&gt;”</li><li><strong>Deleting a branch, repo or listing</strong>: a “yes” with the name spelled back</li></ul><p>It also stops when a step needs a person: a console click, a test on a real phone, a login. It asks instead of guessing.</p><h3>The 15 specialists</h3><p>You rarely call an agent by name. The session you talk to picks the right one when a task fits. You can still ask: “have the copywriter look at the onboarding text”. Reviewers write their review to a file and say ship or fix first. Only the QA reviewer can block a change. Reviewers never edit code. Only the planner (the orchestrator agent) does, so two agents never change the same file at once.</p><ul><li><strong>prompt-architect</strong>. What it checks: Your rough ask (&quot;improve the UI&quot;, &quot;make it viral&quot;) against the app&#39;s documents, plan and recent work. What you get: A clear brief: goal, what is in and out, how to know it is done. You see a 3 to 6 line &quot;here is how I read that&quot;</li><li><strong>orchestrator</strong>. What it checks: Works the plan one item at each step. What you get: The planner: does one item, asks the right reviewers, decides on their findings, runs the build gate, saves the change only when it passes</li><li><strong>idea-validator</strong>. What it checks: Competitors on both stores, search demand, prices, reusable parts. What you get: A score from 20 to 100 and a plain go, park or kill</li><li><strong>aso-specialist</strong>. What it checks: Store keywords and where the app ranks. What you get: Title, subtitle, keyword field, descriptions and captions in every language</li><li><strong>systems-retro</strong>. What it checks: How the army itself worked: failures, wasted effort, slow steps. What you get: Up to 5 numbered proposals for you to approve, and new skills for repeated work</li><li><strong>copywriter</strong>. What it checks: Every word a user reads. What you get: Text that sounds like a person, 3 options for key lines, or an old, new and why table</li><li><strong>onboarding-specialist</strong>. What it checks: The first impression: the hook, goal capture, time to value, permission and signup friction. What you get: The onboarding plan at design time, then reviews of every change to it</li><li><strong>paywall-conversion-specialist</strong>. What it checks: Paywall timing, trial framing, the main button, plan cards, fair prices per country, trust. What you get: The paywall plan, then reviews. It refuses tricks like fake countdowns or hidden cancel flows</li><li><strong>ui-ux-reviewer</strong>. What it checks: Spacing, type, colour, tap targets, small phones, dark mode, empty and error states, accessibility. What you get: Whether a screen looks premium or generic, and what to fix</li><li><strong>design-fidelity-reviewer</strong>. What it checks: A built screen against the approved design. What you get: A scored list of exact differences</li><li><strong>delight-specialist</strong>. What it checks: Haptics, motion, small animations, loading and empty screens with personality. What you get: Small touches that make the app feel finished</li><li><strong>engagement-specialist</strong>. What it checks: Streaks, milestones, celebrations, reminder timing, whether a mascot fits. What you get: Fair reasons for people to come back</li><li><strong>growth-virality-specialist</strong>. What it checks: Share cards, referrals, invites, links that open the app, when to ask for a rating. What you get: Share and invite moments that fit the app. It refuses spam and contact scraping</li><li><strong>qa-engineer</strong>. What it checks: Correctness, edge cases, offline, missing tests, build safety. What you get: The only reviewer that can block a change that would break the app</li><li><strong>release-manager</strong>. What it checks: The store rules list, privacy labels, signing, version, screenshots per language. What you get: The exact confirmation message for you. It never publishes</li></ul><p>Three master prompts drive the biggest jobs: onboarding and activation, paywall and pricing, and growth and sharing. Each has a checklist the reviewers use. You can add your own master prompt and the army wires it in.</p><h3>The skills, grouped</h3><p>A skill is a step by step playbook Claude follows when your words match it. You do not need to name them. Say what you want and the matching one loads. The point of a skill is that it keeps the research, approval and review steps a quick home-made attempt would skip. There are more than 20 in the kit. Here they are by what they do for you.</p><h4>Building an app</h4><ul><li><strong>App order:</strong> the whole journey above, started by “new app: &lt;idea&gt;”, and “where are we on Sprout?” to see the step it is on.</li><li><strong>Design flow:</strong> the four design passes, Stitch and Claude Design side by side, until you say “design approved”.</li><li><strong>Stitch prototype:</strong> native looking phone screens in Google Stitch, each checked, downloaded and sent with a preview link.</li><li><strong>Kickoff:</strong> scoring, set up, product documents and the reuse plan for a new app on the kit.</li><li><strong>Concepts:</strong> “do it like in my other app”. Finds a proven feature and ports it instead of rebuilding it.</li><li><strong>Improvement loop:</strong> works a goal item by item until done (see <a href="https://kappmaker.com/blog/app-army-complete-guide#loop">the loop</a>).</li><li><strong>Full audit:</strong> a whole-app review with every specialist, fixed in batches.</li></ul><h4>Getting it into the stores</h4><ul><li><strong>Store screenshots:</strong> problem to outcome slides you approve as a storyboard first, in every language, plus the feature graphic.</li><li><strong>Store rejection intake:</strong> paste a rejection from Apple or Google. You get the cause, the fix, a reply, a new rule, and a check of your other apps for the same problem.</li><li><strong>Play internal release:</strong> puts a signed build on Google Play’s private test track in one go, with screenshots and release notes.</li><li><strong>Mac test hand-off:</strong> writes the test prompts for a real-device walk on your Mac, then turns the report into fixes.</li><li><strong>Safe push to main:</strong> full build, secret scan, and a merge that never rewrites history, only after you type “yes push”.</li></ul><h4>The website</h4><ul><li><strong>Landing page:</strong> the app’s site, legal pages and delete-account page on your own hosting.</li><li><strong>SEO site:</strong> guide pages built from real complaints, and a search traffic review when you ask.</li><li><strong>Domain move:</strong> moves every link to your own domain in one branch.</li><li><strong>Web design routine:</strong> the design tools in a fixed order, with an automatic check for design problems and contrast.</li></ul><h4>Keeping what works</h4><ul><li><strong>Rule capture:</strong> “apps should always…” is written into your app rules the same turn.</li><li><strong>Proven prompts:</strong> “save this prompt” keeps a prompt that worked, so the next app can use it again.</li><li><strong>Master prompt intake:</strong> saves a long expert prompt word for word and points the right agents at it.</li><li><strong>Research intake:</strong> keyword exports and research chats from other tools, saved unchanged and scored.</li><li><strong>Skill smith:</strong> turns a flow done twice into a new skill.</li><li><strong>Brief writer:</strong> the prompt architect as a skill, for any rough ask.</li></ul><h4>Running the machine (kit)</h4><ul><li><strong>Bot restart:</strong> “restart the bots” restarts workers safely, never in the middle of a build without saying so.</li><li><strong>Overload check:</strong> “the server is slow” finds the cause (memory, a stuck build) and writes the incident down once.</li><li><strong>Voice:</strong> send a Telegram voice note. It is turned into text on your own machine, echoed back, and acted on.</li><li><strong>Agent sync and portable export:</strong> keep agents the same everywhere, or pack one topic into a zip for another machine.</li></ul><p>Each app made from the KAppMaker template also brings its own project skills (new screen, build features, design the paywall, run the quality checks), and any skill you make yourself lives next to these. The full list is in the <a href="https://kappmaker.com/docs/skills">skills docs</a>.</p><h3>The tools underneath: the kappmaker CLI and MCP</h3><p>The agents decide what to do. Three tools do the hands-on work, so the agents run tested commands instead of clicking through websites or writing one-off scripts.</p><h4>The kappmaker command line tool</h4><p>kappmaker is a free, open source tool (MIT licence, installed from npm) that does the store and setup chores an app needs. The agents call it, and you can run it yourself too:</p><ul><li><strong>Start an app:</strong> fetch the latest free KAppMaker template and rename it to your app in one go.</li><li><strong>Store records:</strong> create the app on App Store Connect and Google Play, fill in the listing per language, and the Google Play data safety form.</li><li><strong>Subscriptions:</strong> create subscription products and credit packs in both stores, with prices per country, and set them up in Adapty or RevenueCat.</li><li><strong>Firebase:</strong> create the project and connect the app for analytics, crash reports and remote settings.</li><li><strong>Art and store assets:</strong> logos, app icons in every size, mascots, store screenshots, translated screenshots and the Play feature graphic.</li><li><strong>Build and ship:</strong> raise the version number, make the signed Android build, upload to Google Play and the App Store, and build iPhone apps on a rented cloud Mac when you have no Mac.</li></ul><p>Anything that costs money or publishes asks you first.</p><h4>The KAppMaker MCP server</h4><p>MCP (Model Context Protocol) is the standard way to give an AI tool new abilities. kappmaker mcp turns the command line tool into a set of tools your AI can call directly, with typed inputs instead of shell commands. One line connects it to Claude Code, the Claude desktop app, Codex or Gemini.</p><ul><li><strong>Safe by design:</strong> no tool takes a key, token or password as input, secrets are removed from every answer, and long or paid jobs first return a plan with the cost. They only run when called again with a clear yes.</li><li><strong>Setting up App Army from your AI:</strong> the same server has tools to check a server, install the kit on it over SSH, sign in to Claude, add and pair a Telegram bot, and later check health, read logs, update, roll back and restart workers. This is what makes “Set up App Army on my server at 1.2.3.4” work: your AI drives the install and only comes back to you for the human steps.</li><li><strong>It never sees your machine’s secrets:</strong> it connects with the SSH key path you name, and your licence or install code goes to the server inside the install itself, never on a command line.</li></ul><p>The kit also wires up other MCP servers for you when you want them: Google Stitch for design, RevenueCat for subscriptions, Playwright for checking web pages in a real browser, and Astro for App Store keywords on a Mac. kappmaker-army mcp add stitch adds one, and it can add it for every AI tool it finds on the machine. Keys go into their own files, never into a chat.</p><h4>The kappmaker-army tool (kit)</h4><p>The kit’s own command line tool, for the jobs around the apps: doctor (health check and fixes), status, workers (add, pair, restart, logs), the build gate, the safe push to main, web previews, your rules, keywords and ideas, scheduled jobs, the design tools and updates. Inside Telegram you rarely type it. The worker runs it for you when you ask in plain words.</p><h4>Design tools</h4><p>For the screens and the web pages, the kit installs a set of free design tools from their own authors: taste rules that keep pages from looking generic, a design checker that finds contrast and layout problems, colour and font suggestions, and write-ups of well-made products to learn from. The plugin lists the same tools with one install line each.</p><h3>The improvement loop</h3><p>The loop takes a goal (“make the first screens clearer”), turns it into a checklist, and works through it while you do something else. You start it in plain words, or with /kappmaker-app-army:self-improve-loop &lt;goal&gt; in the plugin.</p><h4>One pass, step by step</h4><ol><li>Your goal becomes a brief, and the brief becomes a plan in PLAN.md: small items under milestones, each tagged with the reviewers it needs, ordered by impact.</li><li>A fresh planner takes the top unchecked item (or a few small ones of the same kind). Anything that touches money, purchases, what a paying user gets, the database or analytics always goes alone.</li><li>It makes the change and asks one or two matching specialists to review it.</li><li>It decides on each finding, accepts or rejects it, and writes down why.</li><li>It runs the build gate. Green (it passes): the item is ticked and saved as a commit, a snapshot of the code in git. Red (it fails): nothing is ticked.</li><li>It reports back in a few lines, and the next pass starts on its own.</li></ol><h4>Why it stays safe</h4><ul><li><strong>The build has the last word.</strong> Reviews are advice. A real build and the real tests run after every item. A red (failing) build is never ticked and never forced green. In the plugin the gate is your project’s own test command. If your project has no tests, the plugin loop runs without a check, so add a test command first.</li><li><strong>Specialists review every change</strong>, and only the planner edits code, so reviews cannot contradict each other on disk.</li><li><strong>It has limits.</strong> It stops when the plan is done, after 40 passes in the plugin or for a new app on the kit (200 otherwise), after 8 passes in a row with no item finished, so it cannot burn your usage going in circles, or when the build is red.</li><li><strong>It starts from a saved point.</strong> A git checkpoint (a saved copy of the code you can go back to) is taken first. Stopping the loop undoes nothing. Saved work stays.</li><li><strong>Your to-dos stay yours.</strong> Steps only a person can do go into a separate file. The loop never picks from it.</li></ul><h4>The full audit, when you want one</h4><p>For an app that already exists, or before a big launch, say “do a full audit of Sprout”. It reviews the whole app with every specialist, merges their findings into one plan, fixes it in batches with a fresh planner for each batch, and closes with a final review. You can add a quiet observer that times the run and reports where time was wasted.</p><h3>How the army gets better by itself</h3><p>App Army writes down what goes wrong and changes its own rules only after you approve. The one thing it changes on its own is skills: the weekly retro may add or fix up to 3 per run, as files you can read and undo.</p><ul><li><strong>Lessons and failure stories.</strong> Any worker adds a lesson when something went wrong or slow, and lessons are read before similar work. The kit starts with 169 lessons and 22 failure stories from our own apps, so you skip mistakes we already made.</li><li><strong>Your rules.</strong> Say a general rule once (“the paywall always comes right after onboarding”) and it goes into your app rules, which every project and every reviewer reads.</li><li><strong>Proposals you approve.</strong> The weekly retro reads the week’s logs and failures and writes at most 5 numbered proposals, each with the evidence and the risk. Nothing in them is applied until you reply “approve 12” (or “reject 12”).</li><li><strong>Skill smith.</strong> When the army notices it is doing a multi-step job it did before, it notes it, and the second time it turns it into a skill. If a skill turns out wrong, it fixes the skill in the same session.</li><li><strong>The idea scout.</strong> Every Saturday, if you turn it on, it finds and scores 3 to 5 new app ideas and adds them to your backlog. It never touches an app.</li><li><strong>Nightly health.</strong> Every morning, if you turn it on, one short message: how far each app is, changes not yet saved, which worker is on what, free disk and memory, leftover build processes and proposals waiting for you. It uses no Claude usage and kills nothing.</li></ul><p>The scheduled jobs are off until you run kappmaker-army routines on. They never push to git, never ask questions, and the runner puts back your own files (your memory, your settings, the safety rules) if a job changed them.</p><h3>Safety, cost and privacy</h3><h4>The guard</h4><p>The guard checks every shell command and every file read or write before it runs. It catches the things you cannot undo: force pushes (which overwrite the saved history of your code on GitHub), pushes to your main branch, deleting files outside the project, wiping work that is not saved yet, deleting a database, deleting a GitHub repository or making it public, publishing to a store’s production track, printing or reading secret files like .env, and writing an API key into code.</p><p>In the plugin, it asks you to choose Proceed or Cancel and shows what would happen, for example the exact files a delete would remove. In the kit, it blocks these outright, and if you really mean one you allow it once from your own terminal, which the agent cannot do for you. When nobody can answer (a Telegram bot running on its own), both refuse. It works even in the mode where Claude acts without asking. On a server, a worker will not start in that mode at all if the guard is missing.</p><p>It is a seat belt. It reads the command text, so a script written to delete files can get past it. Keep your work on GitHub and keep backups.</p><h4>Your server, locked down</h4><p>Your workers run with permission to act on their own, so the server around them has to be tight. On a new server the installer does this before anything else, and checks the result instead of assuming it:</p><ul><li><strong>A separate user for the army.</strong> The workers run as their own user, not as the server’s administrator. That user can start, stop and read the logs of its own workers through one small, strict helper, and nothing else as administrator. By default it cannot become the administrator.</li><li><strong>Key-only logins.</strong> Password logins over SSH (the secure way you connect to a server) are switched off, so only your own key gets in. If no key is set up yet, it leaves passwords on and warns you, so you are never locked out. SSH also offers only modern encryption, which every current SSH app supports.</li><li><strong>A firewall.</strong> Everything coming in is blocked except SSH. If the server already runs other public services, it prints the exact commands instead of switching the firewall on blindly.</li><li><strong>Break-in protection and updates.</strong> Repeated failed logins get blocked automatically, and security updates install by themselves.</li><li><strong>Optional private network.</strong> You can go one step further and close public SSH entirely, so the server is only reachable from your own devices over Tailscale, a free private network. Tell your bot “lock down SSH” (the bot also offers this once, right after a server install). It checks that your login over Tailscale works before it closes the public door, and “undo the SSH lockdown” opens it again.</li><li><strong>Your licence key stays private.</strong> It is read from a hidden prompt or swapped for a one-time install code, never printed or logged, and every download is checked against its published checksum before it is unpacked.</li></ul><p>The board link works once and expires after ten minutes, and the board can only show, never change, anything.</p><h4>The token saver</h4><p>Long chats get slow and expensive. When a chat is 70% full, the plugin has Claude summarise it into a handoff note (goal, what is done, decisions, next steps, open questions) and carries on from it. The next chat in the same project starts from that handoff. Long reports from helpers are shortened, with the full report kept in a file. The session you talk to hands heavy reading and builds to helpers, so the session you talk to stays small. On a server, workers also start a fresh session at natural breaks, after writing a handoff, so they stay fast for days.</p><h4>Money</h4><p>Nothing that costs money happens without you. Before any paid AI image or video, a cloud Mac build, a store fee or a server change, the worker states the rough cost and waits. During development, paid AI calls are faked, and the first real test uses the cheapest model. If your Claude plan hits its limit on a server, a small watchdog picks only the free “wait” option and tells you when it resets. It never picks an option that spends money.</p><h4>Privacy</h4><p>We never see your code, your apps, your chats or your keys. Your code goes to your own private GitHub repository, your chats go to Anthropic as with any Claude Code use, and the tools you connect (Telegram, Stitch, the stores) talk to their own services. Nothing goes to us except the kit’s licence check: your licence key and a random install id. No tracking, no usage reports. The plugin itself sends nothing to us or anyone else, and every release is tested for that. A few skills reach a service only when you ask for that job, with your own account, for example publishing your website. Your Claude logins, bot tokens and API keys stay on your machine, in their own files, and the agents are told never to print them.</p><h3>Memory: your rules, kept</h3><p>Chat history is forgotten. App Army keeps what matters in two plain text files you can read and edit:</p><ul><li><strong>Your memory file</strong> (MEMORY.md) holds personal preferences and one-off decisions: &quot;remember: Adapty, not RevenueCat&quot;, &quot;phones only, no iPad screenshots&quot;. Say &quot;remember...&quot;, &quot;forget...&quot; or &quot;what do you remember&quot;.</li><li><strong>Your app rules</strong> hold general rules for every app: “never show the paywall before the first result”.</li></ul><p>Both are read at the start of every project and every review. In the plugin, the nearest memory file is added to every chat as it is right now, so a change you make shows up at once. The guard stops anything from wiping most of your memory file in one go, and scheduled jobs are not allowed to change it at all. If you correct the same thing twice, ask for it to be saved, and you will not have to say it a third time.</p><h3>Updates</h3><ul><li><strong>Kit:</strong> type kappmaker-army update, or tell your bot &quot;update yourself&quot;. It shows what is new, downloads the new version, checks it is the exact file we published, and keeps all your own files: memory, lessons, rules, settings, your own skills, your apps. If you changed a file the new version also changed, yours stays and the new one is saved next to it. kappmaker-army update --rollback goes back. Nothing is ever pushed to you; you decide when to update.</li><li><strong>Plugin:</strong> refresh the marketplace and update the plugin in Claude Code, or turn on auto-update once. The steps are on the <a href="https://kappmaker.com/claude-code">plugin page</a> and in the plugin’s status command. What changed in each version is in the <a href="https://kappmaker.com/docs/changelog">changelog</a>.</li></ul><p>Every 1.x version is included in your purchase. A future version 2 may be a paid upgrade. Whatever you have keeps working.</p><h3>The mentor pack</h3><p>The Mentor tier adds the research we used to pick and position our own apps. The kit gives you the method. The mentor pack gives you a head start: months of keyword pulls and scored ideas, so your first idea is not a guess.</p><h4>The keyword bank</h4><p>More than 11,000 App Store keyword rows we pulled across several countries, each with a popularity score, how hard it is to rank for, and which apps rank for it now. The numbers are from October and November 2026. You do not have to read 11,000 rows. It comes sorted for you:</p><ul><li><strong>Golden keywords:</strong> the short list of searches that are popular enough to matter and still easy enough for a new app to rank for. This is where most of our app ideas started.</li><li><strong>Keyword groups:</strong> open clusters of related searches, plus “bridge” keywords that connect one niche to the next, so one app can rank for a whole group instead of one word.</li><li><strong>Seven niche summaries</strong> (couples, pilates, piano and music, hair and barber, AI video, psychology, vision boards): what is golden in each niche, where, and why.</li></ul><h4>The Google Play keyword method</h4><p>Google Play gives you no keyword numbers at all, which is why most people guess. The method gets them for free. Play’s own search suggestions, checked country by country, show what people type and how popular it is. The ratings and size of the top 10 apps for each search show how hard it would be to beat them. Together that gives each keyword a demand score and a competition score. A small calibration step checks the Play scores against the App Store numbers in your bank, so the two stores speak the same language. A skill runs the whole thing step by step and adds the results to your bank, ready for your Play title and short description. It reads public Play pages automatically. Google’s terms may not allow that, so you run it at your own risk and keep the volume low.</p><h4>About 48 scored app ideas</h4><p>Each idea is scored with the same rubric the idea checker uses on yours. Six things, weighted: how many people want it, whether they pay for apps like it, how weak the current apps are, how much of it can be built from features that already exist, whether it has a natural moment people want to share, and whether there are store keywords it could realistically rank for. Every idea comes with its evidence and a verdict: go, park or rejected. The rejected ones stay in on purpose. Reading why an idea that sounds good fails is the fastest way to learn to judge your own.</p><h4>Also included</h4><ul><li>Two designed PDFs of the keyword bank and the ideas, to read away from the screen.</li><li>A 60 minute call and 3 months of private support in Discord, with replies within 2 working days.</li></ul><h4>How you use it</h4><p>Mostly you do not open it yourself. The idea checker starts from the golden keywords and checks the backlog for near duplicates before it scores a new idea. The store listing agent reads the niche summary for your app’s category. The weekly idea scout looks for ideas that would rank for golden keywords. When you want to browse, say “show me the best go ideas from the mentor backlog”. Search numbers change over time, so re-check the few keywords you act on before you commit to an app.</p><h3>What it does not do, and what you need</h3><h4>What you still do yourself</h4><ul><li><strong>Store accounts.</strong> A Google Play developer account ($25 once) and, for iPhone, the Apple Developer Program ($99 a year), paid by you to Google and Apple, plus their API keys. The worker walks you through the keys. It never creates or pays for accounts.</li><li><strong>Your decisions.</strong> The idea, the look, the store text, every publish and every merge into main.</li><li><strong>A few console forms</strong> that exist nowhere but a website, with the answers written for you.</li><li><strong>Tests on a real phone</strong>, and finding testers for Google Play’s closed test if your account needs one.</li><li><strong>Checking the work</strong> before you say yes. The agents make mistakes.</li></ul><h4>What you need</h4><ul><li><strong>Claude Code and your own Claude plan</strong>: A Pro plan works for small runs at your keyboard. For bots running on a server all day, a Max plan or an API key is the realistic minimum.</li><li><strong>A computer</strong>: macOS or Ubuntu. Windows is not supported.</li><li><strong>A server, only for always-on bots</strong>: Ubuntu 22.04 or 24.04 on an Intel or AMD (x86) server, not ARM, with 4 CPU cores, 8 GB of memory or more and about 80 GB of disk. You pay the provider monthly. More bots need more memory.</li><li><strong>A Mac, only for some iPhone steps</strong>: Not required. Without one, iPhone builds run on a rented GitHub Mac for about 20 to 40 minutes each.</li><li><strong>Google Stitch, optional</strong>: A Stitch API key (a password-like code that lets the tool use your Stitch account) for the Stitch half of the design. Without it, the design is done in the Claude Design canvas only.</li><li><strong>Free accounts</strong>: GitHub, Firebase (the free plan covers most apps), and Adapty or RevenueCat for subscriptions.</li><li><strong>Optional costs</strong>: A domain for the app’s website, paid AI images or video (always asked first), cloud Mac minutes.</li></ul><h4>For developers</h4><ul><li><strong>Models:</strong> the planner, the brief writer, the idea checker, the retro, the copywriter and the QA reviewer run on Opus. The other reviewers run on Sonnet. You can change any agent’s model, and when you are near a usage limit one command moves the heavy agents to a cheaper model until it resets.</li><li><strong>Kit tools it installs:</strong> JDK 17 and the Android SDK, Python 3, Node 20 or newer, git, and the free kappmaker command line tool for stores, Firebase, subscriptions and builds.</li><li><strong>Token saver numbers:</strong> handoffs are reused for 48 hours, and helper reports longer than 3,000 characters are shortened. Both are settings.</li><li><strong>Telegram:</strong> bots use Anthropic’s official Telegram plugin in the normal Claude Code program, under systemd, which restarts them after a crash or reboot.</li></ul><p>App Army works with Claude Code. It is not made by or affiliated with Anthropic.</p><h3>How you use it, day to day</h3><h4>From paying to “tell me your app idea”</h4><p>This is the experience the kit is built around:</p><ol><li>You pay on kappmaker.com.</li><li>From your purchase page you copy one thing. Either a sentence you paste into your AI (“Set up App Army on my server at 1.2.3.4”, with the KAppMaker connection added to Claude), or one command you paste into a terminal on your laptop or server.</li><li>You wait. It only asks you for the things a person has to do: sign in to Claude (a link opens in your browser), create a Telegram bot with Telegram’s BotFather and hand over its token (the exact steps are shown, and the token goes into a private form or a hidden prompt, never a chat), and send your new bot a first message.</li><li>Your bot writes first: “Your App Army is ready. Tell me your app idea.”</li><li>From then on you build your app from Telegram, the same way we do.</li></ol><p>Everything between those steps (installing the tools, securing a fresh server, wiring the safety checks, connecting the bot) happens without you.</p><h4>The other ways in</h4><ul><li><strong>Plugin:</strong> you give your GitHub username at checkout and accept the invite GitHub sends you, let git reach GitHub once (one login command), then run two install lines. The <a href="https://kappmaker.com/claude-code">plugin page</a> has every line, including the steps for the desktop app. You need Claude Code 2.1.330 or newer, and Python 3 for the screenshot scripts.</li><li><strong>Kit on a laptop:</strong> the same install command works on a Mac or an Ubuntu laptop. There you usually type to Claude Code in the terminal (the text window where you run commands). Telegram bots belong on a server, because a laptop that sleeps stops them.</li><li><strong>No server yet:</strong> a VPS is a computer you rent in a data centre by the month. The <a href="https://kappmaker.com/docs/rent-a-vps">rent a VPS guide</a> shows which one to rent from any provider and exactly what to pick. No Linux knowledge needed. On a new server the installer turns on a firewall and switches off password logins, so only your own key gets in.</li></ul><p>When it is done, a health check (kappmaker-army doctor) shows every part green or tells you what to fix, and kappmaker-army doctor --fix fixes most of it for you.</p><h4>Then you just talk to it</h4><p>On a laptop you type in Claude Code. On a server you message your bot on Telegram from your phone. Either way you write plain sentences:</p><ul><li>“New app: a water tracker that reminds you based on your real day.”</li><li>“Status.” or “What’s left before launch?”</li><li>“Make the paywall clearer. Keep going.”</li><li>“Remember: the paywall always comes right after onboarding.”</li></ul><p>When it needs a decision it sends a short numbered list with a default, like “1. Sprout (recommended) 2. Sipwise 3. Dewdrop. Say ‘go’ for 1.” You reply with a number, “go”, or your own words. Long jobs start with one short line and end with one message, with nothing in between.</p><h4>Several bots, several apps, one machine</h4><p>On a server you can run more than one worker (a Claude Code session that stays on all the time), each with its own Telegram bot. One can build your water tracker while another fixes the paywall on your piano app. They share the same projects folder, so three things keep them out of each other’s way:</p><ul><li><strong>Claims.</strong> A worker records which app it is on. If another worker already has that app, the new one asks you before it carries on. Messages about an app another worker owns get passed to that worker.</li><li><strong>One build slot.</strong> Building a phone app is the heaviest thing the machine does. Only one build runs on the box and the others wait their turn, so the server does not run out of memory and crash halfway. More workers need more memory.</li><li><strong>Locked shared writes.</strong> The shared folders (lessons, rules, reusable features) are written one worker after another and saved to git, so two workers cannot overwrite each other’s notes.</li></ul><h4>The board</h4><p>Ask for your board and the bot sends a link that works once and expires in ten minutes. It opens a read-only web page that shows every app: how far its checklist is, which worker is on it right now and what changed recently. It cannot change anything, on purpose. Anything you want done goes back through the chat.</p><h3>The plugin and the kit: what you get and the prices</h3><p>There are two ways in. The <strong>plugin</strong> adds App Army to Claude Code in any project, in any programming language, in about five minutes. The <strong>kit</strong> is the full system we run ourselves: the plugin plus everything that needs a machine of its own, like bots that work around the clock from Telegram.</p><p><strong>App Army for Claude Code (plugin)</strong></p><ul><li>Price, one time: $49 for the first 5 buyers, then $69, $79, and $99 after that</li><li>15 agents, the skills, 3 master prompts</li><li>The full app order, idea to day 7</li><li>Improvement loop, guard, token saver</li><li>Which projects: any project; the loop uses your own test command. Tuned most for Kotlin Multiplatform, so some reviewer notes only apply there</li></ul><p><strong>App Army (kit)</strong></p><ul><li>Price, one time: $199 now, $249 later</li><li>15 agents, the skills, 3 master prompts</li><li>The full app order, idea to day 7</li><li>Improvement loop, guard, token saver</li><li>Which projects: the same, plus extra tools made for the free KAppMaker template (Android and iPhone from one codebase)</li><li>Telegram bots on a server, several at once</li><li>One command install on a laptop or a server</li><li>Project board, claims, one build slot</li><li>Nightly health, weekly idea scout and retro</li><li>54 proven features to reuse, 15 with full code</li><li>169 starter lessons, 22 failure stories</li></ul><p><strong>+ Mentor</strong></p><ul><li>Price, one time: $249 now, $299 later</li><li>15 agents, the skills, 3 master prompts</li><li>The full app order, idea to day 7</li><li>Improvement loop, guard, token saver</li><li>Which projects: as kit</li><li>Telegram bots on a server, several at once</li><li>One command install on a laptop or a server</li><li>Project board, claims, one build slot</li><li>Nightly health, weekly idea scout and retro</li><li>54 proven features to reuse, 15 with full code</li><li>169 starter lessons, 22 failure stories</li><li>Keyword bank, Play keyword method, scored ideas</li><li>60 minute call, 3 months of private support in Discord</li></ul><p><strong>Build With Me</strong></p><ul><li>Price, one time: $1,499, 5 a month at most</li><li>15 agents, the skills, 3 master prompts</li><li>The full app order, idea to day 7</li><li>Improvement loop, guard, token saver</li><li>Which projects: as kit</li><li>Telegram bots on a server, several at once</li><li>One command install on a laptop or a server</li><li>Project board, claims, one build slot</li><li>Nightly health, weekly idea scout and retro</li><li>54 proven features to reuse, 15 with full code</li><li>169 starter lessons, 22 failure stories</li><li>Keyword bank, Play keyword method, scored ideas</li><li>60 minute call, 3 months of private support in Discord</li><li>We build your app with you on a livestream, up to the store</li></ul><p>Prices are the ones on the <a href="https://kappmaker.com/pricing">pricing page</a> in November 2026. The plugin’s price climbs in steps as real sales come in, so early buyers pay less. Every tier is a single payment, and every v1 update is included. One licence is one developer. The kit’s licence key works on 3 computers. There are no refunds, because you get the full source the moment you pay, so read the <a href="https://kappmaker.com/docs">docs</a> first. They are public.</p><h3>Which one to pick</h3><ul><li><strong>You already use Claude Code and want the agents, the app order and the loop in your own projects:</strong> start with <a href="https://kappmaker.com/claude-code">App Army for Claude Code</a>.</li><li><strong>You want bots that keep working while you are away, on a server you message from Telegram:</strong> the <a href="https://kappmaker.com/pricing">App Army kit</a>.</li><li><strong>You want our keyword data, scored ideas and a call to set you on the right track:</strong> App Army + Mentor.</li><li><strong>You want us to build your first app with you on a livestream, up to the store:</strong> Build With Me, five places a month.</li></ul><p>If you are not sure yet, read the <a href="https://kappmaker.com/docs">docs</a> first. They are the same pages buyers get, and they show every step before you pay.</p><h3>FAQ</h3><h4>Do I need to know how to code?</h4><p>No. You type plain sentences, paste a command or a sentence to set it up, and fill in store forms with answers the worker writes for you. You do not need to know Kotlin, Gradle or Xcode. If you do not read code, you check the result instead: install the build on your phone, tap through it, and read the summary before you say yes.</p><h4>What is the difference between the plugin and the kit?</h4><p>The plugin adds the 15 agents, the skills, the full app order, the improvement loop, the guard and the token saver to Claude Code, in any project. The kit is the plugin plus what needs its own machine: Telegram bots that run all day, a one command install, the project board, scheduled jobs, 54 reusable features and the starter lessons.</p><h4>Can it build an iPhone app without a Mac?</h4><p>Yes. Without a Mac, iPhone builds run on a rented GitHub macOS machine for about 20 to 40 minutes per build, and the worker tells you the cost before it starts. With a Mac, the worker writes a prompt file and you run it in Claude Code on the Mac.</p><h4>Which Claude plan do I need?</h4><p>A Pro plan works for small runs on a laptop while you are at the keyboard. For bots that run on a server all day, a Max plan or an API key is the realistic minimum, and several bots need more.</p><h4>Does it publish or spend money on its own?</h4><p>No. It publishes only after you type “yes publish” and the app name. Before anything that costs money, such as paid AI images, a cloud Mac build or a store fee, it states the rough cost and waits for your OK. The guard also blocks production publishing when nobody is there to confirm.</p><h4>What do you see of my code and my apps?</h4><p>Nothing. The only thing the kit sends us is the licence check: your licence key and a random install id. The plugin sends us nothing. Your code goes to your own private GitHub repository, your chats go to Anthropic as with any Claude Code use, and tools you connect, like Telegram or Stitch, talk to their own services.</p><h4>Does it work on Windows?</h4><p>No. App Army runs on macOS and Ubuntu. On Windows, rent a small Ubuntu server and message your bot from your phone, or use a Mac.</p><h4>Is this allowed by Anthropic’s terms?</h4><p>As far as we can tell from Anthropic’s published terms, yes. This is not legal advice. You use your own Claude account in the official, unmodified Claude Code program, Telegram control uses Anthropic’s official Telegram plugin, and we never resell or pass on Claude usage. App Army is not made by or affiliated with Anthropic.</p><h4>Can I get a refund?</h4><p>No. You get the full source the moment you pay, so there are no refunds. The docs are public, so you can read every step before you buy.</p><h4>What is the KAppMaker MCP?</h4><p>It is the kappmaker command line tool offered as MCP tools, the standard way to give an AI new abilities. Connected to Claude Code, the Claude desktop app, Codex or Gemini, it lets your AI create store records, subscriptions, store assets and builds, and set up App Army on a server for you. No tool takes a password or key as input, and paid or publishing jobs return a plan first.</p><h4>Can I use it for client work?</h4><p>Yes. The apps you build and their code are yours. One licence is one developer, and the kit is not installed on a client’s computers unless they buy their own licence.</p><p><em>Originally published at </em><a href="https://kappmaker.com/blog/app-army-complete-guide"><em>https://kappmaker.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04b73a4dfe73" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/app-army-guide-agentic-mobile-app-development-04b73a4dfe73">App Army guide: agentic mobile app development</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Koko, KMP Starter Kit — Part 4: Monetization and Growth]]></title>
            <link>https://proandroiddev.com/koko-kmp-starter-kit-part-4-monetization-and-growth-f0030fe32f5a?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0030fe32f5a</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 19:21:10 GMT</pubDate>
            <atom:updated>2026-11-19T16:14:55.961Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 4 of 4: the last two phases of the </em><a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit"><em>KMP contest starter kit</em></a><em>. Subscriptions, credits and ads, then analytics, feature flags and notifications.</em></p><p><em>New here? </em><a href="https://medium.com/proandroiddev/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f"><em>Part 1</em></a><em> introduces the kit and gets your app running on your machine. </em><a href="https://medium.com/proandroiddev/koko-kmp-starter-kit-part-2-integrations-0220c2db0327"><em>Part 2</em></a><em> connects it to Firebase, sign in and a backend. </em><a href="https://medium.com/proandroiddev/kmp-starter-kit-part-3-publishing-your-app-in-the-stores-fd64d3629c02"><em>Part 3</em></a><em> publishes it to the stores.</em></p><p>Your app is in the stores and people are installing it. Two questions are left: should it make money, and how do you keep people using it? These are the kit’s last two phases, monetization and growth, and this post covers both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yn147blvN08VvBJJWH7oRw.png" /></figure><h3>Free or paid</h3><p>By default the kit has no paid features. In AppConfiguration.kt:</p><pre>PREMIUM_FEATURES_ENABLED = false</pre><p>With false there is no paywall, no upgrade buttons, billing is never initialized, and credits are off, so everything in the app is free. If your app should stay free, leave it and go to the growth part below.</p><p>To add paid features, set it to true. The paywall, the subscriptions screen and the credit system all turn on.</p><h3>Decide the offer first</h3><p>Before opening any billing dashboard, decide what you sell. The kit keeps this in one file: AiGuidelines/project/paywall.md. What is premium was already decided in phase 1. What&#39;s left is marked TODO(monetization): prices, trial length, credit pack sizes.</p><p>Ask your assistant to “design the paywall” and it asks you about each one:</p><blockquote><strong><em>Agent:</em></strong><em> Your paywall has a weekly and a yearly plan. What should the yearly price be? Weekly at $4.99 adds up to about $260 a year, so a yearly price under $60 shows as a big saving. And how long should the free trial be, 3 days or 7?</em></blockquote><p>The kit’s paywall guide has three rules:</p><ul><li>Write the terms clearly: “7 days free, then $39.99 a year. Cancel anytime.”</li><li>No fake countdowns and no hidden cancel button.</li><li>Show the paywall at the end of onboarding, not on first open.</li></ul><p>The paywall text lives in strings.xml, with a paywall_ prefix on every string, so you change the copy without touching code. To see the result, ask &quot;show me the paywall&quot; and the kit renders it to an image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lJdEZ4HKPWFl5R8do3haMA.png" /></figure><h3>Demo mode</h3><p>You can test the whole payment flow before creating any billing account. When no subscription keys are set, the kit uses a built in demo provider:</p><ul><li>The paywall shows demo products.</li><li>A purchase succeeds without real money, and premium turns on.</li><li>Buying a credit pack adds credits.</li><li>You can cancel from the Subscriptions screen, and premium locks again.</li></ul><p>The paywall shows a warning that it is a demo, so you can’t mistake it for the real thing. It works on every platform. When you add real keys, the kit switches to the real provider automatically.</p><h3>Subscription provider</h3><p>Real billing goes through Adapty or RevenueCat. These services sit between your app and both stores and handle receipts, renewals and refunds. The kit supports both. You choose with one line in gradle.properties:</p><pre>SUBSCRIPTION_PROVIDER=ADAPTY</pre><p>Or REVENUECAT. The rest of the app code stays the same.</p><p>Create an account with the provider and copy its two SDK keys into local.properties:</p><pre>SUBSCRIPTION_PROVIDER_ANDROID_API_KEY=...<br>SUBSCRIPTION_PROVIDER_IOS_API_KEY=...</pre><p>Then run the check script for this phase:</p><pre>./MobileApp/scripts/check_env.sh --phase monetization</pre><p>A missing key does not fail the build. The paywall just stays in demo mode. That is fine during development, but not in a release, so run the check before you publish.</p><h3>Store products and a test purchase</h3><ol><li><strong>Create the subscription products in both stores</strong>, under Subscriptions in App Store Connect and in Play Console. On iOS, also add the In-App Purchase capability in Xcode. Use the prices from your paywall file, and use the same product IDs on both platforms, for example premium_monthly and premium_annual.</li><li><strong>Link them in the provider dashboard.</strong> Connect the store products and map them to an access level called Premium. This is the name the kit checks, defined in Constants.kt.</li><li><strong>Make a test purchase.</strong> Both stores have a test mode where purchases are free: a sandbox tester on Apple, a license tester on Google Play. Buy on a real device and check that the paywall closes and premium is on.</li></ol><p>By default the kit shows its own paywall screen. Both providers can also show a paywall that you edit on their website, without an app update. To use that, set the SHOW_REMOTE_PAYWALL flag to true.</p><h3>Credits</h3><p>If your app calls AI models, every generation costs you money, so a subscription alone may not cover heavy users. The kit has a credit system for this. The rules are in Di.kt:</p><pre>val appCreditSystemConfig = creditSystemConfig {<br>    oneTimeBonus(&quot;welcome_bonus_credit&quot;, 1)<br><br>    recurringWeekly(<br>        id = &quot;premium_plan_weekly&quot;,<br>        amount = 10,<br>        condition = { subscriptionRepository.hasPremiumAccess() },<br>    )<br>}</pre><p>This gives every new user 1 free credit and gives subscribers 10 credits every week. There are also recurringDaily and recurringMonthly, and any rule can have a condition.</p><p>In code, creditRepository.useCredits() spends a credit. When the balance is empty it throws an exception, and the screen opens the credit pack paywall. A balance screen and a credit badge in the toolbar are already built.</p><p>Credit packs are sold through the same provider. Create them as consumable products in both stores and add them to the credits_pack placement in the provider dashboard.</p><p>Credits are saved on the device only. For a first app this is enough. If you later need balances that sync between devices, the kit has a guide for moving them to a server.</p><h3>Ads</h3><p>AdMob is built in and turned off by default. To turn it on:</p><ol><li>Set IS_ADS_ENABLED to true in FeatureFlagManager.</li><li>Create your app and ad units in the AdMob console and put the IDs in local.properties. The iOS app id goes into BaseConfig.xcconfig.</li><li>During development, use Google’s test ad unit IDs. Clicking your own real ads is against AdMob policy and can get your account suspended.</li><li>Place the ads. There are three types: a banner (AdmobBanner()), an interstitial, and a rewarded ad. A rewarded ad can give the user a credit.</li><li>Update the data safety form on Google Play and the App Privacy section on Apple, because AdMob collects the advertising ID.</li></ol><h3>Growth</h3><p>The growth tools all use the Firebase project from part 2, so there are no new accounts and no new keys. You don’t need all of them on day one. Here they are in the order I would turn them on.</p><h3>Crash reports</h3><p>Crashlytics is already connected. Enable it once in the Firebase console. When the app crashes on a user’s phone, you see the exact line of code that failed.</p><h3>Analytics</h3><p>Analytics tells you which screens and features people really use. In the kit, everything goes through one Analytics interface:</p><pre>analytics.logScreenView(&quot;map&quot;)<br>analytics.logEvent(Analytics.EVENT_PIANO_ADDED, mapOf(&quot;has_photo&quot; to true))</pre><p>Event names are constants in the Analytics file, next to the ones the kit already logs, like screen_view and paywall_dismissed. Add your own there.</p><p>Start with a few events that follow the user’s path. For the PianoSpot example:</p><ul><li>onboarding_completed</li><li>piano_added, the main action of the app</li><li>piano_shared</li><li>paywall_shown and purchase_completed</li><li>permission_denied, with the permission name</li></ul><p>To check that events arrive, use Firebase DebugView. Run this once with your phone connected:</p><pre>adb shell setprop debug.firebase.analytics.app com.you.pianospot</pre><p>Then use the app, and the events show up in the Firebase console within seconds.</p><p>A week after launch, look at three numbers: how many users finish onboarding, which event happens most, and how many paywall views turn into purchases.</p><h3>Feature flags</h3><p>Feature flags let you change the app’s behavior without publishing an update. The kit’s FeatureFlagManager reads them from Firebase Remote Config. Each flag has a key and a default value in code:</p><pre>object Keys {<br>    const val IS_ADS_ENABLED = &quot;is_ads_enabled&quot;<br>    const val SHOW_REMOTE_PAYWALL = &quot;show_remote_paywall&quot;<br>    const val MAP_CLUSTERING = &quot;map_clustering&quot;   // your new flag<br>}<br><br>val DEFAULT_VALUES = mapOf(<br>    Keys.IS_ADS_ENABLED to false,<br>    Keys.SHOW_REMOTE_PAYWALL to false,<br>    Keys.MAP_CLUSTERING to false,<br>)</pre><p>Read a flag with featureFlagManager.getBoolean(Keys.MAP_CLUSTERING). To change it, add a parameter with the same key in the Firebase console and publish. The app picks up the new value on the next start.</p><p>What you can do with this:</p><ul><li>Turn off a broken feature without a new release.</li><li>Show a new feature to 10% of users first.</li><li>Test two versions of a screen and compare them with your analytics events.</li><li>Turn on ads or the remote paywall, which are already flags.</li></ul><h3>Notifications</h3><p>Notifications bring users back to the app. The kit uses <a href="https://github.com/mirzemehdi/KMPNotifier">KMPNotifier</a>, an open source library where the same code works on Android and iOS. There are two kinds: local and push.</p><p><strong>Local notifications</strong> are created by the app on the device. No server is needed:</p><pre>KMPNotifier.localNotifier.notify(<br>    title = &quot;Piano saved&quot;,<br>    body = &quot;Your Central Station piano is on the map.&quot;,<br>)</pre><p>A local notification can also be scheduled for later:</p><pre>KMPNotifier.localNotifier.notify {<br>    id = 1001<br>    title = &quot;Any pianos on your route today?&quot;<br>    body = &quot;Open the map to see what&#39;s nearby.&quot;<br>    scheduledAt = Clock.System.now().plus(1.days).toEpochMilliseconds()<br>    payload { put(&quot;screen&quot;, &quot;map&quot;) }<br>}</pre><p>Scheduled notifications are a simple way to improve retention, because they need no backend. Three ways to use them:</p><ul><li><strong>The day after onboarding.</strong> Schedule one reminder that mentions the goal the user picked during onboarding.</li><li><strong>A daily reminder.</strong> When the user finishes today’s action, schedule tomorrow’s reminder. Cancel it with remove(id) when they open the app, so they only see it on days they forgot.</li><li><strong>After a week away.</strong> When the app goes to the background, schedule one notification for a week later, and move it forward on every open. It only fires if the user has been away for a week.</li></ul><p><strong>Push notifications</strong> are sent from outside the app, through Firebase Cloud Messaging. The kit already listens for them. Android needs no extra setup. For iOS, create an APNs key in the Apple developer portal, upload the .p8 file in the Firebase console under Cloud Messaging, and add the Push Notifications and Background Modes capabilities in Xcode. Then send a test message from the Firebase console to a real device.</p><p>You don’t need your own server for push. The Firebase console can send a message to all users or to a group, for example users in one country or users who haven’t opened the app for 14 days.</p><p>When the user taps a notification, the kit calls onNotificationClicked with the payload. Use it to open the right screen.</p><p>Two things to keep in mind:</p><ul><li>Ask for the notification permission after the user understands why they’d want notifications, not on first open. The kit has rememberNotificationPermissionState() for this. iOS shows the system prompt only once, and Android stops showing it after two refusals.</li><li>Don’t send notifications that have no value for the user. People turn notifications off, or uninstall the app.</li></ul><h3>Reviews and sharing</h3><p><strong>Review prompt.</strong> The kit includes the native rating dialog with a 7 day cooldown, so users are not asked too often. Show it after the user completes something successfully. The kit’s example shows it after a purchase.</p><p><strong>Sharing and referrals.</strong> The virality_loops.md file in your product folder is where you plan this: what users can share from the app, and whether there is a referral bonus. For a bonus, the credit system has oneTimeBonus with a condition. You can use it to give credits when a referral completes.</p><h3>Wrapping up</h3><p>That’s the whole series. The five phases again:</p><ul><li><strong>Getting started:</strong> your app running on your own device, with no accounts.</li><li><strong>Integrations:</strong> Firebase, sign in and a backend, when your app needs them.</li><li><strong>Publishing:</strong> store listings, signing, and releases from GitHub.</li><li><strong>Monetization:</strong> subscriptions, credits and ads, tested in demo mode first.</li><li><strong>Growth:</strong> crash reports, analytics, feature flags and notifications.</li></ul><p>You don’t have to do all of them. Start with phase 1 and add the next phase when your app needs it.</p><p>The kit is free and open source: <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">github.com/KotlinFoundation/kmp-contest-starter-kit</a>, with full documentation at <a href="https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/">https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/</a>. If you have an app idea waiting, <a href="https://medium.com/proandroiddev/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f">part 1</a> is where to start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0030fe32f5a" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/koko-kmp-starter-kit-part-4-monetization-and-growth-f0030fe32f5a">Koko, KMP Starter Kit — Part 4: Monetization and Growth</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Koko, KMP Starter Kit — Part 3: Publishing: Your App in the Stores]]></title>
            <link>https://proandroiddev.com/kmp-starter-kit-part-3-publishing-your-app-in-the-stores-fd64d3629c02?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd64d3629c02</guid>
            <category><![CDATA[kmp]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sat, 12 Sep 2026 13:56:29 GMT</pubDate>
            <atom:updated>2026-09-14T04:48:20.943Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 3 of 4: the third phase of the </em><a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit"><em>KMP contest starter kit</em></a><em>. What to check when publishing, what the stores ask for, and how to publish both apps from GitHub without having a Mac.</em></p><p><em>New here? </em><a href="https://proandroiddev.com/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f"><em>Part 1</em></a><em> introduces the kit and gets your app running on your machine. </em><a href="https://proandroiddev.com/koko-kmp-starter-kit-part-2-integrations-0220c2db0327"><em>Part 2</em></a><em> connects it to Firebase, sign in and a backend.</em></p><p>You’ve finished the development part of your app, tested it, and it works. Screens done, data saved, maybe some services connected from part 2. Now comes the publishing part, and it can look complicated at first. But publishing is mostly a checklist, and the kit ships the checklist as a script:</p><pre>./MobileApp/scripts/check_env.sh --phase publishing</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJPiTHBJuq17Kw2X82rirw.png" /></figure><p>Or ask your AI coding assistant “is my app ready to publish?” and it runs this instead of guessing. It checks the things people forget: are the privacy policy and terms URLs real pages instead of placeholders? Is the contact email still support@example.com? Is your AI feature still calling providers directly with a key that would ship inside the binary? Each warning points at the fix. The rest of this post goes through the phase in order. A few steps involve waiting, so it’s better to read it once first and start those early.</p><h3>Store accounts</h3><p>You need a developer account with each store. Google Play: $25, once. Apple: $99 per year.</p><p>Start both today. Apple or Google can take days to verify a new account. Google Play has a testing rule: if you register as an individual (not a company), you can’t publish to production until your app has run a closed test with at least 12 testers for 14 days, and then you apply for production access. Company accounts skip this, but need a registered business with a D-U-N-S number. For most first apps: register as an individual, collect 12 friends’ emails now, and use those two weeks as your beta.</p><h3>App id and configuration</h3><p>Two things become permanent in this phase.</p><p>The app id. Google Play ties your package name to the app on the first upload, and Apple ties the bundle id to the store record. Neither can be changed afterwards. If you’re still using a name you picked quickly in part 1, change it now with the same rename script:</p><pre>./scripts/refactor_package.sh --app-id com.you.pianospot --app-name PianoSpot</pre><p>The configuration. Open AppConfiguration.kt and fill in:</p><ul><li>URL_PRIVACY_POLICY and URL_TERMS_CONDITIONS: real, working pages. Both stores reject placeholder links.</li><li>CONTACT_EMAIL: your support email.</li><li>PREMIUM_FEATURES_ENABLED: false if nothing in your app is paid. The check script then stops asking for subscription keys.</li><li>APPSTORE_APP_ID: filled later, when App Store Connect gives you the number.</li></ul><p>If you don’t have a website for the privacy policy and terms, the Web/public folder has a landing page with both pages included. Deploy it to Firebase Hosting for free and copy the two URLs into the config.</p><h3>Before you build the release</h3><ul><li>Icons. Give one square logo, at least 1024 pixels. Ask the assistant to “generate the app icons from logo.png” and the kit creates all Android sizes, the adaptive icon, the iOS icon set and the splash screen logo.</li><li>Notification icon. Android shows it as a white shape in the status bar, so it must be a simple single color shape. The file is ic_notification.xml.</li><li>Version. Below script updates both platforms together:</li></ul><pre>./scripts/update_version.sh</pre><ul><li>AI keys. If you used a direct <em>OPENAI_API_KEY</em> or <em>REPLICATE_API_KEY</em> for testing in part 2, remove it and set CLOUD_FUNCTIONS_URL to your deployed backend. A direct key gets compiled into the app and can be exposed.</li><li>Feature flag defaults. FeatureFlagManager holds the values the app ships with default values, like whether ads and analytics are on.</li><li>Quality checks. The same formatting, test and build checks from part 1 should pass.</li></ul><h3>Signing</h3><p>Every released app must be signed. Signing proves that updates come from you. For Android, the kit can create the keystore with one command:</p><pre>./scripts/generate_android_keystore.sh &quot;Your Name&quot; &quot;Your Org (optional)&quot;</pre><p>This creates keystore.jks and a keystore.properties file with generated passwords. Both are ignored by git, and the build picks them up automatically. To check, build a release:</p><pre>./gradlew :androidApp:bundleRelease</pre><p>That produces the signed AAB file that Google Play accepts.</p><p>Back up the keystore and its passwords in safe place. Keep them in a password manager or an encrypted drive, not in the repository.</p><p>iOS signing can be handled by the GitHub workflow, explained below. You don’t need to create or export a certificate yourself.</p><h3>What the stores ask for</h3><p>Google Play:</p><ul><li>App icon, 512×512</li><li>Feature graphic, 1024×500. This is the banner at the top of your Play listing, and it’s required.</li><li>2 to 8 phone screenshots (tablet screenshots too if you support tablets)</li><li>Title (30 characters), short description (80), full description (4000)</li><li>Data safety form: what data you collect and why. With the kit’s defaults, analytics and crash reports mean device identifiers and usage data, and sign in means account information.</li><li>Content rating questionnaire</li><li>Target audience, and an ads declaration if you use AdMob</li><li>Privacy policy URL</li></ul><p>Apple:</p><ul><li>App icon, 1024×1024</li><li>Screenshots for 6.9 inch and 6.5 inch iPhone (and 13 inch iPad if you support iPad)</li><li>Name, subtitle (30 characters), keywords (100 characters, comma separated), description, support URL</li><li>Category, age rating questionnaire, price</li><li>App Privacy section, Apple’s version of the data safety form</li><li>App Review information: your contact details, and a demo account if your app needs a login. The kit signs users in anonymously by default, so usually none is needed.</li></ul><p>Screenshots. Stores want exact pixel sizes per device. The kit renders your real screens at those sizes from code:</p><pre>./scripts/generate_store_screenshots.sh</pre><p>Output goes to distribution/store_screenshots/, sorted by language and device. One run for the demo app produces four screens at the 6.5 inch iPhone size. Both stores accept plain screenshots. If you want designed ones with headlines and phone frames, build them on top of these images in a design tool.When App Store Connect creates your app, it shows a numeric Apple ID. Copy it into APPSTORE_APP_ID in AppConfiguration.kt. The kit uses it for the rate prompt and the manage subscription link.</p><h3>Publishing from GitHub</h3><p>Push a tag, GitHub builds and signs the app and sends it to the stores</p><p>The kit includes two GitHub Actions workflows. Push a git tag ending in -android and GitHub builds the Android app, signs it and uploads it to Google Play. Push a tag ending in -ios and it does the same for iOS.</p><p>iOS apps can only be built on macOS. GitHub provides Mac machines for the build, and the workflow runs there. So you can publish to the App Store from Windows or Linux. To test on a real iPhone, install the build through TestFlight.</p><p>The workflow also handles iOS signing. Normally you export a certificate from a Mac, create provisioning profiles and copy team IDs. The kit uses fastlane match instead: it creates the certificate on GitHub’s Mac from your App Store Connect API key, encrypts it, and stores it in a private GitHub repository you create for this. Later releases and your other apps reuse it.</p><p>Setup, once per Apple account:</p><ol><li>In App Store Connect, create an API key with the App Manager role. Download the .p8 file; Apple shows it only once.</li><li>Create an empty private GitHub repository, for example ios-certificates, and a personal access token with read and write access to it.</li><li>Add six secrets to your app repository: key id, issuer id, the .p8 as base64, a password you invent, the certificates repository URL, and the token as base64. The <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit/blob/main/skills/setup-signing/SKILL.md">setup-signing</a> guide lists the exact names and the commands that produce each value.</li><li>For the first run only, add a repository variable MATCH_READONLY=false so the workflow can create the certificate. Delete it afterwards.</li></ol><p>You don’t need to remember any of this. The <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit/blob/main/skills/setup-signing/SKILL.md">setup-signing skill</a> has every secret name and the command that produces each value, and your AI assistant walks you through it step by step, stopping at each part only you can do.</p><p>Why the separate repository and the read only default: Apple gives each account only two distribution certificates. One certificate is kept for the whole account and shared by all your apps, and normal releases can’t create new ones.</p><p>The Android workflow needs three secrets: the keystore and its properties file as base64, and a Google Play service account file. The first upload to a new Play app must be done manually in the console; after that the workflow uploads.</p><p>Two more things:</p><ul><li>Every key in local.properties.example needs a repository secret with the same name. If one is missing, the build still succeeds but that feature ships with a placeholder value, so sign in or the paywall doesn&#39;t work. The workflow prints a warning listing missing secrets.</li><li>Both workflows can also be started manually from the Actions tab. The iOS one lets you choose TestFlight or App Store, and whether to submit for review.</li></ul><p>If you’d rather release from your own laptop, the same Fastlane commands run locally, without the secrets setup.</p><pre># Android<br>fastlane android first_time_build                     # builds the AAB for the manual first upload<br>fastlane android playstore_release                    # upload to internal testing track<br>fastlane android playstore_release track:production   # publish to production<br><br># iOS (needs a Mac with Xcode)<br>fastlane ios appstore_release                         # archive + upload to App Store Connect / TestFlight<br>fastlane ios appstore_release submit_for_review:true  # also submit for review</pre><h3>After the upload</h3><p>Android. The build appears in the internal testing track. Move it to closed testing with your 12 testers for 14 days (individual accounts), apply for production access, promote to production, and send for review. Review usually takes a few hours to a couple of days.</p><p>iOS. The build appears in TestFlight. Attach it to your 1.0.0 version and submit.</p><h3>Google sign in in Play builds</h3><p>Google sign in works in debug builds but fails in the app installed from Play Store. The reason: Google Play signs your app again with its own key, and Firebase doesn’t know that key yet.</p><p>Fix: in Play Console, go to Test and release → Setup → App signing, copy the app signing key certificate SHA-1, and add it as a fingerprint to your Android app in the Firebase console (Project settings → your app → add fingerprint). Do this before your testers install.</p><h3>If you get rejected</h3><p>It’s usually something small: a missing privacy answer, a screenshot that doesn’t match the app, a permission you didn’t explain, a login the reviewer couldn’t get past. Fix it and submit again. Most apps get rejected at least once.</p><h3>What this phase costs</h3><p>$25 once for android and $99 per year for iOS for the accounts. About a weekend of forms and setup, plus Google’s two weeks of testing for individual accounts. The second release is much faster, since everything is already in place.</p><p>KMP Starter kit is free and open source: <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">github.com/KotlinFoundation/kmp-contest-starter-kit</a>, with full documentation at <a href="https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/">https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd64d3629c02" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/kmp-starter-kit-part-3-publishing-your-app-in-the-stores-fd64d3629c02">Koko, KMP Starter Kit — Part 3: Publishing: Your App in the Stores</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Koko, KMP Starter Kit — Part 2: Integrations]]></title>
            <link>https://proandroiddev.com/koko-kmp-starter-kit-part-2-integrations-0220c2db0327?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/0220c2db0327</guid>
            <category><![CDATA[kmp]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 13:21:52 GMT</pubDate>
            <atom:updated>2026-08-30T16:48:57.735Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 2 of 4: the second phase of the </em><a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit"><em>KMP contest starter kit</em></a><em>. Firebase, sign in and a AI backend proxy, added only when your app needs them. New here? </em><a href="https://proandroiddev.com/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f"><em>Part 1</em></a><em> introduces the kit and gets your app running on your machine.</em></p><p>Your app runs on your phone and works offline. That was phase 1’s whole point. So why would you ever connect it to anything?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Gop372rihFQOCmMwul5Xw.png" /></figure><p>Three honest reasons:</p><ol><li><strong>Users switch phones.</strong> If data lives only on the device, it is lost with the device. Authentication (such as Sign in Google or Sign in Apple) allows people to keep their data synced and linked to their account.</li><li><strong>Some features need a server.</strong> If your app calls AI models, the secret API keys (like OpenAI API key, Replicate API key) can’t ship inside the app, where anyone can reverse engineer and use your API key. A small backend proxy holds the keys and makes the API requests.</li><li><strong>You want to know when it breaks.</strong> Crash reports tell you about bugs before the one star reviews do.</li></ol><p>If none of these apply to your app, skip this phase entirely. A piano map or a notes app can live its whole life offline. Come back when you need it. That’s the phase system working.</p><p>Still here? Good. Before touching any service, meet the three files that control all of this.</p><h3>The three files that hold your configuration</h3><p>The kit keeps configuration in exactly three places, and once you know them, nothing in this phase is mysterious.</p><p><strong>AppConfiguration.kt</strong> (in shared/src/commonMain/.../root/) is most important configuration file that your app needs. This is where you set things like:</p><ul><li>CLOUD_FUNCTIONS_URL — the url of your firebase backend, once you deployed one.</li><li>AUTH_SOCIAL_LOGIN_ENABLED — whether the app should show Google and Apple sign-in buttons.</li><li>PREMIUM_FEATURES_ENABLED — whether your app has paid features at all (by default it is false)</li><li>your privacy policy and terms URLs, and your contact email</li></ul><p>Nothing secret goes here. It’s committed to git like any other code.</p><p><strong>local.properties</strong> (in MobileApp/) is the opposite: this is where secrets and build config fields live: API keys, sign in client IDs, subscription keys. The file is gitignored, so it never leaves your machine. You already met it in part 1 when you set sdk.dir. Every other key in it is optional and labeled with the phase that needs it.</p><p><strong>gradle.properties</strong> contains one important switch: SUBSCRIPTION_PROVIDER. It determines which billing provider the app uses: Adapty or RevenueCat. (See Part 4 for more details; you can ignore this for now.)</p><p>And here’s the part that saves you from guessing. The kit ships a script that reads your config and tells you exactly what’s missing for each phase:</p><pre>./MobileApp/scripts/check_env.sh --phase integrations<br><br># getting-started | integrations | publishing | monetization | growth | all</pre><p>It prints a checklist: green for set, a warning for missing, and a note for keys you only need if you opted into something. Your AI assistant runs it too, so “what do I still need?” always has a real answer.</p><h3>Firebase Integration</h3><p>Firebase is Google’s box of ready backend services: user accounts, crash reports, analytics, push notification. Instead of renting a server and writing backend code, you create a project on their website and your app talks to it. The free tier covers a small app comfortably.</p><p>In the kit, setting it up is one guided sequence:</p><ol><li>Create a project at <a href="http://console.firebase.google.com">console.firebase.google.com</a>.</li><li>Register your Android app there. It needs your app id and a fingerprint called SHA-1, which can sound scary but is one command:</li></ol><p>./gradlew :androidApp:signingReport prints it, you copy it.</p><ol><li>Register your iOS app with your bundle id.</li><li>Download the two config files Firebase gives you: google-services.json goes into MobileApp/androidApp/, GoogleService-Info.plist goes into MobileApp/iosApp/iosApp/.</li><li>In the Authentication section, switch on <strong>Anonymous</strong> sign in, and optionally Google and Apple Sign In.</li></ol><p>That’s it. All the code that uses those files is already in your app.</p><p>Notice how this works with the AI assistant: the kit’s phase guide is written for it too, and it knows which steps only you can do. It runs commands, tells you exactly what to click in the console, then stops and waits until you confirm. All you need to tell your AI coding agent that, “I am in integration phase, and integrating firebase, guide me”</p><h3>Sign in, already built</h3><p>Why did we switch on <em>anonymous</em> sign in? Because nothing kills a first open like a login wall in mobile apps. Users start anonymously by default, no account, no friction, and can attach a real account later without losing their data. For most first apps, anonymous sign in is all you need, and you’re already done: the app signs users in silently, their data has an identity, done.</p><p>Want the “Continue with Google” and “Continue with Apple” buttons too? They already exist in the kit, screens and logic included. Enabling them is just configuration:</p><ol><li>Set AUTH_SOCIAL_LOGIN_ENABLED = true in AppConfiguration.kt.</li><li>Enable Google and Apple as sign in methods in the Firebase console, then re-download the two config files.</li><li>Copy one value (the web client ID) into GOOGLE_WEB_CLIENT_ID in local.properties.</li><li>On iOS: fill google client ID in Info.plist and tick the Sign In with Apple capability in Xcode.</li></ol><p>The kit’s enable-auth skill lists every detail you need.</p><h3>AI features</h3><p>If your app has no AI features, skip this section. If it does, we need few more things to do.</p><p>The problem: calling something like OpenAI, or Replicate needs a secret API key, and a secret inside a client app is not a secret. The proper answer is a small backend that holds this key and forwards requests. Writing one is exactly the kind of chore that kills side projects.</p><p>So the kit ships one. The Web/functions folder is a ready backend that runs on Firebase, checks that requests come from a signed in user of your app, and forwards them to OpenAI or Replicate with the key attached. Deploying it:</p><ol><li>Put your provider keys in Google’s Secret Manager (a console page, two clicks per key). They live on Google’s servers, never in your code.</li><li>From the Web/ folder: firebase deploy --only functions.</li><li>Copy the URL it prints into CLOUD_FUNCTIONS_URL in AppConfiguration.kt.</li></ol><p>But here’s the shortcut for while you’re still prototyping: you can skip all of that. Put your API key in local.properties (OPENAI_API_KEY or REPLICATE_API_KEY), leave CLOUD_FUNCTIONS_URL blank, and the app calls the provider directly. Since local.properties never leaves your machine, this is fine for testing on your own device. <strong>It&#39;s not good for a released app</strong>, because the key would ship inside the binary, and the kit&#39;s release checker (you&#39;ll meet it in part 3) will flag exactly that.</p><p>The nice part: the app picks the right mode on its own. Empty url, direct calls. URL set, everything routes through your firebase backend. Your app code doesn’t change at all between the two.</p><h3>What this phase actually costs</h3><p>An evening, roughly. Most of it is clicking through consoles and copying values, which nobody enjoys, and I won’t pretend otherwise. The guides and the assistant remove the “what do I click now” part.</p><p>Two more honest notes. Deploying the backend functions requires Firebase’s Blaze plan, which asks for a credit card; at prototype scale the bill rounds to zero, but the card ask surprises people. And the social sign in setup on iOS involves Xcode and the Apple developer portal.</p><p>At the end, run ./scripts/check_env.sh --phase integrations again. When it&#39;s green, run the app. It looks the same. But now a user can sign in, their data can survive a lost phone, crashes report themselves to you, and your AI feature works without shipping secrets.</p><p>Next post, the publishing phase: icons, signing, store listings, and getting your first release reviewed. The part everyone fears most, and the part the kit automates.</p><p>The kit is free and open source: <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">github.com/KotlinFoundation/kmp-contest-starter-kit</a>, with full documentation at <a href="https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/">https://kotlinfoundation.org/kmp-contest-starter-kit-documentation/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0220c2db0327" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/koko-kmp-starter-kit-part-2-integrations-0220c2db0327">Koko, KMP Starter Kit — Part 2: Integrations</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet Koko, the KMP Contest Starter Kit for Your First Mobile App]]></title>
            <link>https://proandroiddev.com/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffc256f5192f</guid>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 16:11:13 GMT</pubDate>
            <atom:updated>2026-08-12T16:35:17.131Z</atom:updated>
            <content:encoded><![CDATA[<p>Most first apps die before the first line of code.</p><p>Not because the idea was bad. Because of setup. Maybe you know this story: you have an app idea. You search “how to build a mobile app”. Forty minutes later you know this much: iPhone apps need a Mac, Xcode, and Swift. Android apps need Android Studio and Kotlin. So you have to build the app twice and with entirely different tools and languages.</p><p>Fine. You pick a beginner tutorial, and the questions start piling up. Which library saves data on the phone? What handles navigation between screens? Most apps seem to have onboarding screens, a login, a settings page, so you’ll need those too. Every choice has five options, and every option has its own setup guide. And some of the options you choose may not work well with other options you are using. By 11pm you have 41 open tabs and zero code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JngcJPbraoW_HFT3xru3Sg.png" /></figure><p>This series is about that wall, and about a free, open source project made to remove it: <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">Koko, the KMP Contest starter kit</a>. The kit organizes the whole journey into phases, and this series follows them: get started, connect services, publish, earn and grow. By the end of the series your app can be live on both Google Play and the App Store, maybe even earning money. By the end of this first post, your app will be running on your own device and turning into your own app.</p><h3>What is Koko?</h3><p>Koko is not a tutorial. It’s not an empty template either. It’s a complete, working starter app kit. You rename it and turn it into your own app.</p><p>It already has the parts every app needs and nobody wants to build: screens, navigation, ready UI components, a local database, settings, networking, permissions. The scary parts are there too: sign in with Google and Apple, subscriptions, push notifications, analytics, and storing your API keys securely outside of your app. They are built in but turned off until you need them. There are even scripts that make store screenshots and publish releases to the stores.</p><p>You start from a working app. Your only job is to make the app uniquely valuable to your users.</p><p>Two ideas make it work.</p><p>Idea one: write the app once. Koko uses Kotlin Multiplatform and Compose Multiplatform (KMP). You write the app once, and it becomes a real native app on both iPhone and Android. The same code also runs on desktop and in the browser, which is handy for quick testing.</p><p>Idea two: made for AI assistants. An AI assistant in an empty folder has to invent everything, and it will happily make a mess. Koko ships with guides and skills written for the assistant, not only for you. The agent reads them and learns where everything is, how screens are built, and which script creates what. You’ll see this in action below.</p><p>And one design rule: phases. Mobile development is still complex. Koko just doesn’t show you (or your agent) everything at once. Phase 1 is fully local: no Firebase, no accounts, nothing to register. The complex parts (backend, publishing, payments, analytics) live in later phases, each with its own guide, and you start a phase only when your app needs it. The hill you have to climb is still there. It’s just broken down into achievable stages, and each stage has a guide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EtWSbGBGRb7-3Wc6Uru1GA.png" /></figure><p>Enough talk. Let’s run it.</p><h3>First run</h3><p>You need two things installed:</p><ol><li>Android Studio and JDK 17 or newer. In Android Studio, also install the Kotlin Multiplatform plugin: Settings → Plugins → search “Kotlin Multiplatform”. The plugin is what makes the iOS, desktop and web run targets show up, not just Android.</li><li>A Mac with Xcode, but only for the iPhone build. You can skip it today; everything below works without it.</li></ol><p>Get the kit from <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">GitHub</a>:</p><pre>git clone https://github.com/KotlinFoundation/kmp-contest-starter-kit.git</pre><p>Before opening anything, a quick look at what you just downloaded, so the folders don’t feel like a maze:</p><ul><li>MobileApp/ — the app itself. This is where you&#39;ll spend almost all your time. Inside it, one shared folder holds the real code (screens, data, logic, shared by all platforms), and there&#39;s a small launcher folder per platform: androidApp, iosApp, desktopApp, webApp. There&#39;s also a scripts folder with the helper scripts you&#39;ll meet below.</li><li>Web/ — a ready website for your app: a landing page, plus a small backend you&#39;ll deploy in a later phase if your app ever needs one. Ignore it for now.</li><li>AiGuidelines/ — where your product plan will live (what the app is, its screens, its look), plus the guidelines the AI assistant follows while building.</li><li>skills/ — the step by step guides for each phase and task. Written for the AI assistant, readable by you.</li></ul><p>Now open the MobileApp folder in Android Studio, start an emulator (or plug in your phone), and run the androidApp configuration. The first build is slow. It downloads the tools and libraries once, so give it a few minutes. Then the demo app&#39;s onboarding screen appears on your device.</p><p>One project, four run targets in Android Studio: androidApp, iosApp, desktopApp and webApp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*qG2dPG4aptzz_BZzsFl65g.png" /></figure><p>Now try the same code elsewhere: pick desktopApp or webApp from the run configurations, or open the iOS project in Xcode if you’re on a Mac. Same code, same UI, different platforms.</p><h3>Quick Demo</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*1JKihzBTYPwlzCvy9yS7ZQ.gif" /><figcaption>Demo KMP Starter Kit App</figcaption></figure><p>Poke around the demo before changing anything. It’s a small AI image generator app: onboarding, bottom navigation with a home screen that generates images, a gallery showing locally generated images, an account screen, even a paywall running in a safe demo mode. Every piece you see, the onboarding flow, the settings, the permission dialogs, the paywall, is a piece your own app gets for free. It’s easier to keep what you need when you’ve seen it working first.</p><p>Notice also what you did NOT do to get here: no Firebase, no account, no key, no signup. That’s phase 1 working as designed.</p><h3>Make it yours</h3><p>You have a running app, but it’s the demo app. Time for changes where it becomes yours.</p><p>I’ll use one example idea: an app that shows public pianos on a map, where people can add pianos they find. We’ll call it PianoSpot. Your idea will be different. The steps won’t.</p><h3>Step 1: tell the assistant your idea</h3><p>Open the project in an AI coding assistant (Claude Code, Gemini, Codex, Cursor, or any agent that reads project instructions) and say what you want:</p><blockquote><em>You: </em>I want to build an app that shows public pianos on a map. People can add pianos they find, with a photo and a short note.</blockquote><p>Here’s what makes the kit different from an empty folder: the agent doesn’t start coding. The kit’s guides tell it to interview you first.</p><blockquote><em>Agent: </em>Before I build anything, a few questions. Who is this for, mostly travelers or locals? Should the map work without any account? Do you want pianos saved on the phone so the app works offline? What should open first, the map or a list?</blockquote><p>Answer in plain English. Rough answers are fine. The agent writes your answers into a short product plan inside the project: what the app is, who it’s for, which screens exist, and in what order. Every later step reads from that plan, so the app stays consistent even across many sessions.</p><p>It also asks for a name and an app id, then renames the whole project with the kit’s rename script. From this moment it’s not the demo anymore. It’s PianoSpot.</p><h3>Step 2: watch the screens appear</h3><p>Now the agent builds, and it uses the kit’s own generators instead of inventing structure. Two scripts do the heavy lifting.</p><p>One creates a local data model. “A piano has a name, a location, a photo and a note” becomes a real local database table on the phone, plus all the code to save and read pianos. Works offline, nothing in the cloud.</p><p>The other creates a screen. Each screen comes with three small parts: the screen (what you see), its UI state (the data it shows), and ViewModel that holds UI State and handles logic. That split sounds like a technicality, but it’s why the agent can change the look of a screen without breaking its behavior.</p><p>Both scripts also do the boring wiring. The new screen is connected to navigation. The new model is registered in the database. The project compiles after every step. This matters more than it sounds: agents in empty folders often produce code that almost works. Here the skeleton is always valid, and the agent only fills it in.</p><h3>Step 3: look at it before you run it</h3><p>Small thing, but very useful while iterating: you can ask the agent to show you any screen without launching anything.</p><blockquote><em>You: </em>Show me the map screen.</blockquote><p>The kit renders any screen to an image in a few seconds, using the screenshot testing tooling already built in. The agent sends you the picture, you say “make the pins bigger and the button yellow”, and it does. This tight loop is where the app starts to feel like yours. You’re art directing, not programming. When you’re happy, install it on your phone again and tap around.</p><h3>Step 4: let the kit check the work</h3><p>The kit ships with quality checks, the same ones its own developers run: code formatting, unit tests, UI tests that run without an emulator, and a full build. The agent runs them before calling anything done.</p><p>Be honest with yourself here: AI assistants make mistakes. They misread an instruction, they break a thing they touched yesterday. The checks exist because of that. When one fails, the agent sees the error and fixes it, and you mostly just watch it happen.</p><h3>If you stop halfway</h3><p>Real life interrupts. The kit expects that. Progress is written into checklist files inside the project as work happens, not at the end. So when you come back tomorrow, in a fresh session, the agent reads the checklist and continues from the first unchecked item. No “where were we”, no rebuilding what exists.</p><h3>No AI assistant? Still fine</h3><p>Everything above works without any AI agent too. The interview becomes you filling in a short product template. The rename and the generators are the same scripts, run from your terminal:</p><pre>./scripts/refactor_package.sh --app-id com.you.pianospot --app-name PianoSpot</pre><p>The checks are one Gradle command. The kit was built agent first, but it’s a normal, readable Kotlin project underneath, and some people prefer driving it themselves.</p><h3>A few honest notes</h3><p>It’s not ten minutes. The first build alone takes a while, and something will confuse you at least once. You need a Mac for the iPhone version, that’s Apple’s rule.</p><p>What you have by tonight: your own app, with your screens and your data, running on your phone, passing its checks. It works on a plane. It works in a basement. Nothing about it depends on any service. For a lot of apps, honestly, you could stop here and just use the thing you made.</p><h3>What’s next</h3><p>The rest of the series will follow the kit’s phases,:</p><p>Post 2, integrations: connect Firebase, sign in and a backend, only if and when your app needs them. Post 3, publishing: icons, signing, store listings, and your first release. Post 4, earning and growing: payments, analytics and push.</p><p>The kit is open source: <a href="https://github.com/KotlinFoundation/kmp-contest-starter-kit">github.com/KotlinFoundation/kmp-contest-starter-kit</a>, with full documentation. You already know what to do :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffc256f5192f" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/meet-koko-the-kmp-contest-starter-kit-for-your-first-mobile-app-ffc256f5192f">Meet Koko, the KMP Contest Starter Kit for Your First Mobile App</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Self-Host a Ktor Backend in Kotlin Using Dokploy]]></title>
            <link>https://medium.com/@mirzemehdi/how-to-self-host-a-ktor-backend-in-kotlin-using-dokploy-2b2f25048a53?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b2f25048a53</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[ktor]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[self-hosted]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sat, 29 Nov 2025 12:01:29 GMT</pubDate>
            <atom:updated>2025-11-29T13:16:29.876Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Deploy a Ktor Kotlin Backend Using Dokploy</h3><p>Let’s say you already have a backend written in Kotlin using <a href="https://ktor.io/">Ktor</a>. You tested everything locally, it works great, and now you want to deploy it so you can use it externally in your mobile apps or web.</p><p>That was exactly my situation too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0IGBLfi4pR0A_yZzu8tBkQ.png" /><figcaption>Deploying Ktor Kotlin Backend to your server</figcaption></figure><p>I downloaded a server template from KMP’s website (<a href="https://kmp.jetbrains.com">https://kmp.jetbrains.co</a>m), tested it locally, and everything was fine. But here’s the thing: <strong>I’m mainly a mobile developer</strong>, and I didn’t want to spend hours playing with VPS configs, Linux permissions, firewalls, Docker commands, Nginx configs, etc. I needed something super simple.</p><p>So I used <a href="https://dokploy.com/"><strong>Dokploy</strong></a> with a VPS server. <strong>Dokploy</strong> is an open-source deployment platform that gives you a <em>clean UI</em> for deploying your apps.<br>You literally click around in the browser to deploy your backend, add databases, check logs, manage environment variables, auto-deploy on push and more.</p><h3>🖥 Step 1 — Choose a VPS Server (I Used Hetzner)</h3><p>To host your backend, you need a VPS. I use <a href="https://www.hetzner.com/"><strong>Hetzner</strong></a> because it’s cheap and very reliable.</p><ol><li>Go to <strong>hetzner.com, </strong>Create a <strong>new project. </strong>Then <strong>Create Resource → Create Server. </strong>For Dokploy UI, choose <strong>at least 2GB RAM. </strong>I usually pick 4GB or 8GB RAM (cost-optimized → x86 Intel/AMD). Choose <strong>Ubuntu 24.04 </strong>(or latest) as the image.</li><li>Now you need to add an <strong>SSH key</strong> so you can connect securely to your VPS server.</li></ol><h4>Generate SSH key</h4><p>(these commands are tested in macOS)</p><pre>ssh-keygen -t ed25519 -C &quot;your_email@example.com&quot;</pre><p>You can leave the password empty if you want. I named my file name as: id_ed25519_hetzner. Now copy the public key:</p><pre>cat ~/.ssh/id_ed25519_hetzner.pub | pbcopy</pre><p>Paste the key into the SSH section when creating the VPS. Now your VPS is ready.</p><h3>🔌 Step 2 — Connect to Your VPS</h3><p>In your Hetzner dashboard, you’ll see the server’s IP.<br>Connect from you device using:</p><pre>ssh root@IP_ADDRESS -i ~/.ssh/id_ed25519_hetzner</pre><p>Replace IP_ADDRESS with your VPS IP.</p><h3>⚙️ Step 3 — Install Dokploy (and Docker)</h3><p>Once connected:</p><pre>curl -sSL https://dokploy.com/install.sh | sh</pre><p>This installs:</p><ul><li>Dokploy UI</li><li>Docker</li><li>Everything needed to deploy your Ktor app</li></ul><p>After installation, in your browser go to <strong><em>http://YOUR_VPS_IP:3000</em></strong></p><p>You’ll see the Dokploy dashboard 🎉</p><h3>📦 Step 4 — Prepare Your Ktor Backend for Deployment</h3><p>Before deploying, we need to <strong>Dockerize</strong> the project. In your build.gradle.kts, set:</p><pre>kotlin {<br>    jvmToolchain(17)<br>}</pre><h4>Add a Dockerfile</h4><p>Create a Dockerfile in the root of your project.</p><p>Paste this:</p><pre># Stage 1: Cache Gradle dependencies<br>FROM gradle:latest AS cache<br>RUN mkdir -p /home/gradle/cache_home<br>ENV GRADLE_USER_HOME=/home/gradle/cache_home<br>COPY . /home/gradle/app/<br>WORKDIR /home/gradle/app<br>RUN gradle dependencies --no-daemon<br><br># Stage 2: Build Application<br>FROM gradle:latest AS build<br>COPY --from=cache /home/gradle/cache_home /home/gradle/.gradle<br>COPY --chown=gradle:gradle . /home/gradle/src<br>WORKDIR /home/gradle/src<br>RUN gradle buildFatJar --no-daemon<br><br># Stage 3: Create the Runtime Image<br>FROM amazoncorretto:22 AS runtime<br>EXPOSE 8080<br>RUN mkdir /app<br>COPY --from=build /home/gradle/src/server/build/libs/*.jar /app/kotlin-backend.jar<br>ENTRYPOINT [&quot;java&quot;,&quot;-jar&quot;,&quot;/app/kotlin-backend.jar&quot;]</pre><h4>What this Dockerfile does</h4><ul><li>First stage caches Gradle dependencies</li><li>Second stage builds your fat JAR</li><li>Third stage runs your Ktor backend on Java 22</li><li>It exposes port <strong>8080</strong> for your API</li></ul><h3>🧩 (Optional but recommended) Create a Compose YAML</h3><p>I always add a docker-compose.yml, even if it’s simple now, later you can add PostgreSQL, Redis, etc.</p><p>docker-compose.yml:</p><pre>version: &quot;3.9&quot;<br><br>services:<br>  kotlin-backend:<br>    build: ./<br>    container_name: kotlin-backend<br>    restart: unless-stopped<br>    ports:<br>      - &quot;8080:8080&quot;<br>    expose:<br>      - &quot;8080&quot;</pre><h3>🚀 Step 5 — Deploy with Dokploy</h3><ol><li>Go to Dokploy dashboard</li><li>Create <strong>Project -&gt; </strong>Create <strong>Service -&gt; </strong>Choose <strong>Application</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NYzkUXiV7ccs5sgQs9sH7g.png" /></figure><p>3. In Deploy Settings-&gt; Provider section connect your <strong>GitHub repository</strong> (optional but recommended). Every push to main can auto-deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sfbq3aoKGevOhwuW6toFxA.png" /></figure><ol><li>In Deploy Section-&gt; <strong>Build Type</strong>, choose <strong>Dockerfile</strong></li><li>Dockerfile path: ./Dockerfile</li><li>Click deploy, or push some changes to main branch.</li><li>Now when you visit <a href="http://YOUR_SERVER_IP:8080">http://YOUR_SERVER_IP:8080</a> you should see your API response. Congrats, now your Ktor backend is live.</li></ol><p>In Dokploy, later you can easily from UI: Add your domain, Automatic HTTPS via Let’s Encrypt, Monitor logs, Restart services, Check metrics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b2f25048a53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Get the Most Out of Junie in a Kotlin Multiplatform Project]]></title>
            <link>https://medium.com/@mirzemehdi/how-to-get-the-most-out-of-junie-in-a-kotlin-multiplatform-project-3ce67d235e0a?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ce67d235e0a</guid>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[junie]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sun, 19 Oct 2025 18:45:55 GMT</pubDate>
            <atom:updated>2025-10-19T19:28:59.610Z</atom:updated>
            <content:encoded><![CDATA[<p>If I had to summarize this blog post in one sentence, I’d say <a href="https://www.jetbrains.com/junie/"><strong><em>Junie</em></strong></a><strong><em> </em></strong>(<em>a coding agent by JetBrains</em>) is actually really amazing to work with when building a <strong><em>Kotlin Multiplatform </em></strong>project. It helped me speed up my development a lot. But there are a few things I did along the way that made the whole process faster and the quality better. In this post, I’ll share 6 practical tips that worked for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eXEbFXE7wuo3MNLtYB0sWg.png" /><figcaption>Junie in Kotlin Multiplatform</figcaption></figure><p>Before talking about Junie, let me give a bit of context. I wanted to build a new <em>Kotlin/Compose Multiplatform</em> app to participate in the <a href="https://medium.com/u/8a0f3ed2baf0">RevenueCat</a> 2025 Shipaton Hackathon and compete in the Kotlin Multiplatform category. But each day, even though I had a rough idea, I still didn’t know how the app should look in terms of UI and UX. I just kept procrastinating. I think this is one of those things people don’t talk about when they say “AI doesn’t save time.” Yes, I still review the AI-generated code, and yes, it takes time to understand the logic, and yes I sometimes rewrite what AI suggested. But for me, the real time saving comes from overcoming that procrastination. As an indie developer, this makes a huge difference. Instead of overthinking everything and trying to make it perfect before I even start, I just tell the AI to “make it perfect 😄” and then I review it after. That’s where the time saving comes in. I don’t think this part gets mentioned enough when people talk about AI productivity.</p><p>Then I got an email saying I was selected as one of 20 developers to use Junie during the hackathon for free and at full power. I was like “yes, this is amazing.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*shPi4qNfQB-OjZoN4CRUYw.png" /><figcaption>email that I got access to Junie for 2 month for free during shipaton</figcaption></figure><h3>First Impressions of Junie</h3><p>When I first started using it, I noticed something interesting. It almost never produced compilation errors. About 90 percent of the time, the code it modified just worked. Of course, the functionality depends on how well you describe the task, but still, that was impressive. The downside was that it took a lot of time to complete a task. I had been using GitHub Copilot before, and that was at least twice as fast. Waiting for Junie to finish wasn’t fun.</p><p>Another thing I noticed was that when I asked it to build some UI, the result was very basic. Not ugly, but not great either. At that point I was giving very simple prompts something like “implement a home screen where users can generate some AI influencers.”</p><p>When I saw that, my initial reaction was why not build two mobile apps in parallel. While I was reviewing AI-written code for the first one, Junie could work on the second one. And that’s exactly what I did.</p><p>Here’s the livestream if you want to watch it: <a href="https://www.youtube.com/watch?v=O-_lR3pDHrM">https://www.youtube.com/watch?v=O-_lR3pDHrM</a></p><h3>What Helped Me Speed Things Up and Improve Quality</h3><h3>1. Change the default model to Claude Sonnet</h3><p>By default, Junie uses <strong><em>GPT-5</em></strong> model. In my experience, Claude Sonnet works better for code and for creative UI. This might change in the future, but for now Sonnet felt more solid to me. By changing the model, both code quality and UI/UX improved drastically.</p><p>You can change it in Settings → Junie → Models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UVSYwPyX1X_4pyB_mR4shQ.png" /><figcaption>Default model for Junie</figcaption></figure><h3>2. Use Junie guidelines properly</h3><p>In your project directory, create a .junie/guidelines.md file and write your project guidelines there. Things like what tech stack you’re using, what architecture you prefer, and any rules you want Junie to follow. I also create a prd.md file (Product Requirements Document) where I explain what the project is about, the tech stack, the user flow, monetization, and so on.</p><p>Whenever Junie makes a mistake, I ask it to fix the issue and then I also ask it to update my guidelines based on that fix. This is one of the best tips I can give. Over time the guide gets smarter, and Junie starts delivering better code right away.</p><p>For example, in the beginning Junie kept creating empty use cases and extra layers for no reason. It was clearly following some “Clean Architecture” patterns from GitHub. For an MVP this is just overengineering and a waste of time. So I explicitly added to the guidelines: <em>“Don’t overengineer. Don’t create empty use cases unless really needed.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*2JxBcVLAm7RRg4dDWgB4Aw.png" /><figcaption>Junie Guidelines</figcaption></figure><p>In the picture above, you can see the guidelines and prompts I use for my projects. In the prompts directory, there are a bunch of ready-to-use prompts for generating things like product design requirement documents, detailed UI/UX flows, monetization plans, onboarding flows, and more. I just go to ChatGPT, paste one of these prompts, give my rough app idea, and it generates each document in Markdown format one by one. Then I copy and paste those new guidelines into my guides/project directory (for example prd.md, onboarding.md, paywall.md, etc.)</p><p>I added a link in the end of the blog where you can copy and paste the exact guidelines and prompts I use for my own projects.</p><h3>3. Have a separate design system module and use Compose Hot Reload</h3><p>This one made a big difference for me for 2 main reasons. When you have a separate design system module, Junie can reuse existing UI components instead of creating new ones every time. It also makes your UI more consistent and gives you the ability to change the look of the whole app more easily. If the changes are only UI related, I just tell Junie not to compile the entire project, and compile only the JVM source set, which is way faster than compiling both Android and iOS. Since I use <a href="https://github.com/JetBrains/compose-hot-reload"><strong><em>Compose Hot Reload</em></strong></a>, I can see the result immediately. I also sometimes ask Junie to create a few variations of the same UI and then I pick the one I like most.</p><h3>4. Give Structured Prompts Instead of Plain Text</h3><p>One thing that really made a difference for me is how I write prompts. When you just type a quick idea in plain text, the results are often basic. But if you give a more structured prompt, Junie performs much better.</p><p>What I usually do is go to ChatGPT and type something like:<br> <strong>“Act as a prompt engineering expert. Improve the given prompt:”</strong></p><p>Then I paste my rough idea of what I want. If needed, I also include the prd.md document for extra context. ChatGPT then turns my messy idea into a clean, well-structured prompt. After that, I just copy and paste the improved prompt into Junie’s text area, and the results are almost always better and more accurate.</p><p>This small step saves a lot of time and gives a much stronger starting point for any task.</p><h3>5. Ask Junie to compile only the Android source set</h3><p>This one is more specific to Kotlin Multiplatform. By default, after making some changes, Junie rebuilds whole project (both Android and iOS). But in most cases I don’t even touch the iOS part of the code, because most of the work happens in the common source set. So I just ask Junie to compile only Android, and I test iOS manually if needed. Since iOS builds are very slow, seeing changes on android only is at least two times faster.</p><h3>6. Start with a boilerplate</h3><p>Junie (or any AI agent) works best when it has an existing project structure to follow. Instead of prompting it in an empty project, have a boilerplate ready even just mock implementations of some classes like ViewModel, Repository, data sources or basic UI. That way:</p><ul><li>It’s easier and faster to review generated code because you understand your own project’s architecture.</li><li>It won’t implement features in random ways each time, so it will be more deterministic.</li><li>Your architecture/code stays consistent.</li></ul><p>If you don’t have your own boilerplate, you can use something like <a href="https://kappmaker.com/"><strong><em>KAppMaker</em></strong></a>, which already has reusable UI components, in-app purchases, notifications, authentication, AI guidelines and more.</p><h3>Wrapping Up</h3><p>By the end of the hackathon, I was able to build two Compose/Kotlin Multiplatform apps: <a href="https://devpost.com/software/clipugc"><strong><em>ClipUGC</em></strong></a> and <a href="https://archgee-app.web.app/"><strong><em>ArchGee</em></strong></a>. ClipUGC <strong>won</strong> <strong>5th place in the Kotlin Multiplatform category</strong>, yaaayy :). Big thanks to <strong>JetBrains</strong> for Kotlin Multiplatform technology and and for giving me the chance to try Junie and to <a href="https://medium.com/u/8a0f3ed2baf0">RevenueCat</a> for making this hackathon happen.</p><p>You can download the AI prompts and guidelines I use from <a href="https://store.kappmaker.com/buy/4d80975e-6d5a-47da-998f-fed93a7d3cda"><strong>here</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ce67d235e0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Swift Packages in Kotlin Multiplatform using Koin]]></title>
            <link>https://proandroiddev.com/how-to-use-swift-packages-in-kotlin-multiplatform-using-koin-c7d24fdbbbd7?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7d24fdbbbd7</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[koin]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 13:48:10 GMT</pubDate>
            <atom:updated>2025-03-03T15:36:56.026Z</atom:updated>
            <content:encoded><![CDATA[<p>When developing Kotlin or Compose Multiplatform applications, sometimes dependencies are not supported in Kotlin Multiplatform, and we need a way to make them work. There are several ways to use Swift dependencies in Kotlin Multiplatform. If we’re lucky and the library has a CocoaPods dependency, some libraries expose Objective-C headers and can be used directly in Kotlin by including the CocoaPods dependency. But sometimes, that is not the case, and we are limited to writing Swift code only. However, we still need to provide this Swift implementation to our Kotlin Multiplatform project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lS25_M6me30l7knx163AHw.png" /><figcaption>Using Swift Libraries in Kotlin Multiplatform using Koin</figcaption></figure><p>In this blog post, I’ll go through using Firebase Analytics as an example, but this approach can be applied to any Swift dependency.</p><h3>Step 1: Create a Common Analytics Interface</h3><p>First, we need to create a common Analytics interface:</p><pre>interface Analytics {<br>    fun logEvent(event: String, params: Map&lt;String, Any&gt;? = emptyMap())<br>    fun setEnabled(enabled: Boolean = true) //Can be used based on user consent<br><br>    companion object {<br>        const val EVENT_SCREEN_VIEW = &quot;screen_view&quot;<br>        const val PARAM_SCREEN_NAME = &quot;screen_name&quot;<br>    }<br>}</pre><p>You can also add commonly used event names here. I also like to create an extra extension function to log each screen view:</p><pre>fun Analytics.logScreenView(screenName: String, params: Map&lt;String, Any&gt;? = emptyMap()) {<br>    logEvent(<br>        event = Analytics.EVENT_SCREEN_VIEW,<br>        params = mapOf(Analytics.PARAM_SCREEN_NAME to screenName) + (params ?: emptyMap())<br>    )<br>}</pre><h3>Step 2: Implement Analytics for Each Platform</h3><h3>Android Implementation</h3><p>In the androidMain source set, create FirebaseAnalyticsImpl:</p><pre>import android.os.Bundle<br>import com.google.firebase.analytics.FirebaseAnalytics<br><br>class FirebaseAnalyticsImpl(private val firebaseAnalytics: FirebaseAnalytics) : Analytics {<br><br>    override fun logEvent(event: String, params: Map&lt;String, Any&gt;?) {<br>        val bundle = Bundle().apply {<br>            for (entry in params ?: emptyMap()) putString(entry.key, entry.value.toString())<br>        }<br>        firebaseAnalytics.logEvent(event, bundle)<br>    }<br><br>    override fun setEnabled(enabled: Boolean) {<br>        firebaseAnalytics.setAnalyticsCollectionEnabled(enabled)<br>    }<br>}</pre><h3>iOS Implementation</h3><p>Since we don’t have CocoaPods dependencies in Kotlin Multiplatform, we need to create a Swift file in the iOS project. First, make sure you add FirebaseAnalytics dependency using Swift Package Manager. Then, in iosApp, create a new Swift file called FirebaseAnalyticsImpl:</p><pre>import Foundation<br>import ComposeApp<br>import FirebaseAnalytics<br>import FirebaseCore<br><br>class FirebaseAnalyticsImpl: ComposeApp.Analytics {<br>    func logEvent(event: String, params: [String : Any]?) {<br>        var eventParams: [String: Any] = [:]<br>        params?.forEach { key, value in eventParams[key] = &quot;\(value)&quot; }<br>        Analytics.logEvent(event, parameters: eventParams)<br>    }<br><br>    func setEnabled(enabled: Bool) {<br>        Analytics.setAnalyticsCollectionEnabled(enabled)<br>    }<br>}</pre><h3>Step 3: Provide Implementations to Kotlin Multiplatform with Koin</h3><p>Koin makes dependency injection easier. I assume you’re already familiar with providing platform-specific modules using Koin in Kotlin Multiplatform. If not, check out my blog post:</p><p><a href="https://medium.com/proandroiddev/achieving-platform-specific-implementations-with-koin-in-kmm-5cb029ba4f3b">Achieving Platform-Specific Implementations with Koin in KMP</a></p><h3>Android Side</h3><p>In platformModule, provide the implementation as a singleton:</p><pre>internal actual val platformModule: Module = module {<br>    single { FirebaseAnalyticsImpl(firebaseAnalytics = Firebase.analytics) } bind Analytics::class<br>}</pre><h3>iOS Side</h3><p>Since Kotlin can’t directly access Swift classes, we need a factory to create instances. First, create SwiftLibDependencyFactory in iosMain:</p><pre>interface SwiftLibDependencyFactory {<br>    fun provideFirebaseAnalyticsImpl(): Analytics<br>}</pre><p>Then, in iosApp, create SwiftLibDependencyFactoryImpl.swift:</p><pre>import Foundation<br>import ComposeApp<br>import SwiftUI<br>import UIKit<br><br>class SwiftLibDependencyFactoryImpl: SwiftLibDependencyFactory {<br>    static var shared = SwiftLibDependencyFactoryImpl()<br>    <br>    func provideFirebaseAnalyticsImpl() -&gt; any Analytics {<br>        return FirebaseAnalyticsImpl()<br>    }<br>}</pre><p>Although this requires some boilerplate code, the advantage is that you only need to do this once. When adding a new Swift library, just add a function in SwiftLibDependencyFactory and provide its implementation.</p><h3>Step 4: Connect Everything in Kotlin Multiplatform</h3><p>In iosMain, add a new koin module to manage the dependency:</p><pre>internal fun swiftLibDependenciesModule(factory: SwiftLibDependencyFactory): Module = module {<br>    single { factory.provideFirebaseAnalyticsImpl() } bind Analytics::class<br>}</pre><h3>Step 5: Provide SwiftLibDependencyFactoryImpl to Koin</h3><p>In iosMain main.kt, add an extension function to provide the module to the application:</p><pre>fun KoinApplication.provideSwiftLibDependencyFactory(factory: SwiftLibDependencyFactory) =<br>    run { modules(swiftLibDependenciesModule(factory)) }</pre><p>You probably initialize dependencies in your project something similar to this:</p><pre>object AppInitializer {<br>    fun initialize(onKoinStart: KoinApplication.() -&gt; Unit) {<br>        startKoin {<br>            onKoinStart()<br>            modules(appModules)<br>        }<br>    }<br>}</pre><p>In your Swift application, call:</p><pre>AppInitializer.shared.initialize(onKoinStart: { koinApp in<br>    koinApp.provideSwiftLibDependencyFactory(<br>        factory: SwiftLibDependencyFactoryImpl.shared<br>    )<br>})</pre><h3>Step 6: Use Analytics</h3><p>Now that everything is set up, you can inject Analytics anywhere in your Kotlin code. For example, in a Composable function:</p><pre>val analytics = koinInject&lt;Analytics&gt;()<br>analytics.logEvent(event = &quot;PurchaseButtonClick&quot;)</pre><p>Make sure to call analytics.setEnabled(true) at app startup or after obtaining user consent.</p><p>This approach ensures integration of any Swift dependencies into Kotlin Multiplatform while keeping everything organized using Koin in Kotlin Multiplatform project. And if you’re using <a href="https://kappmaker.com/?utm_source=blogpost&amp;utm_medium=post&amp;utm_campaign=swift_dependency_integration"><em>KAppMaker</em></a>, the boilerplate for this is already set up for you, so you can get started even faster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7d24fdbbbd7" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/how-to-use-swift-packages-in-kotlin-multiplatform-using-koin-c7d24fdbbbd7">How to Use Swift Packages in Kotlin Multiplatform using Koin</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Web Demos for Kotlin Multiplatform Apps]]></title>
            <link>https://proandroiddev.com/creating-web-demos-for-kotlin-multiplatform-apps-23bea697bf3e?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/23bea697bf3e</guid>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[wasm]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Tue, 17 Dec 2024 19:33:24 GMT</pubDate>
            <atom:updated>2024-12-19T03:31:35.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating Web Demos for Compose Multiplatform Apps</h3><p>Let’s say you’ve built a Compose Multiplatform (CMP) app that works perfectly on both Android and iOS. Now, you want to create a demo web version to increase downloads. Thanks to <a href="https://kotlinlang.org/docs/wasm-overview.html"><strong><em>Kotlin/Wasm</em></strong></a> and the <a href="https://github.com/KAppMaker/KMPDevicePreview"><strong><em>KMPDevicePreview</em></strong></a> library, we can easily make this happen. You can check out a sample web demo of the <a href="https://mirzemehdi.com/PianoSpot/"><strong>PianoSpot</strong></a> app, created by these tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJDIohI9Gu4_PlMjGBHbCA.png" /><figcaption>Kotlin/Wasm + KMPDevicePreview = Demo Mobile App</figcaption></figure><p>Kotlin/Wasm allows you to create a web version of your app using the same Compose views, but there’s one issue. When you use Kotlin/Wasm, the view will be shown like it’s on a desktop or big screen. This means users won’t get a true sense of how the app will look on their phone. That’s where the KMPDevicePreview library comes in. It lets us simulate how the app will look on a specific device, making it feel more realistic.</p><p>For this demo, I’ll walk through a simple app, but the process can be applied to nearly any Compose app or UI components. There might be some challenges when applying this to every app, but don’t worry — I’ve also shared some of the challenges I faced and how I overcame them in this blog.</p><h3>Step 1: Set Up Your Project</h3><p>First, open your existing project. I’m using a simple project generated from the Kotlin Multiplatform Wizard (you can find it <a href="https://kmp.jetbrains.com/">here</a>). If your project already includes a WebAssembly (Wasm) target, you can skip the next step. If not, follow these simple steps:</p><ol><li>In your composeApp/build.gradle.kts file, add the WasmJs target:</li></ol><pre>kotlin {<br>    androidTarget {<br>        //...<br>    }<br>    //....<br><br>    @OptIn(ExperimentalWasmDsl::class)<br>    wasmJs {<br>        moduleName = &quot;composeApp&quot;<br>        browser {<br>            val rootDirPath = project.rootDir.path<br>            val projectDirPath = project.projectDir.path<br>            commonWebpackConfig {<br>                outputFileName = &quot;composeApp.js&quot;<br>                devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply {<br>                    static = (static ?: mutableListOf()).apply {<br>                        add(rootDirPath)<br>                        add(projectDirPath)<br>                    }<br>                }<br>            }<br>        }<br>        binaries.executable()<br>    }<br><br>  //....<br>}</pre><p>2. Then, create a wasmJsMain directory in composeApp/src. Android Studio will suggest this automatically. Inside wasmJsMain, create the kotlin and resources directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*QzchpyPXnruup5IOOt3MoA.png" /><figcaption>Kotlin/Wasm sourceset</figcaption></figure><p>In the kotlin directory, create a main.kt file with the following code:</p><pre>import androidx.compose.ui.ExperimentalComposeUiApi<br>import androidx.compose.ui.window.ComposeViewport<br>import kotlinx.browser.document<br><br>@OptIn(ExperimentalComposeUiApi::class)<br>fun main() {<br>    ComposeViewport(document.body!!) {<br>        App()<br>    }<br>}</pre><p>In the resources directory, create an index.html file:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<br>    &lt;title&gt;DemoApp&lt;/title&gt;<br>    &lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;styles.css&quot;&gt;<br>    &lt;script type=&quot;application/javascript&quot; src=&quot;composeApp.js&quot;&gt;&lt;/script&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>And a styles.css file:</p><pre>html, body {<br>    width: 100%;<br>    height: 100%;<br>    margin: 0;<br>    padding: 0;<br>    overflow: hidden;<br>}</pre><p>3. To run the web version of your project, run:</p><pre>./gradlew wasmJsBrowserRun</pre><p>You should see your app running in the browser, but it’s not mobile-friendly yet. We’re not just creating a web version of our app — we’re building a mobile demo version. To achieve this, the next step is to include the KMPDevicePreview library.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lhomEHSwVp23n24Li21oSw.gif" /><figcaption>Kotlin/Wasm Web version</figcaption></figure><h3>Step 2: Add KMPDevicePreview</h3><p>The KMPDevicePreview library is easy to use and works across Android, iOS, WasmJs, JS, and desktop targets. To add it, include the following dependency in your commonMain:</p><pre>implementation(&quot;com.kappmaker:kmpdevicepreview:1.0.0-alpha02&quot;)</pre><p>Check the <a href="https://github.com/kappmaker/kmpdevicepreview">GitHub Repo</a> for the latest version — at the time of writing, it’s 1.0.0-alpha02.</p><p>After adding the library, run ./gradlew kotlinUpgradeYarnLock command. Otherwise, you might see the following error: &gt; Task :kotlinStoreYarnLock FAILED.</p><h3>Step 3: Wrap Your Composable with DevicePreview</h3><p>Now, return to your main.kt file and wrap the root App composable with DeviceWithConfigurationView like this:</p><pre>DeviceWithConfigurationView {<br>    App()<br>}</pre><p>This will simulate the app as if it’s running on a device, giving users a realistic preview of what to expect before downloading:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WF63fkE6RTALQao5jJ4LLA.gif" /><figcaption>KMPDevicePreview for Demo Compose Multiplatform App</figcaption></figure><p>You can select different device sizes and configurations (portrait or landscape). This lets you show how your app will look on various device sizes.</p><h3>Advanced Configuration and Challenges I Faced</h3><p>In this basic setup, we’ve managed to create a simple demo web version of a Kotlin Compose Multiplatform app. However, creating the demo web app for <a href="https://mirzemehdi.com/PianoSpot/"><strong><em>PianoSpot</em></strong></a> wasn’t without its challenges. Below, I’ll share the advanced configurations I implemented and the challenges I encountered while building the demo web app, along with the solutions I used.</p><h4>Advanced Configuration</h4><p><strong>Custom Device Preview</strong></p><p>For previewing a specific simulated device without including the configuration view, you can use SimulatedDevicePreview. Here&#39;s how it works:</p><pre>SimulatedDevicePreview(<br>    simulatedDevice = SimulatedDevice(<br>        device = Pixel6(), // Use a predefined device or create your own<br>        configuration = DeviceConfiguration(isDarkMode = true, isPortrait = true) // Set dark mode and orientation<br>    )<br>) {<br>    // Your composable content<br>    App()<br>}</pre><p>In this example, you can either use predefined devices like Pixel6 or create a custom device by implementing the Device interface and overriding its size properties. This gives you the flexibility to test how your app looks on different devices.</p><p><strong>Theme Configuration</strong></p><p>For testing light and dark modes in the preview, use SimulatedDeviceThemeIsDark.current:</p><pre>val isDark by SimulatedDeviceThemeIsDark.current<br>MaterialTheme(colorScheme = if (isDark) darkColorScheme() else lightColorScheme()) {<br>    // Your composable content<br>    App()<br>}</pre><p>This setup allows you to test how your app behaves in both dark and light mode, ensuring that your design is consistent across different themes.</p><h4>Challenges</h4><p><strong>1. Dependencies Not Supporting Wasm Target</strong></p><p>A main challenge I faced was the lack of support for certain dependencies when targeting the wasmJs platform. Some libraries, such as Room (for local storage) and RevenueCat (for in-app purchases), do not yet support wasm. This is understandable, given that wasmJs is still in its alpha stage, and not all libraries are expected to support it.</p><p>While this could be a problem, the main goal of the demo web app is to showcase the app’s interface and interactivity, not to replicate every feature of the native app. Therefore, excluding unsupported features like local storage and in-app purchases makes sense for the web version.</p><p><strong>Solution:</strong></p><p>To address this, I came up with two possible solutions:</p><p><strong>Simple Solution:</strong></p><p>The simpler solution was to create a separate module for the web demo app. Instead of creating a new wasmJs source set in the main composeApp module, I copied the composeApp module and renamed it to webApp. This webApp module only contains a wasmJs source set and minimal dependencies—mainly composable views and navigation—enough for the demo app.</p><ul><li>In the webApp module&#39;s build.gradle.kts file, I removed all dependencies that were not wasmJs compatible, keeping only the essentials. If I needed to use a feature from another library that wasn&#39;t wasmJs compatible, I simply removed that part or displayed a message informing the user that the feature was unavailable in the web demo.</li><li>The downside to this approach is that when I update a view in the main composeApp module, I have to also update it in the webApp module. However, since the demo app is just for preview purposes, this trade-off is acceptable. You can also create a separate UI module for composables to avoid duplication, but I found that copying the composeApp module and removing unsupported parts was faster and easier.</li></ul><p><strong>Complex Solution:</strong></p><ul><li>A more complex approach would involve creating a separate module for each unsupported library, creating abstractions for those libraries, and implementing actual code for supported platforms while providing fallback messages or fake implementations for the wasmJs target. This would keep the project up-to-date with the latest changes, but I felt this approach was overly complicated and didn&#39;t provide significant benefits for the demo app.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23bea697bf3e" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/creating-web-demos-for-kotlin-multiplatform-apps-23bea697bf3e">Creating Web Demos for Kotlin Multiplatform Apps</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Launch Apps Quickly with KAppMaker’s Kotlin Multiplatform Boilerplate]]></title>
            <link>https://medium.com/@mirzemehdi/launch-apps-quickly-with-kappmakers-kotlin-multiplatform-boilerplate-decc424d8626?source=rss-31b52dcbf3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/decc424d8626</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <dc:creator><![CDATA[Mirzamehdi Karimov]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 12:09:39 GMT</pubDate>
            <atom:updated>2024-11-24T12:09:39.203Z</atom:updated>
            <content:encoded><![CDATA[<p>Every time I had a new mobile app idea, the process started with excitement but quickly turned into frustration. I’d spend the first 5–6 days setting up the same things — authentication, notification, navigation, in-app purchases — just to get to the interesting parts. By the time I was ready to actually build the features I cared about, I’d lose motivation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbSmyJmjKGfZSbecwwRQSw.png" /></figure><p>Sound familiar?</p><p>After 6 years of mobile development and dealing with this over and over, I decided to fix it. That’s how <a href="https://kappmaker.com/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=kappmaker_launch"><strong>KAppMaker</strong></a> was born — a <strong><em>Kotlin Multiplatform</em></strong> &amp; <strong><em>Compose Multiplatform boilerplate</em></strong> to help developers skip the boring setup and dive straight into building native apps for both android and ios.</p><h3>Why KAppMaker?</h3><p>I built KAppMaker because I wanted a boilerplate that’s simple but powerful and flexible to change. It gives you all the essential building blocks so you can focus on the creative parts of app development.</p><p>For example, I built <a href="https://pianospot.measify.com/"><strong>PianoSpot</strong></a>, an app to find public pianos worldwide, in just <strong>5 days</strong> using KAppMaker. And here’s something crazier: I challenged myself to build and publish a fully functional Android and iOS app <strong>in just 6 hours </strong>live. It had authentication (Google and Apple Sign In), in-app purchases for premium feature, local storage for favorites, sending push notifications, requesting network request, and more. You can watch full <a href="https://www.youtube.com/watch?v=6olW6pnx0B8">video</a> where I built and published android and ios app at the same time using almost all features of KAppMaker</p><p>If I can do that, imagine how much faster you can ship your app ideas!</p><h3>What’s Included</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C46a8faU4Oup8kurNSChag.png" /></figure><p>KAppMaker comes with essentials you need to get started:</p><ul><li><strong>Authentication</strong>: Google, Apple sign In</li><li><strong>In-app purchases</strong>: Add premium features or subscriptions.</li><li><strong>Push Notifications</strong>: Send push notifications to your users.</li><li><strong>Account management</strong>: User Logout and deletion built-in.</li><li><strong>Navigation &amp; onboarding</strong>: Prebuilt components to save hours of work.</li><li><strong>Local storage</strong>: Save user preferences or favorites easily.</li><li><strong>GitHub Actions</strong>: Automate builds and publishing for Android and iOS.</li></ul><p>It’s flexible too — you can generate screens with a single script and add new features without touching the core boilerplate.</p><h3>Who’s It For?</h3><p>KAppMaker is for developers, indie creators, and startups who want to ship faster. Whether you’re building an MVP or a production-ready app, it gives you core essentials. You need to have a skill with Kotlin &amp; Compose Multiplatform technology though, it is not a no code builder.</p><h3>Ready to Build Faster?</h3><p>If you’ve ever abandoned an app idea because of all the tedious setup, <a href="https://kappmaker.com/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=kappmaker_launch">KAppMaker</a> is for you. Check it out on <a href="https://kappmaker.com">kappmaker.com</a> and let me know what you think!</p><p>I’d love to hear your thoughts, feedback, or even feature requests.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=decc424d8626" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>