Capacitor Plugin, official plugin, community plugin and Cordova plugin

yotube
0

 Official Plugin

Capacitor includes a number of native plugin APIs that are available to all Capacitor apps. These can be thought of as Capacitor “core plugins,” and they make it easy to access commonly needed functionality on each platform.

How to use?

1) Import the Plugins object.

import { Plugins } from '@capacitor/core';



2) Get a plugin from the Plugin object.

const { Browser } = Plugins;



3) Use the plugin API:

await Browser.open({ url: "https://ionicframework.com" });



Capacitor Community Plugins


How to use?

1 Install nmp plugin
    
    nam I  plugin_name

2 Use plugin



Cordova Plugin

How to use?

1 Install npm plugin and modul

npm I plugin_name
npm I plugin_module_name

2 Use Plugin

Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top