Hi Walton, This is definitely a use-case that is not well supported right now, but is being actively worked on. In fact, in the next version of cordova-android, there will be a new to programmatically configure each WebView separately. However, it will take some time for plugins to move away from using the static Config class and to the new per-instance configuration class.
On Wed, Jul 23, 2014 at 2:28 AM, Wang, Walton <[email protected]> wrote: > Hi, friends: > > I have a use case scenario that need to involve several activities. > For example: > > 1. there're 2 activities Activity A and Activity B. > > 2. Both Activity A and Activity B are inherit from CordovaActivity > > 3. Activity A and Activity B load different urls > > 4. In such case, there will be 2 set cordova plugin systems. > > I want to know whether cordova support such kind of usage. > > Currently, I think the framework is not supposed to support, because > there's only one config.xml, and some plugins use static variables. > > BTW: this is my first time to ask question about cordova, I don't know > whether it's suitable to send mail here or I should raise a question on > stackoverflow. > If this mail bothers you, I feel sorry to bring you the noisy, :) > > > > Best Regards, > Walton Wang > >
