capacitor-community / capacitor-community/electron

Using Cordova plugins with Electron platform support

Open
#51 6 comments 5 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
398
Forks
63
PR merge metrics
No merged PRs in 30d

Description

I have a cordova plugin which supports electron platform, together with android and ios platforms. The plugin has electron entry in its plugin.xml and a source file in ./src/electron folder.

When I do
`npx cap sync`

the sync correctly recognizes this cordova plugin for android and ios and copies it to the appropriate folders in native projects:
- `./android/capacitor-cordova-android-plugins/` for android, and
- `./ios/capacitor-cordova-ios-plugins/` for ios.

However, no such thing happens for electron, nothing is copied as far as I can tell. I also tried
`npx cap sync @capacitor-community/electron`
but the cordova plugin isn't copied either.

When I try
`npx cap ls`
a part of the output says `[info] Listing plugins for electron is not possible`.

Is this feature implemented, or is it even possible to implement?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.