Wrap the iOS-only module behind a small platform-specific adapter, for example a NativeFeature.ios.ts module, and expose a shared TypeScript interface. Import that adapter from platform-neutral code so callers do not spread Platform.OS checks throughout the app. Use an Expo module when one provides the capability; in a bare app use the community or custom native module. Provide an Android fallback or explicit unsupported result, guard calls with feature detection, and test the supported and u...
Scanned 9/5/2026
Install to Claude Code
npx -y skills add HoangNguyen0403/agent-skills-standard --skill react-native-platform-specific --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of React Native Platform Specific?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-react-native-platform-specific-ff4ea07a)More formats (shields.io, HTML) on the badges page.
Wrap the iOS-only module behind a small platform-specific adapter, for example a NativeFeature.ios.ts module, and expose a shared TypeScript interface. Import that adapter from platform-neutral code so callers do not spread Platform.OS checks throughout the app.
Use an Expo module when one provides the capability; in a bare app use the community or custom native module. Provide an Android fallback or explicit unsupported result, guard calls with feature detection, and test the supported and unsupported paths on both platforms.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.