ionic-team / capacitor-docs

https://capacitorjs.com/docs
Apache License 2.0
26 stars 231 forks source link

docs: Update creating plugins guide for new structure #319

Closed jcesarmobile closed 5 months ago

jcesarmobile commented 5 months ago

There have been several reports of the plugin guide being out of date or incorrect because the plugin generator now creates SPM ready plugins, but the docs still refer to the .m classes and .xcworkspace file.

This PR updates the guide to only refer .swift files and the new SPM structure of the plugins. Also adds information about the implementation class since it's been around for a few years already and the guide doesn't mention it and can be confusing since we talk about a single file but there are two.

related: https://github.com/ionic-team/create-capacitor-plugin/issues/103

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capacitor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 3:43pm