home / skills / partme-ai / full-stack-skills / uniapp-native-app
This skill helps you package uni-app as native Android or iOS apps, manage signing, and configure native settings with official offline guidance.
npx playbooks add skill partme-ai/full-stack-skills --skill uniapp-native-appReview the files below or copy the command above to add this skill to your agents.
---
name: uniapp-native-app
description: A comprehensive skill for uni-app native app offline packaging. Use this skill to package uni-app as native Android/iOS apps, configure native app settings, handle signing, and follow official offline packaging documentation.
license: Complete terms in LICENSE.txt
---
## 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
## 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
## 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
### Templates
Located in `templates/`:
- **build-config.md** - Build configuration templates
## 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
## Resources
- **Official Documentation**: https://nativesupport.dcloud.net.cn/AppDocs/
## Keywords
native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin
This skill packages uni-app projects into native Android and iOS apps with offline, configurable build flows. It provides templates, examples, and step-by-step guidance for configuring manifests, permissions, signing, and distribution. The goal is a reproducible offline packaging process that follows official platform requirements and streamlines native integrations.
The skill inspects the target platform (Android or iOS) and selects corresponding examples and templates to drive the build. It loads packaging guides, platform-specific examples, and build configuration templates, then applies the instructions to configure project files, signing credentials, and build settings. The output is a ready-to-build native project (APK/IPA) with recommended settings for testing and release.
What files should I edit to change build settings?
Use the build-config templates and platform example folders to update manifest/Info.plist, build.gradle, and Xcode project settings as shown in the examples.
How do I handle signing and certificates safely?
Keep keystore and provisioning files out of source control, use secure storage for credentials, and reference them via CI secrets or local environment variables during builds.