feat(android): add ml kit task apis and context caching

Open
#366 1 comment 0 reactions 0 assignees View on GitHub

@grabbou is already working on this.

Since Nov 1, 2026.

  • #374 by @grabbou — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, react-native, typescript
Domain
mobile-dev

Research direction

Start by comparing the existing @react-native-ai/android native module surface with the AppleSpeech/AppleTranscription helpers in the apple package. Read the ML Kit docs for the listed genai-summarization, genai-proofreading, genai-rewriting, genai-image-description, genai-speech-translation and context-caching APIs, then decide which deserve helpers and whether they belong in this module or a separate package. Done means a written API proposal, not an implementation.

Written by the indexing model from the issue text.

Description

enhancement

ML Kit GenAI also ships APIs that aren't AI SDK model types, left out of @react-native-ai/android's first version:

  • genai-summarization, genai-proofreading, genai-rewriting, genai-image-description (1.0.0-beta1): task-specific Gemini Nano features with streaming
  • genai-speech-translation (1.0.0-alpha1): streamed audio to translated text and audio
  • genai-prompt context caching: Caches, PromptPrefix and cachedContextName (on the test Pixel 9 Pro caching reports available but fails with 606 FEATURE_NOT_FOUND)

Decide which are worth helpers on the native module (like AppleSpeech/AppleTranscription in the apple package), or a separate package.

Dominant language
TypeScript
Stars
1.4k
Forks
64
Avg merge
11h 8m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/ai

All issues in callstackincubator/ai

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.