khadinakbarlabs/expo-mobile-app-builder/add-android-pip

Claude Code and agent skill by khadinakbarlabs/expo-mobile-app-builder

Trust tier 3
  • community
Source check pending

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

Add Picture-in-Picture mode for Android (Android 8+). Use when the user says 'pip android', 'picture in picture android', 'floating window android'.

Install

npx vskill@latest install khadinakbarlabs/expo-mobile-app-builder/add-android-pip

SKILL.md

Add Picture-in-Picture (Android)

Floating mini-window. Best for video, video calls, navigation.

Enable in manifest

app.json:

json
{
"expo": {
"android": {
"config": { "androidPictureInPicture": true }
},
"plugins": [
["expo-build-properties", {
"android": {
"extraProguardRules": "..."
}
}]
]
}
}

Inject into AndroidManifest.xml via config plugin:

xml
<activity android:supportsPictureInPicture="true" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" />

Enter PiP

Currently no first-class Expo API. Use community:

bash
pnpm add react-native-picture-in-picture
tsx
import PiP from 'react-native-picture-in-picture';
const enterPip = () => {
PiP.enter({ aspectRatio: { numerator: 16, denominator: 9 } });
};

OR drop down to native via expo-modules-core to call activity.enterPictureInPictureMode().

Detect PiP state

tsx
useEffect(() => {
const sub = AppState.addEventListener('change', state => {
// No direct PiP state on Android — infer via activity callbacks (need native module)
});
}, []);

When PiP makes sense

  • Video player (YouTube, Netflix pattern)
  • Video calls (Zoom, Meet)
  • Live workout class
  • Navigation map
  • Live activity tracker

When PiP DOESN'T

  • Static content (use widget instead)
  • Forms (no input in PiP)
  • Heavy UI (PiP is tiny — keep content simple)

Common gotchas

  • Some launchers (Samsung) don't support PiP for all apps
  • PiP exit puts user on home, not back to app — design for this
  • Don't put critical controls in PiP only (e.g., emergency stop)

Pair with

  • add-android-foreground-service for video playback service
  • add-foldable-tablet (PiP behavior differs on large screens)

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
3
7-day trend score
7

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/khadinakbarlabs/expo-mobile-app-builder/add-android-pip/badge)](https://verified-skill.com/skills/khadinakbarlabs/expo-mobile-app-builder/add-android-pip)

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