Submitting to the Store
Every mini app in the Mini Apps store was sent in by a developer and reviewed by the Kamoji team. This page walks through the whole path: what to prepare, how to send it, the checks it goes through, and what happens after.
In short:
- You send the mini app's
.zipwith its store listing, on developer.kamoji.bot or from the Web IDE. - The store rules are checked right away. A bundle that breaks them is refused with the reason.
- The submission is In review. Automated checks run: a code review, and a test on a real Kamoji with screenshots.
- The Kamoji team looks at the mini app and the results, then: Approved (live in the store), Changes requested (you update it and it goes back to review), or Not approved.
You get an email at each step.
Before you submit
A good submission is quick to approve. Check these first:
- The manifest.
A unique
id, a clearname, aversionlike1.0.0, and only thepermissionsthe mini app really uses (see Manifest and Settings). Store users see every permission on the listing. min_firmware: the oldest firmware the mini app needs, e.g."0.3.0"for Bluetooth services or HTTP requests. The device test uses it to pick the firmware.- Default settings that work.
The test runs your mini app with its default
params.secretparams are empty there, and no phone is connected. Kamoji has Wi-Fi with internet access during the test. Show something sensible without them (for example "Set your API key in the Kamoji app"). - Test it on your own Kamoji first, with the command line tool or the Web IDE: no Lua errors, no CPU budget warnings in the log.
- A listing: a one-line summary (up to 140 characters) and a description (up to 4,000) that says what the mini app shows, how to use it, and what it needs (an MQTT broker, an OBD adapter, a phone…).
- Screenshots: up to six. You can also pick from the ones the test takes for you (see Screenshots).
- An icon (optional): square, at least 256 × 256 px.
The developer terms you agree to when you send it:
- You made the mini app or have the right to publish it, including its images and fonts.
- It does what its listing says, and sends data only where the listing and its permissions make clear.
- It has no hidden, harmful or offensive content, and no secrets of others (API keys, passwords).
- The Kamoji team may review its code, ask for changes, decline it, or remove it from the store later.
How to submit
On developer.kamoji.bot
- Sign in at developer.kamoji.bot with your email: you get a sign-in link, no password needed.
- Choose Submit an app in the header. For a new version of one of your apps, use New version next to it on Your apps.
- Pick the
.zip: the mini app folder's contents, withmanifest.jsonat the root (see Packaging a mini app). The app id, name, version and permissions come frommanifest.json. - Fill in the summary and description, add screenshots (PNG, JPEG or WebP, up to 2 MB each) and an icon if you have one.
- Tick I agree to these terms and press Send for review.
You get a confirmation email, and your first submission earns you the Developer badge.
From the Web IDE
In the Web IDE,
press Submit to the store.
It checks the mini app, tells you whether it is a new app
or a new version, and sends the same .zip as Download .zip,
with the summary, the description and, if you like,
the screenshots you took of your Kamoji.
Limits
- The
.zip: up to 2 MB, at most 64 files, 2 MB once unpacked. - At most 10 submissions a day.
Store rules on upload
The moment you send it, the bundle is checked. If it breaks a rule, nothing is submitted: the page says The app bundle is not valid. with the reason.
| Rule | Fix |
|---|---|
A real .zip: not encrypted, no links, no duplicate entries | Zip the folder's contents again |
manifest.json at the root of the zip (or inside one top folder) | Zip the contents of the folder |
| Up to 64 files, 2 MB in total | Shrink images and fonts, drop unused files |
| Paths up to 63 bytes and 3 levels deep, no absolute paths or backslashes | Shorten folder and file names |
id: lowercase letters, digits and -, 2 to 40 characters, starting with a letter or digit | Change the id |
version like 1.0.0 | Use three numbers |
api_version a whole number | Use 1 |
Known permissions, features and platforms only | See Manifest and Settings |
Images in assets/ that exist, are PNG or GIF, and fit the size limits | See Your own files |
A valid fonts table, with font files that exist | See Fonts |
min_firmware "0.3.4" or later for a mini app with its own images, fonts or drawing | See Firmware 0.3.4 features |
min_firmware "0.3.9" or later for a mini app using c:lines, c:area, fade_to, fill_to or gradient | See Firmware 0.3.9 features |
And for the store itself:
| Message | What to do |
|---|---|
| The app id "…" belongs to another app in the store | Choose another id in manifest.json |
| Another developer already submitted an app with the id "…" | Choose another id |
| Version … is not newer than the store version … | Raise version in manifest.json |
| Version … of this app is already waiting for review | Raise version, or withdraw that submission first |
The command line tool and the Web IDE run the same checks on every save, so you see these before you upload.
Statuses
Your submissions are listed under Submissions on Your apps, each with its status:
| Status | What it means |
|---|---|
| In review | The Kamoji team is reviewing it. You can still edit it |
| Changes requested | See the note from the team, then send an update |
| Approved | Live in the store |
| Not approved | See the reason from the team |
| Withdrawn | You withdrew it, or a newer submission replaced it |
While a submission is In review or Changes requested, you can Withdraw it: the team won't review it.
Each submission page has a Conversation with the Kamoji team: the team's notes, and your replies.
The automated checks
Every new app and every new version goes through two checks while it waits for the team. A change to the store listing only (name, text, screenshots, icon) gets a check of its text, not these.
Code review
The mini app's code and listing are reviewed for:
- What the mini app does, compared with what its listing says.
- Where data goes: MQTT, web requests, the phone, Bluetooth.
- Each permission: is it used, and does the mini app need it?
- Secrets written into the code (passwords, API keys), hidden or obfuscated code, anything harmful.
- For a new version: what changed since the store version.
The result goes to the Kamoji team, who decide. If something needs fixing, the team tells you in its note.
Test on a real Kamoji
The Device test on a Kamoji box on your submission page
shows this test.
It runs on one of our own Kamojis, with the newest firmware
that meets your min_firmware,
one mini app at a time,
and takes 4 to 8 minutes once it starts.
The Kamoji is on Wi-Fi with internet access,
so a mini app that uses HTTP requests
can fetch its data during the test.
What the test does:
- Installs your mini app (and only yours) on the Kamoji.
- Restarts Kamoji and checks that the firmware accepts the mini app. A mini app with Bluetooth services gets one more restart, so the services start.
- Opens the mini app, takes a screenshot, and watches it for a few seconds: crashes, restarts, Lua errors, the CPU budget.
- Takes screenshots: the scenes in your
screenshots.json(see Screenshots), or else after a tap and a hold on the top. At most 8. - Opens at start-up: Kamoji reopens the last mini app on its screen when it starts, so the test restarts Kamoji 3 times with your mini app on screen. Each time it checks that the mini app comes back, and watches it for 20 seconds: no crash, no Lua error, no restart.
- Bluetooth services at start-up: the test starts Kamoji 5 more times the way it starts in a car: its power is cut and switched back on, and nothing reads its USB log. After each start it checks from a computer, over Bluetooth, that your mini app is back on screen and that its Bluetooth services are there and ready.
You see the result, each check with a one-line detail, the timings and memory, and the errors from your mini app's own code.
| Result | What it means |
|---|---|
| Passed | Installed, booted, opened and ran without errors |
| Passed with warnings | It ran, but something should be looked at |
| Failed | At least one check failed: see the first line of the box |
| Skipped | The test could not apply, e.g. no firmware matching min_firmware yet |
| Could not run | A problem on our side: the team will look at it, nothing to do for you |
The checks, and what makes them fail or warn:
| Check | Fails or warns when | Fix |
|---|---|---|
| Accepted by the firmware | The firmware refused the manifest (the reason is shown) | Fix the manifest; check min_firmware |
| Bluetooth services registered | A mini app's services did not start | See Bluetooth Services |
| Opened | The mini app didn't open, or took more than 1 s to start (warning) | Do less in on_enter and at load time |
| No crash or restart | Kamoji crashed or restarted with the mini app on screen | Find the cause with the log on your own Kamoji |
| Kept running | Kamoji stopped the mini app | See the reason in the detail |
| No Lua errors | Your code raised an error (the lines are shown) | Fix the line it names |
| Within the CPU budget | An evaluation took more than 20 ms (warning) | Do less per update, cache results |
| No long main-loop stalls | The mini app held Kamoji up for too long (warning) | Split long work into smaller steps |
| Screenshots | No screenshot, or a wrong one | Usually a crash or a blank screen: see the other checks |
| screenshots.json | Your screenshots.json is invalid: the default screenshots were used (warning) | Fix the file |
| Opens at start-up | A crash or Lua error after a restart; or the mini app didn't come back (warning) | Make the start-up path safe: don't assume Wi-Fi or data is there yet |
| Bluetooth services at start-up | A start where your mini app's Bluetooth services didn't come up (the round and the error are shown); the advertised UUID never seen, or the mini app not back on screen (warning) | Usually Kamoji's side, not your mini app: the team looks at it. Check that your services and advertising match Bluetooth Services |
Some lines are about our test Kamoji, not your mini app, such as Leveling screen at boot.
Re-run device test runs it again while the submission is open, up to 3 times a day. Replacing the bundle runs it again by itself.
Screenshots
The test's screenshots show under Suggested by the test: 240 × 240, shown like Kamoji's screen. While the submission is open, Add the ones you like to Your screenshots (up to 6), or Remove one. After approval, Use as my screenshots (listing change) sends them as a listing change.
To choose what the test shoots, add a screenshots.json to your
mini app: a list of scenes, each opening the mini app with some
values set first.
[
{ "name": "count", "caption": "Count taps and bumps", "set": { "state.n": 7 } },
{ "name": "high", "caption": "Turns red from 10", "set": { "state.n": 23 } }
]
Each scene can also have gestures (top_tap, top_hold, pinch,
left_tap, right_tap) and wait_ms (how long to wait before the
picture, default 800).
The caption goes with the suggested screenshot.
Changes requested
When the team asks for changes, the submission page shows Action needed: changes requested with the team's note, and you get an email.
Then, on the same submission:
- Reply in the conversation, if you have questions.
- Edit the summary or the description, or change the icon and the screenshots.
- Replace bundle with a fixed
.zip: the sameid, the same or a higherversion. The code review and the device test run again; your screenshots stay. Up to 10 new bundles a day.
Any update sends the submission back to In review. A brand-new submission of the same mini app also works: it replaces the one that was sent back for changes.
Not approved is final for that submission, but you can reply: the team may reconsider and reopen it.
Approval
When the team approves it, the mini app is live in the store right away, and you get an email with its store link. Kamoji owners find it in the Mini Apps store on kamoji.bot and on the Apps screen of the Kamoji app. The team usually answers within a few working days. To hear about results in your browser too, turn on notifications on the developer site (offered right after you send a submission, and in the header).
New versions
To update a mini app that is in the store:
- Raise
versioninmanifest.json. It must be higher than the store's. - Send it with New version on Your apps, or Submit to the store in the Web IDE. Leave the summary, description or screenshots empty to keep the store's.
- It goes through the same review and the same device test as a new app. The store keeps the current version until the new one is approved.
The device test a version passed in review stays with that version in the store.
From Your apps you can also:
- Edit store listing: name, summary, description, screenshots, icon. Reviewed before the store changes.
- Remove from store: takes the mini app out of the store at once. Kamojis that installed it keep it.
- Re-list a removed mini app: it is reviewed again.