cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <>
Subject Re: Android: config.xml prefs can't be read by plugins
Date Tue, 07 Jul 2015 00:30:59 GMT
It was pointed out to me that CordovaPlugin does have an instance of the
preference object.  I missed that when I was working on this earlier.
Closed the pull request.

On Mon, Jul 6, 2015 at 3:57 PM Joe Bowser <> wrote:

> Hey
> So, since we decided to stop using Intents to manipulate plugins for
> Security Reasons, we have this problem of not being able to read the values
> from config.xml into any of the plugins, since they don't have access to
> the preferences object.
> I have a pull request here where I copy the object into the
> CordovaInterface, but it means that everything implementing the
> CordovaInterface will have to copy the object anyway.  I'm submitting it as
> a pull request instead of just slamming it in because I think it's a
> significant enough change to get some more eyeballs on it.
> I'm fine with just merging it in, but if someone else wants to comment on
> it, that'd be great.  The pull request is here:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message