the idea to put a switch in the Android app (and match it in the iOS app)
The point is that the Android and iOS apps both call require("messages").pushMessage(...), which launches the default messages app.
So if you edit messages/lib.js, you only need to change that instead of two apps.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The point is that the Android and iOS apps both call
require("messages").pushMessage(...)
, which launches the default messages app.So if you edit
messages/lib.js
, you only need to change that instead of two apps.