Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Cordova Plugin #4726

Closed
3 tasks
sakshivijayvargiya24 opened this issue Jan 29, 2024 · 1 comment
Closed
3 tasks

Creating Cordova Plugin #4726

sakshivijayvargiya24 opened this issue Jan 29, 2024 · 1 comment

Comments

@sakshivijayvargiya24
Copy link

sakshivijayvargiya24 commented Jan 29, 2024

  • bug report - I tried creating cordova plugin by following the Ionic Native Developer Guide, awesome-cordova-plugins
    /DEVELOPER.md, But i it didn't work as i expected. I am facing error while installing and importing the local created Cordova plugin in my Ionic cordova project.
  • feature request - Please provide a Feature or specific command for creating Cordova plugin for Ionic Cordova project.
  • DEVELOPER.md

Current behavior:
Not able to import locally created cordova plugin as i follow the same given steps.

ionic -v
7.2.0
cordova -v
12.0.0 (cordova-lib@12.0.1)
npm -v
10.2.3
node -v
v18.19.0
nvm -v
1.1.11

Error:
Build at: 2024-01-29T14:45:00.196Z - Hash: 4798c2666d0154ce - Time: 1087ms
Error: src/app/home/home.page.ts:25:29 - error TS2307: Cannot find module 'io.electrosoft.helloworld' or its corresponding type declarations.
25 import HelloTestPlugin from 'io.electrosoft.helloworld';
import { HelloTestPlugin } from 'io.electrosoft.helloworld';
× Failed to compile.

Getting error in both ways, while importing the plugin.
`

Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant