Currently, I am utilizing a Cordova plugin from GitHub that is not accessible in Ionic Native.
However, I have encountered an issue. How can I effectively use non-Ionic-Native plugins in Ionic 2?
I attempted the following:
declare var myPlugin: any;
myPlugin.doSomething(...)
Along with exploring other solutions on forums.
Unfortunately, I faced this error:
ReferenceError: myPlugin is not defined
at new HomePage (http://localhost:8100/build/main.js:18762:9)
Here are the details of my configuration:
Ionic Framework: ^2.0.0-rc.3
Ionic Native: ^2.2.3
Ionic App Scripts: 1.0.0
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 6.9.5
OS Platform: Windows 10
Navigator Platform: Win32
cordova 6.5.0
This issue has been discussed previously here: Working with non Ionic Native plugins in Ionic 2