Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2C3910B50 for ; Fri, 16 Jan 2015 14:54:45 +0000 (UTC) Received: (qmail 53963 invoked by uid 500); 16 Jan 2015 14:54:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 53923 invoked by uid 500); 16 Jan 2015 14:54:47 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 53911 invoked by uid 99); 16 Jan 2015 14:54:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 14:54:47 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of csantana23@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 14:54:43 +0000 Received: by mail-ie0-f170.google.com with SMTP id rd18so21025642iec.1 for ; Fri, 16 Jan 2015 06:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6GQNh4Hp3jhhasui3gxj6NSouuMaIN96Gpz2s7N+t6o=; b=ZFPAj6GsdbDVDrGC/8KFhiPRffYL7bC4TiEstR/TDP9Sd5rHLj8Dlk7jJnSUTVMjed S1lmo0aZMMPkTej7SBsU+7W9Yttt55MUi2Dr2O69drel7yI+GEtcqCVH9DhTCPCegBT+ vq9GrMay/DtSCHFMW+0ncGl7DZV0oZewG2JkjBZVc8Q4nCcxWYOFavtRmKXwcd+XQhTZ 8531B4/wOLSL7J+4Tt4hEavaRV/trvkdymSqQ8NZuWYpwKWC5xixuhSD+s1pIx1xV/Fy gB54TQPgqafV4uWY/ME1cPCayxqvfn0HlM/Dntn3U8+zaJ09bRJdzrnu8nB24CFMLbIx 7CWA== MIME-Version: 1.0 X-Received: by 10.107.134.102 with SMTP id i99mr5844021iod.53.1421420017413; Fri, 16 Jan 2015 06:53:37 -0800 (PST) Received: by 10.107.137.135 with HTTP; Fri, 16 Jan 2015 06:53:37 -0800 (PST) In-Reply-To: References: <20150115004016.32292950.59513.4617@blackberry.com> Date: Fri, 16 Jan 2015 09:53:37 -0500 Message-ID: Subject: Re: Created a plugin to help with local plugin development From: Carlos Santana To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a113ec96c36f7a4050cc62397 X-Virus-Checked: Checked by ClamAV on apache.org --001a113ec96c36f7a4050cc62397 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My impression was that after uninstall didn't made sense to implement, since the hook declare via plugin.xml and all related files don't exist so there is nothing to run. The only valid case would be for hooks defined in directory, if they want to listen to uninstall events for any plugin. On Thu, Jan 15, 2015 at 4:41 AM, Sergey Grebnov (Akvelon) < v-segreb@microsoft.com> wrote: > Looks like after_plugin_uninstall is not currently supported at all (no= t > just missed in docs): > > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman= /uninstall.js#L275 > > Not sure if it was done intentionally due to any reason. > > Thx! > Sergey > -----Original Message----- > From: Shazron [mailto:shazron@gmail.com] > Sent: Thursday, January 15, 2015 3:43 AM > To: dev@cordova.apache.org > Subject: Re: Created a plugin to help with local plugin development > > Josh - John is actually talking about after plugin *uninstall*, not > install. > > On Wed, Jan 14, 2015 at 4:40 PM, Josh Soref wrote= : > > > =E2=80=8EJohn wrote: > > > Looking at the Hooks read me at > > > > > https://github.com/apache/cordova-lib/blob/master/cordova-lib/template > > s/hooks-README.md > > . > > > Looks like after_plugin_uninstall is missing from the list. > > > I'm assuming it's supposed to be there? Let me know and I'll make > > > the > > change.=E2=80=8E > > > > > > https://github.com/apache/cordova-lib/search?utf8=3D=E2=9C=93&q=3Dafter= _plugin_ins > > tall > > =E2=80=8E > > Shows that it's partially documented elsewhere and is implemented. > > > > Instead of documenting just that one, please grep for all of them and > > compare against what's documented:=E2=80=8E > > =E2=80=8Ehttps://github.com/apache/cordova-lib/search?utf8=3D=E2=9C=93&= q=3DhooksRunner.fir > > e > > > > Thanks very volunteering. > > > > Sent from my BlackBerry 10 smartphone. > > > > > > > --=20 Carlos Santana --001a113ec96c36f7a4050cc62397--