uniapp-native-app
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to use this skill
何时使用该技能
Use this skill whenever the user wants to:
- Package uni-app as native Android app
- Package uni-app as native iOS app
- Configure native app settings (manifest, permissions, etc.)
- Customize native app features
- Integrate native plugins
- Configure app signing and certificates
- Handle native app build and distribution
当用户有以下需求时,可使用本技能:
- 将uni-app打包为原生Android应用
- 将uni-app打包为原生iOS应用
- 配置原生应用设置(清单文件、权限等)
- 自定义原生应用功能
- 集成原生插件
- 配置应用签名与证书
- 处理原生应用的构建与分发
How to use this skill
如何使用该技能
To package native apps:
-
Identify the platform from the user's request:
- Android → Use Android examples
- iOS → Use iOS examples
-
Load the appropriate example file from thedirectory:
examples/- - Native app packaging guide
examples/guide/ - - Android packaging examples
examples/android/ - - iOS packaging examples
examples/ios/
-
Load the appropriate template from thedirectory:
templates/- - Build configuration templates
templates/build-config.md
-
Follow the specific instructions in those files for packaging
要打包原生应用:
-
从用户的需求中确定平台:
- Android → 使用Android相关示例
- iOS → 使用iOS相关示例
-
从目录加载对应的示例文件:
examples/- - 原生应用打包指南
examples/guide/ - - Android打包示例
examples/android/ - - iOS打包示例
examples/ios/
-
从目录加载对应的模板:
templates/- - 构建配置模板
templates/build-config.md
-
按照这些文件中的具体说明进行打包操作
Examples and Templates
示例与模板
Examples
示例
Located in :
examples/- guide/ - Offline packaging overview and setup
- android/ - Android signing, keystore, build configs
- ios/ - iOS signing, provisioning, build configs
位于目录下:
examples/- guide/ - 离线打包概述与设置
- android/ - Android签名、密钥库、构建配置
- ios/ - iOS签名、配置文件、构建配置
Templates
模板
Located in :
templates/- build-config.md - Build configuration templates
位于目录下:
templates/- build-config.md - 构建配置模板
Best Practices
最佳实践
- Follow platform guidelines: Adhere to Android and iOS development standards
- Optimize app size: Minimize APK/IPA size
- Security: Properly configure app signing and certificates
- Testing: Test on real devices before release
- 遵循平台规范:遵守Android和iOS的开发标准
- 优化应用体积:最小化APK/IPA文件大小
- 安全性:正确配置应用签名与证书
- 测试:发布前在真实设备上进行测试
Resources
资源
- Official Documentation: https://nativesupport.dcloud.net.cn/AppDocs/
Keywords
关键词
native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin
native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin