protected CordovaPlugin CreatePlugin(CordovaWebView webView, DroidGap context) { var t = new T(); t.InitializePlugin(webView, context); Plugin = t; // this will ensure Cordova finds the Plugin return(Plugin); }
public virtual void InitializePlugin(CordovaWebView webView, DroidGap context) { this.webView = webView; this.context = context; }
public XamarinCordovaPluginEntry(String service, CordovaWebView webView, DroidGap context) : base(service, string.Empty, false) { CreatePlugin(webView, context); }