GenericJam
Mob 0.9.22 has been released.
Added
Mob.Speech.voices/0: the text-to-speech voices installed on the
device, as{:ok, [%{id, name, language, quality, network}]}sorted by
language, then best quality, then name, on-device before network (iOS
AVSpeechSynthesisVoice.speechVoices, AndroidTextToSpeech.getVoices,
leaving out voices whose data isn’t downloaded).qualityis
:very_low | :low | :normal | :high | :very_highon both platforms. It
blocks the caller (on Android until the engine starts, at most 5 s) and
returns{:error, :unavailable}when the engine didn’t start or
{:error, :unsupported}off device or on an older native build or bridge.speak/3’s:voicetakes a voice id fromvoices/0as well as a
BCP-47 language tag. An exact id match wins; otherwise it’s a language tag;
a value that’s neither speaks with the system default voice.- End-of-speech events (part of MOB-453). The process that called
speak/3gets{:speech, :done}when its utterance finishes,
{:speech, :cancelled}whenstop_speaking/1interrupts it, and on Android
{:speech, :failed}when the engine can’t speak it. - Upgrading: the iOS half is in
ios/mob_nif.mand the Android NIF in
android/jni/mob_nif.zig, so rebuild natively (mix mob.deploy --native).
Android also needs theMobBridge.kttext-to-speech block from mob_new
0.6.14 (ttsSpeakFor,ttsVoices, the reworkedttsSpeak/ttsStop, and
thettsAppContextline inMobBridge.init; mob_new’s CHANGELOG has the
steps) and
anandroid.intent.action.TTS_SERVICEentry in the manifest’s<queries>;
without that entry, API 30+ hides the TTS engine from the app. With an
older bridge,voices/0returns{:error, :unsupported}andspeak/3
still speaks, with:voiceas a language tag only and no events.
Changed
- Android:
:rate,:pitchand:voiceapply to one utterance, as on
iOS (with mob_new 0.6.14’s bridge).TextToSpeechkept them between calls,
so aspeak/3without:voiceused whatever voice the previous call chose.
Options left out now use the user’s text-to-speech settings.
Documentation
:scroll’saxisprop is in the components guide (#212). Horizontal
scrolling worked on both platforms but the:scrollreference called it a
vertical container and leftaxis(andshow_indicator) out of its prop
table. The table now lists them, with an example and which props are
vertical-only; the guides use the string form"horizontal"throughout.
Link: Release 0.9.22 · GenericJam/mob · GitHub
Mob Info
Classification: Hybrid Mobile Framework
Description: BEAM-on-device mobile framework for Elixir. OTP runs inside your iOS and Android apps — embedded directly in the app bundle, no server required. Screens are GenServers; the UI is rendered by Compose and SwiftUI via a thin NIF.
Forum/tag: mob
Click here to view Mob’s main announcement thread.
Trending in News & Updates
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn:
This is possible because it now builds on a very stab...
New
Hologram UI is in the works - the official component library for Hologram - and the waiting list is now open.
A common reaction when I m...
New
This thread is for updates on the Hologram website (docs, new pages, roadmap, feature status, etc.).
You can watch this thread to get no...
New
Stampede 1.2 is out, and I finally got to try it at a bigger scale.
What’s new
--find-limit: instead of a fixed number of users, it add...
New
Hey Elixir folks,
I’ve been working on Xenia 0.2.0, and it’s nearly ready.
This release focuses on performance, easier integration, and...
New
Hi all,
I’ve just released Sake 0.5.0, and I want to explain better what it’s for, because I think many Phoenix apps can use it now.
Wh...
New
I’m working to make Potions the easiest way to deploy Elixir applications, and the next step in that journey is live: you can now bring y...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #security
- #elixirconf-eu
- #processes
- #api
- #forms
- #hex









