返回顶部
M

Mobile

Build mobile applications with proper lifecycle handling, offline support, and platform conventions.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,677
下载量
3
收藏
概述
安装方式
版本历史

Mobile

## Lifecycle Awareness - App can be killed anytime in background—save state before backgrounding - Restore state on return—user expects to continue where they left off - Handle low memory warnings—release caches, non-essential resources - Background tasks have time limits—complete or request extension ## Permissions - Ask in context, not at launch—explain why when requesting - Degrade gracefully if denied—app should still work with reduced features - Don't ask for unnecessary permissions—users notice and distrust - Re-request after demonstrating value—not immediately after denial ## Offline First - Assume network is unreliable—design for offline, sync when possible - Cache aggressively—previous content better than loading spinner - Queue actions for retry—don't fail on network error - Conflict resolution strategy—last write wins or manual merge - Show sync status—user should know if data is current ## Performance - Target 60fps—dropped frames feel janky - Main thread for UI only—heavy work on background threads - Memory matters more than desktop—constrained devices, aggressive OS killing - Battery awareness—reduce location polling, network requests when possible - Startup time under 2 seconds—first impression matters ## Navigation Patterns - Follow platform conventions—iOS back gesture, Android back button - Navigation stack manageable—don't go 10 levels deep - Deep link to any screen—shareable, notification taps work - Preserve scroll position on return—don't jump to top ## Notifications - Push for time-sensitive external events—new message, delivery update - Local for reminders, timers—user-initiated - Don't spam—users will disable; quality over quantity - Actionable when possible—reply, mark done from notification - Group related notifications—less intrusive ## Deep Linking - Universal Links (iOS) / App Links (Android) for owned domains - Handle gracefully when app not installed—fallback to web - Parse parameters safely—malicious links exist - Test all entry points—not just main launch ## Storage - Secure storage for tokens, credentials—Keychain, Keystore - User data survives reinstall where appropriate—cloud backup - Cache is cache—can be cleared; don't store critical data - Large files: consider on-demand download—not bundled in app ## Input Handling - Keyboard avoidance—content shifts to stay visible - Dismiss keyboard appropriately—tap outside, scroll, submit - Input accessories for relevant actions—next field, done, toolbar - Paste, autofill support—reduce typing on small keyboards ## Touch and Gestures - 44pt minimum touch target—consistent with platform guidelines - System gestures reserved—don't override swipe from edge - Gesture discoverability—hint or teach, don't assume knowledge - Haptic feedback for significant actions—confirmation, errors ## Accessibility - VoiceOver (iOS) / TalkBack (Android) testing—navigate entire app - Dynamic type support—text scales with user preference - Sufficient contrast—check in accessibility inspector - Labels on all interactive elements—not just visible text ## Testing - Real devices essential—simulators miss performance, sensors, edge cases - Multiple OS versions—support at least current minus 2 - Different screen sizes—small phones to tablets - Network conditions—slow, intermittent, offline ## App Store Survival - Read rejection reasons before submitting—common pitfalls documented - Privacy policy required—explain data collection - Login test account for reviewers—if auth required - No placeholder content—everything functional in review build - Update regularly—abandoned apps get deprioritized

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mobile-1776326300 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mobile-1776326300 技能

通过命令行安装

skillhub install mobile-1776326300

下载 Zip 包

⬇ 下载 Mobile v1.0.0

文件大小: 2.54 KB | 发布时间: 2026-4-17 15:29

v1.0.0 最新 2026-4-17 15:29
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部