Yeah, it's something we take care with in our implementation. Primarily, we use the separation to include things wholesale in Debug that we don't want in Release, such as TestFlight, and other performance gathering code that is disabled in release builds.
On Tuesday, November 6, 2012, Andrew Grieve wrote: > Adding * by default SGTM. Having separate debug/release whitelists sounds > dangerous though. You don't want your app to work in debug mode and then be > broken when you release it. > > > On Mon, Nov 5, 2012 at 7:26 PM, Anis KADRI <anis.ka...@gmail.com> wrote: > > > I confirm that Android also uses config.xml. > > > > > > On Mon, Nov 5, 2012 at 4:22 PM, Shazron <shaz...@gmail.com> wrote: > > > > > I would think all unsupported devices for the whitelist feature remain > > > unsupported (and is documented as such: > > > > > > > > > http://docs.phonegap.com/en/2.2.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide > > > ) > > > > > > > > > On Mon, Nov 5, 2012 at 4:14 PM, Jesse <purplecabb...@gmail.com> wrote: > > > > > > > Does this mean that whitelists should be added to Bada, Symbian, > > > > WebOS, Windows Phone, and Windows 8? > > > > > > > > Also, while we are discussing it, wouldn't it be good to have all > > > > platforms have a consistent way of defining access-permissions ? > > > > > > > > Android:: res/xml/cordova.xml > > > > Blackberry:: www/config.xml > > > > iOS:: Cordova.plist > > > > Tizen:: config.xml > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Nov 5, 2012 at 3:58 PM, Shazron <shaz...@gmail.com> wrote: > > > > > What Anis said last is what I meant. Since BB and Android have this > > > > > behaviour already this doesn't impact those platforms as much. Will > > > wait > > > > > for comments until tomorrow then I will add some JIRA task(s). > > > > > > > > > > > > > > > On Mon, Nov 5, 2012 at 3:43 PM, Anis KADRI <anis.ka...@gmail.com> > > > wrote: > > > > > > > > > >> On Mon, Nov 5, 2012 at 3:36 PM, Brian LeRoux <b...@brian.io> wrote: > > > > >> > > > > >> > Why would we require a new property? We're just talking about > > adding > > > > * as > > > > >> > the default property. > > > > >> > > > > > >> > > > > >> I believe this applied only if we did a debug/release mode > strategy. > > > > Adding > > > > >> (*) as default doesn't require a new property from what I > > understand. > > > > >> > > > > >> > > > > >> > > > > > >> > (Also, Jesse, I have talked to many Cordova devs whom have > > expressed > > > > >> > frustration with our default.) > > > > >> > > > > > >> > I feel we have consensus enough to document and add this > default. > > > > >> > > > > > >> > > > > > >> > On Mon, Nov 5, 2012 at 3:26 PM, Shazron <shaz...@gmail.com> > > wrote: > > > > >> > > > > > >> > > Well it's all or nothing. There is no "dev" mode with respect > to > > > the > > > > >> > plist > > > > >> > > itself as it is right now, unless we want to add yet another > > plist > > > > >> > > property. > > > > >> > > > > > > >> > > > > > > >> > > On Mon, Nov 5, 2012 at 3:22 PM, Anis KADRI < > > anis.ka...@gmail.com> > > > > >> wrote: > > > > >> > > > > > > >> > > > I guess the consensus is to whitelist everything (*) all the > > > time. > > > > >> > > > > > > > >> > > > My opinion is that there should be some dev mode where (*) > is > > > set > > > > and > > > > >> > > then > > > > >> > > > a release mode where you'd specify your hosts. > > > > >> > > > > > >