uniapp-native-app

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When 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:
  1. Identify the platform from the user's request:
    • Android → Use Android examples
    • iOS → Use iOS examples
  2. Load the appropriate example file from the
    examples/
    directory:
    • examples/guide/
      - Native app packaging guide
    • examples/android/
      - Android packaging examples
    • examples/ios/
      - iOS packaging examples
  3. Load the appropriate template from the
    templates/
    directory:
    • templates/build-config.md
      - Build configuration templates
  4. Follow the specific instructions in those files for packaging
要打包原生应用:
  1. 从用户的需求中确定平台
    • Android → 使用Android相关示例
    • iOS → 使用iOS相关示例
  2. examples/
    目录加载对应的示例文件
    • examples/guide/
      - 原生应用打包指南
    • examples/android/
      - Android打包示例
    • examples/ios/
      - iOS打包示例
  3. templates/
    目录加载对应的模板
    • templates/build-config.md
      - 构建配置模板
  4. 按照这些文件中的具体说明进行打包操作

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

最佳实践

  1. Follow platform guidelines: Adhere to Android and iOS development standards
  2. Optimize app size: Minimize APK/IPA size
  3. Security: Properly configure app signing and certificates
  4. Testing: Test on real devices before release
  1. 遵循平台规范:遵守Android和iOS的开发标准
  2. 优化应用体积:最小化APK/IPA文件大小
  3. 安全性:正确配置应用签名与证书
  4. 测试:发布前在真实设备上进行测试

Resources

资源

Keywords

关键词

native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin
native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin