uniapp-native-plugin
18
总安装量
10
周安装量
#19567
全站排名
安装命令
npx skills add https://github.com/partme-ai/full-stack-skills --skill uniapp-native-plugin
Agent 安装分布
opencode
9
codex
8
gemini-cli
7
github-copilot
6
antigravity
5
Skill 文档
When to use this skill
Use this skill whenever the user wants to:
- Develop native Android plugins
- Develop native iOS plugins
- Integrate native functionality into uni-app
- Create custom native modules
- Extend uni-app with native capabilities
- Handle native plugin communication
- Package and distribute native plugins
How to use this skill
To develop native plugins:
-
Identify the platform from the user’s request:
- Android â Use Android plugin examples
- iOS â Use iOS plugin examples
-
Load the appropriate example file from the
examples/directory:examples/guide/– Native plugin development guideexamples/android-plugin/– Android plugin examplesexamples/ios-plugin/– iOS plugin examples
-
Load the appropriate template from the
templates/directory:templates/plugin-template.md– Plugin development templates
-
Follow the specific instructions in those files for development
Examples and Templates
Examples
Located in examples/:
- guide/ – Native plugin development guide
- android-plugin/ – Android plugin development examples
- ios-plugin/ – iOS plugin development examples
Templates
Located in templates/:
- plugin-template.md – Plugin development templates
Best Practices
- Follow platform guidelines: Adhere to Android and iOS development standards
- Error handling: Implement proper error handling and logging
- Documentation: Provide clear documentation for plugin usage
- Testing: Test plugins thoroughly on real devices
Resources
- Official Documentation: https://nativesupport.dcloud.net.cn/NativePlugin/
Keywords
native plugin, åçæä»¶, Androidæä»¶, iOSæä»¶, plugin development, native module