Mobile
uniapp-native-plugin
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.
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.
Use this skill whenever the user wants to:
To develop native plugins:
Identify the platform from the user's request:
Load the appropriate example file from the examples/ directory:
examples/guide/ - Native plugin development guideexamples/android-plugin/ - Android plugin examplesexamples/ios-plugin/ - iOS plugin examplesLoad the appropriate template from the templates/ directory:
templates/plugin-template.md - Plugin development templatesFollow the specific instructions in those files for development
Located in examples/:
Located in templates/:
native plugin, 原生插件, Android插件, iOS插件, plugin development, native module
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。