---
title: "AI, OAuth, And Other Platform APIs In The Core"
url: https://daily.dev/posts/ai-oauth-and-other-platform-apis-in-the-core-l2u5gsjgj
source_url: https://foojay.io/today/codename-one-ai-oauth-and-other-platform-apis-in-the-core
type: article
source: "Foojay.io"
published: 2026-06-15T09:05:10.640Z
updated: 2026-06-15T09:13:03.607Z
tags: ["java", "mobile", "oauth"]
reading_time: 22
upvotes: 18
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI, OAuth, And Other Platform APIs In The Core

**[Foojay.io](https://daily.dev/sources/foojayio)** · 22 min read · 18 upvotes · 0 comments

## Summary

Codename One's latest release brings two major platform API additions to the framework core: a first-class LLM client and a ChatView UI component, plus a modern OAuth/OIDC authentication stack using system browsers instead of embedded WebViews. The LlmClient supports OpenAI, Anthropic, Gemini, and Ollama with streaming, tool calls, embeddings, and image generation. A simulator Ollama redirect lets developers iterate locally without API charges. Thirteen new opt-in cn1libs cover on-device ML capabilities via Google ML Kit (OCR, barcode scanning, face detection, translation, pose detection, etc.), TensorFlow Lite, Whisper speech-to-text, and on-device Stable Diffusion. The OAuth overhaul replaces the deprecated in-app WebView flow with PKCE-based system browser authentication (ASWebAuthenticationSession on iOS, Custom Tabs on Android), with provider wrappers for Google, Apple, Microsoft, Facebook, Auth0, and Firebase, plus WebAuthn/passkey support. Smaller additions include WiFi/Bonjour/USB connectivity APIs and share-sheet result callbacks with an iOS Share Extension builder Mojo.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://foojay.io/today/codename-one-ai-oauth-and-other-platform-apis-in-the-core>

---

Tags: [#java](https://daily.dev/tags/java), [#mobile](https://daily.dev/tags/mobile), [#oauth](https://daily.dev/tags/oauth)

[View this post on daily.dev](https://daily.dev/posts/ai-oauth-and-other-platform-apis-in-the-core-l2u5gsjgj)
