cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
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 <bowserj@gmail.com> 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:
>
> https://github.com/apache/cordova-android/pull/192
>

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