Skip to content
1k-platform-requirements logo

OneKey Platform Requirements

1k-platform-requirements

Documents minimum SDK/OS version requirements for all OneKey platforms. Use when checking platform compatibility, understanding deployment targets, verifying version requirements, or when user asks if their device can run the project. Triggers on minimum version, SDK version, API level, deploymen...

SKILL.md

Full skill instructions

OneKey Platform Requirements

Device Compatibility Check

When user asks if their device can run app-monorepo, run the environment check to verify all required tools are installed with correct versions.

Important: Xcode, CocoaPods, and Ruby are macOS only tools required for iOS development. On non-macOS systems, skip these checks.

Auto-detect and Check Environment

First, detect the operating system:

uname -s
  • If output is Darwin → macOS, check ALL tools including Xcode/​CocoaPods
  • If output is Linux or other → Skip Xcode/​CocoaPods/​Ruby checks

Development Environment Requirements

ToolRequired VersionHow to CheckPlatform
Node.js>=22node -vAll
Yarn4.12.0yarn -vAll
Java/​JDK17+java -versionAll
Gradle8.13./​gradlew --versionAll
Go1.24.0go versionAll
Ruby2.7+ (recommended 3.x)ruby -vmacOS only
CocoaPods1.16.2pod --versionmacOS only
Xcode26.2xcodebuild -versionmacOS only
Android StudioLadybug (2024.2.1)+Android Studio > AboutAll

Minimum Platform Version Summary

PlatformMinimum VersionNotes
AndroidAPI 24 (Android 7.0 Nougat)Set by Expo SDK
iOS15.5Deployment target
Chrome ExtensionChrome 111+Required for MAIN world injection
Firefox ExtensionLatest stableFollows Chrome manifest v2
Desktop (Electron)Electron 39.xSee OS requirements below
macOS10.15+ (Catalina)Electron 39 requirement
WindowsWindows 10+Electron 39 requirement
LinuxUbuntu 20.04+Electron 39 requirement

How to Verify/​Update Versions

Android minSdkVersion

Location: Set by Expo, referenced in apps/​mobile/​android/​app/​build.gradle:142

How to check current value:

cd apps/​mobile/​android && ./​gradlew -q properties 2>&1 | grep -i "minSdk"

Configuration chain:

  1. apps/​mobile/​android/​app/​build.gradle references rootProject.ext.minSdkVersion
  2. Value set by expo-modules-autolinking in ExpoRootProjectPlugin.kt
  3. Default is 24 unless overridden in expo version catalog

iOS Deployment Target

Location: apps/​mobile/​ios/​Podfile:18

How to check:

grep "platform :ios" apps/​mobile/​ios/​Podfile

Configuration:

platform :ios, podfile_properties['ios.deploymentTarget'] || '15.5'

Can also verify in Xcode project:

grep "IPHONEOS_DEPLOYMENT_TARGET" apps/​mobile/​ios/​OneKeyWallet.xcodeproj/​project.pbxproj | head -5

Chrome Extension Minimum Version

Location: apps/​ext/​src/​manifest/​chrome_v3.js:9

How to check:

grep "minimum_chrome_version" apps/​ext/​src/​manifest/​chrome_v3.js

Note: Version 111+ is required for MAIN world content script injection (manifest v3 feature).

Firefox Extension

Location: apps/​ext/​src/​manifest/​firefox.js

Firefox manifest extends Chrome manifest but may have different requirements. Currently follows Chrome manifest v2 patterns.

Desktop (Electron) Version

Location: apps/​desktop/​package.json

How to check:

grep '"electron":' apps/​desktop/​package.json

Current version: Electron 39.3.0

Electron 39 OS Requirements:

  • macOS: 10.15+ (Catalina)
  • Windows: Windows 10+
  • Linux: Ubuntu 20.04+, Fedora 32+, Debian 10+

Reference: Check Electron releases for OS compatibility at https://releases.electronjs.org/

Full SDK Version Check Command

Run this to see all Android SDK versions at once:

cd apps/​mobile/​android && ./​gradlew -q --no-configuration-cache properties 2>&1 | grep -E "(minSdk|compileSdk|targetSdk|buildTools|ndk|kotlin):"

Expected output format:

- buildTools:  36.0.0
- minSdk:      24
- compileSdk:  36
- targetSdk:   36
- ndk:         27.1.12297006
- kotlin:      2.1.20

Version Update Considerations

When updating minimum versions:

  1. Android: Expo SDK updates may change minSdkVersion. Check Expo release notes.
  2. iOS: Update both Podfile and Xcode project settings.
  3. Extension: manifest changes affect all Chromium browsers (Chrome, Edge, Brave, Opera).
  4. Electron: Major version bumps may drop OS support. Check Electron release notes.

Development Environment Details

Node.js

Required: >=22

Location: package.json:10-12

How to check configuration:

grep -A2 '"engines"' package.json

Configuration:

"engines": {
  "node": ">=22"
}

Yarn

Required: 4.12.0 (Yarn Berry / Yarn 4)

Location: package.json:3

How to check configuration:

grep '"packageManager"' package.json

Configuration:

"packageManager": "[email protected]"

Java/​JDK

Required: JDK 17+

Why: Gradle 8.13 requires Java 17+. The project uses jvmTarget = "17" for Kotlin compilation.

Location: apps/​mobile/​android/​build.gradle:101

How to check configuration:

grep "jvmTarget" apps/​mobile/​android/​build.gradle

Gradle

Required: 8.13

Location: apps/​mobile/​android/​gradle/​wrapper/​gradle-wrapper.properties:3

How to check configuration:

grep "distributionUrl" apps/​mobile/​android/​gradle/​wrapper/​gradle-wrapper.properties

Configuration:

distributionUrl=https\://services.gradle.org/​distributions/​gradle-8.13-bin.zip

Ruby (macOS only)

Required: 2.7+ (recommended 3.x for Apple Silicon)

Platform: macOS only - required for iOS development

Why: Required for CocoaPods and iOS build tooling.

How to check:

ruby -v

Note: On macOS, system Ruby may be outdated. Use rbenv or rvm to manage Ruby versions.

CocoaPods (macOS only)

Required: 1.16.2

Platform: macOS only - required for iOS development

Location: apps/​mobile/​ios/​Podfile.lock (last line)

How to check configuration:

tail -1 apps/​mobile/​ios/​Podfile.lock

How to install:

gem install cocoapods -v 1.16.2

Go

Required: 1.24.0

Why: Required for compiling gopenpgp cryptographic library on iOS.

Location: apps/​mobile/​ios/​Podfile:33

How to check configuration:

grep "go_version = " apps/​mobile/​ios/​Podfile

Note: Go is auto-installed by Podfile if not present. The gopenpgp XCFramework is pre-built and cached in apps/​mobile/​ios/​XCFrameworks/.

Xcode (macOS only)

Required: 26.2

Platform: macOS only - required for iOS development

Why: Required for building iOS app with latest SDK features and deployment target.

How to check:

xcodebuild -version

Note: Xcode version determines available iOS SDKs and simulator versions.

Android Studio

Required: Ladybug (2024.2.1) or later

Why: compileSdk 36 requires Android Studio with SDK 36 support.

How to check: Android Studio > About Android Studio

Required components:

  • Android SDK Platform 36
  • Android SDK Build-Tools 36.0.0
  • NDK 27.1.12297006
  • CMake (for native modules)

Quick Environment Check Script

For macOS (Full check including iOS tools)

echo "=== Development Environment Check (macOS) ===" && \
echo "OS: $(uname -s) $(uname -r)" && \
echo "Node.js: $(node -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Yarn: $(yarn -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Java: $(java -version 2>&1 | head -1 || echo 'NOT INSTALLED')" && \
echo "Go: $(go version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Ruby: $(ruby -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "CocoaPods: $(pod --version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Xcode: $(xcodebuild -version 2>/​dev/​null | head -1 || echo 'NOT INSTALLED')" && \
echo "Gradle (configured): $(grep 'distributionUrl' apps/​mobile/​android/​gradle/​wrapper/​gradle-wrapper.properties 2>/​dev/​null | sed 's/​.*gradle-\(.*\)-bin.zip/\1/' || echo 'N/​A')"

For Linux/​Windows (Skip iOS-only tools)

echo "=== Development Environment Check (Non-macOS) ===" && \
echo "OS: $(uname -s) $(uname -r)" && \
echo "Node.js: $(node -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Yarn: $(yarn -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Java: $(java -version 2>&1 | head -1 || echo 'NOT INSTALLED')" && \
echo "Go: $(go version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
echo "Gradle (configured): $(grep 'distributionUrl' apps/​mobile/​android/​gradle/​wrapper/​gradle-wrapper.properties 2>/​dev/​null | sed 's/​.*gradle-\(.*\)-bin.zip/\1/' || echo 'N/​A')" && \
echo "" && \
echo "Note: Xcode, CocoaPods, Ruby are macOS-only (required for iOS development)"

Smart Check (Auto-detect OS)

if [ "$(uname -s)" = "Darwin" ]; then
  echo "=== macOS Detected - Full Environment Check ===" && \
  echo "Node.js: $(node -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Yarn: $(yarn -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Java: $(java -version 2>&1 | head -1 || echo 'NOT INSTALLED')" && \
  echo "Go: $(go version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Ruby: $(ruby -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "CocoaPods: $(pod --version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Xcode: $(xcodebuild -version 2>/​dev/​null | head -1 || echo 'NOT INSTALLED')"
else
  echo "=== Non-macOS Detected - Partial Check ===" && \
  echo "Node.js: $(node -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Yarn: $(yarn -v 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Java: $(java -version 2>&1 | head -1 || echo 'NOT INSTALLED')" && \
  echo "Go: $(go version 2>/​dev/​null || echo 'NOT INSTALLED')" && \
  echo "Note: iOS development requires macOS with Xcode, CocoaPods, Ruby"
fi

Related Files

More skills from diegosouzapw

accessibility logo
diegosouzapw/awesome-omni-skill

accessibility

Accessibility guidelines for VS Code features — covers accessibility help dialogs, accessible views, verbosity settings, accessibility signals, ARIA alerts/status announcements, keyboard navigation, and ARIA labels/roles. Applies to both new interactive UI surfaces and updates to existing feature...

62 1
View
mermaid-diagrams logo
diegosouzapw/awesome-omni-skill

mermaid-diagrams

Mermaid diagram creation for flowcharts, sequences, ERDs, and more. Generate diagrams from text in markdown files. Use for documentation, architecture diagrams, and visual representations. Triggers on mermaid, flowchart, sequence diagram, ERD, entity relationship, gantt chart, pie chart, class di...

62 1
View
tauri2-react-rust logo
diegosouzapw/awesome-omni-skill

tauri2-react-rust

Guides development of cross-platform desktop apps with Tauri 2, TypeScript, React, and Rust. Use when building Tauri apps, implementing IPC, designing Rust backend or TypeScript/React frontend, when researching or cloning a website (open site, snapshot elements), when verifying local dev or built...

62 1
View
fp-ts-errors logo
diegosouzapw/awesome-omni-skill

fp-ts-errors

Handle errors as values using fp-ts Either and TaskEither for cleaner, more predictable TypeScript code. Use when implementing error handling patterns with fp-ts.

62 0
View
ring:pre-dev-research logo
diegosouzapw/awesome-omni-skill

ring:pre-dev-research

Gate 0 research phase for pre-dev workflow. Dispatches 3 parallel research agents to gather codebase patterns, external best practices, and framework documentation BEFORE creating PRD/TRD. Outputs research.md with file:line references.

62 0
View
create-assistant logo
diegosouzapw/awesome-omni-skill

create-assistant

Create and configure Vapi voice AI assistants with models, voices, transcribers, tools, hooks, and advanced settings. Use when building voice agents, phone bots, customer support assistants, or any conversational AI that handles phone or web calls.

62 0
View
codex-headless logo
diegosouzapw/awesome-omni-skill

codex-headless

Delegiere Aufgaben an OpenAI Codex CLI im Headless-Mode. Nutzt ChatGPT Subscription (KEIN API Key). Nur Workspace-Zugriff, KEIN System-Zugriff. Auto-Accept mit --full-auto. Web-Recherche mit --search.

62 0
View
social-media-scheduler logo
diegosouzapw/awesome-omni-skill

social-media-scheduler

Generate a full week of social media content for any topic. Outputs platform-optimized posts for Twitter/X, LinkedIn, and Instagram with hashtags and posting times.

62 0
View
Data Privacy Compliance logo
diegosouzapw/awesome-omni-skill

Data Privacy Compliance

Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, da...

62 0
View
triple-review logo
diegosouzapw/awesome-omni-skill

triple-review

Reviews a task using the TRIPLE protocol, as the review agent.

62 0
View
Tech Stack & Architecture Decision logo
diegosouzapw/awesome-omni-skill

Tech Stack & Architecture Decision

Define and document the technology stack and architecture decisions for a project. Use when the user needs to choose a tech stack, make architecture decisions, define infrastructure choices, or document technology selections. Triggers on requests like "define the tech stack", "choose technologies...

62 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View