You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is running Ionic v6.1.9 with Angular v15.2.0 and Capacitor v4.7.0.
In my service I am trying to import the UdpPlugin like: import { UdpPlugin } from 'capacitor-udp';
But this UdpPlugin class is of type UdpPluginWeb. Which does not have the create methods. If I go to definition, it takes me to the web.d.ts file in the capacitor-udp/dist/esm/ folder in node_modules and I see the UdpPlugin class gets export as:
Plugins and PluginRegistery from @capacitor/core is now deprecated so I can't follow the fixes specified in this plugin's readme file. For Capacitor v4 you must import the plugins directly. What can I do to fix this?
The text was updated successfully, but these errors were encountered:
My project is running Ionic v6.1.9 with Angular v15.2.0 and Capacitor v4.7.0.
In my service I am trying to import the UdpPlugin like:
import { UdpPlugin } from 'capacitor-udp';
But this UdpPlugin class is of type
UdpPluginWeb
. Which does not have the create methods. If I go to definition, it takes me to the web.d.ts file in the capacitor-udp/dist/esm/ folder in node_modules and I see theUdpPlugin
class gets export as:Plugins and PluginRegistery from @capacitor/core is now deprecated so I can't follow the fixes specified in this plugin's readme file. For Capacitor v4 you must import the plugins directly. What can I do to fix this?
The text was updated successfully, but these errors were encountered: