Sivasankar P
Sivasankar P

Reputation: 13

How to write custom / own plugin for ionic framework

Im trying to write own plugin to call native iOS functions. Can any one guide me in writing own plugin & consume it to my ionic application.

Thanks in advance

Upvotes: 1

Views: 3296

Answers (1)

codeMonkey
codeMonkey

Reputation: 146

It can be done using Cordova's Plugin Development Guide. from docs it says,

Plugins comprise a single JavaScript interface along with corresponding native code libraries for each supported platform. In essence this hides the various native code implementations behind a common JavaScript interface.

you can check these articles for kick-start.

Plugin Development Guide

How to write Cordova Plugins

Tutorial

Upvotes: 1

Related Questions