Skip to content

Latest commit

 

History

History

examples

Examples ladder — learn oka by building

Six steps, smallest first. Each has a five-minute README and a tool/oka_pipeline.dart you can copy into your own app verbatim.

Step You learn Prereqs
01 hello app The smallest oka build: one Dart config file, one command Dart, Flutter, Android SDK (oka get android-sdk)
02 dev loop Hot reload / hot restart with oka dev 01
03 release signing Release builds: signing, R8, provenance, oka run verify 01
04 stores & accounts Play + AppGallery + RuStore targets, two Play accounts, white-label brands 03
05 web stores Typed web shell, GitHub Pages + itch.io deploy Dart, Flutter
06 live patch Patch a running app via the air channel (oka ship) the oka repo checkout

Steps 01–05 are runnable in place. Step 06 is a guided demo: the live-update stack is checkout-only (oka_dart_kernel/oka_update are not on pub.dev), so its README walks you through packages/oka_dart_kernel/example/live_showcase/ inside this repo rather than a standalone project.

The one rule across all of them: the build config is Dart you own. No plugin DSLs, no hidden defaults — everything below is copy-paste and type-checked.

Running from this repo? The full reference app lives in example/ — every feature composed in one file.