uniapp-native-plugin
Original:🇺🇸 English
Not Translated
A comprehensive skill for developing native plugins for uni-app. Use this skill when building Android/iOS native plugins, integrating native capabilities, or publishing plugins based on official native plugin docs.
1installs
Added on
NPX Install
npx skill4agent add partme-ai/full-stack-skills uniapp-native-pluginSKILL.md Content
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 thedirectory:
examples/- - Native plugin development guide
examples/guide/ - - Android plugin examples
examples/android-plugin/ - - iOS plugin examples
examples/ios-plugin/
-
Load the appropriate template from thedirectory:
templates/- - Plugin development templates
templates/plugin-template.md
-
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