KaiOS was founded in 2016, but 8 years later key tools are missing from the KaiOS developer experience (DevEx).
By the numbers As of January 2024, the KaiStore has 1,440 KaiOS 2.5 apps but only 520 KaiOS 3.0 apps. 3 years after launching, notable 3.0 omissions include both Facebook and WhatsApp.
In 2023, hackers enabled sideloading on the Nokia 2780 Flip running KaiOS 3.1, the first time a KaiOS 3.x device was hacked. Input sanitization vulnerabilities in the Engmode API allowed attackers to dump system partitions, which can be subsequently modified (i.e. to include third-party apps) and flashed via custom recovery.
However, as of the time of writing, there are still no KaiOS 3.x devices with DevTools enabled. This inability for engineers to test and debug their applications on actual devices limits interest from amateur and professional developers alike.
Recommendation: offer developers access to DevTools, either via custom engineering models or a feature to remotely enable DevTools access.
KaiOS 3.0 changed application structure, available permissions, and migrated many APIs to api-daemon forcing KaiOS 2.5 developers into time-consuming refactors. Developer Garrett Downs started on a library to address these inconsistencies, but it remains only partially completed.
Recommendation: streamline development for both major versions by providing a standard library like the Android Support Library for interacting with platform-specific APIs for Volume, Web Activities, and more.
This blog was started to fill gaps in KaiOS developer documentation. Another way to make KaiOS development more accessible is offering a standard way to interact with proprietary APIs.Many software development kits (SDKs) like the AWS SDK provide static type declarations for their APIs.
This is a very condensed way of giving a lot of the information about APIs including function names, parameters, return types, etc. Plus modern integrated development environments (IDEs) natively support autocomplete using these definitions. What’s more, KaiOS is already halfway there! Nearly all platform APIs are backed by Web Interface Definition Language (WebIDL) files, which contain all of the same information.
Recommendation: provide an NPM package containing TypeScript Type Declarations for KaiOS-specific APIs, i.e.
Pro Tip: ChatGPT can actually convert WebIDL files to Typescript Type Declarations!
KaiOS development is effectively an extensions of developing progressive web apps (PWAs). However, challenges in the developer experience affecting testing, debugging, documentation, and platform inconsistency have resulted in fewer KaiOS 3.0 applications. Navigating these obstacles can be difficult and time-consuming. If you need an experienced partner to guide your KaiOS development, contact the author from the About page.