iternio-planning-ab/react-native-auto-play/host-app-integration

Claude Code and agent skill by iternio-planning-ab/react-native-auto-play

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Changing what a consuming app must wire up to use this library — the iOS AppDelegate hook, Info.plist scene delegates, CarPlay entitlements, URL schemes, or on Android the merged AndroidManifest, the ReactNativeAutoPlay_* Gradle properties, the headless CarAppService, ProGuard rules or the prefab workaround. Use when a change affects host-app setup, or when CarPlay/Android Auto fails to start with no error.

Install

npx vskill@latest install iternio-planning-ab/react-native-auto-play/host-app-integration

SKILL.md

Host-app integration

The full reference lives in [`docs/host-app-integration.md`](../../docs/host-app-integration.md).

Read that file now, in full. Almost every failure mode in it is silent — no compile error, no runtime exception, just a surface that never appears — so guessing from the symptom does not work.

The highlights, so you know what you're looking for:

  1. Both platforms: @iternio/react-native-auto-play/installTimers must be the app's

very first import (imports are hoisted, so anything later runs too late). installAutoPlayTimers() isn't exported from the package's main entry — this side-effect module is the only way to reach it. Skipping it leaves setTimeout/setInterval/ requestAnimationFrame on RN's default throttle-while-backgrounded behaviour — no error, ETA updates and telemetry just quietly stop while the car surface is active and the phone is locked. This replaced a permanent headless JS task on Android that existed only to keep JavaTimerManager unpaused.

  1. iOS: the host app must implement

@objc func getRootViewForAutoplay(moduleName:initialProperties:) -> UIView? on its AppDelegate. It is found by ObjC runtime reflection, not a protocol, so a missing or misnamed method produces no compile error — CarPlay just fails to init at connect time. Scene delegates are referenced by string class name in Info.plist, so a typo breaks exactly one surface while the others keep working.

  1. Android: no manifest setup is required in the host app — everything is merged in from

the library. Behaviour is controlled by ReactNativeAutoPlay_* Gradle properties, not code, and getExtOrDefault only reads rootProject.ext or the prefixed project property, so setting them anywhere else silently does nothing.

  1. iOS Swift state is reached from two threads — the main thread and the JS/Nitro

thread. Plain throws hybrid methods (createXTemplate, every addListener*) run on the JS thread, so shared mutable state needs the NSLock + withLock convention, and listener callbacks must be invoked outside the lock because they can re-enter.

  1. fix-prefab.gradle and the ProGuard -keep rule for the nitro package are both

load-bearing. Don't remove either.

Then follow the file, not this summary.

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
71
Repository forks
22
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iternio-planning-ab/react-native-auto-play/host-app-integration/badge)](https://verified-skill.com/skills/iternio-planning-ab/react-native-auto-play/host-app-integration)

Something wrong with this skill or its page? Tell us.