This is a migrated thread and some comments may be shown as answers.

Forced Update to Cordova Version > 4.1.1

3 Answers 66 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joerg
Top achievements
Rank 1
Joerg asked on 24 Mar 2016, 02:04 PM

Google Play demands a Cordova Version >= 4.1.1 until 9.May

1. Appbuilder Extension provides only version 5.0 above 4.1.1 and only an experimental version. So do we get an update to vers. 6?

2. Using Experimental Version 5.0 forced me to establish whitelisting.
But i am still getting console-warnings about a non configured whitelist after adding a folder called "xml" like .../App_Resources/Android/xml ,configuring a config.xml in there like described at "github.com/apache/cordova-plugin-whitelist" and proofing the plugin is activated.

3. But the worst problem is that after switching the cordova version all my events got disabled.
Like addEventListener('backbutton', 'hidekeyboard', 'showkeyboard', 'orientationchange'...

How can i solve these?

     

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 29 Mar 2016, 11:24 AM
Hello Joerg,

Straight to your questions:
  1. "Appbuilder Extension provides only version 5.0 above 4.1.1 and only an experimental version. So do we get an update to vers. 6?"

    AppBuilder now includes Cordova 4.1.1 for Android in its 4.0.0 set. This means that you don't need to migrate to an experimental Cordova version as there is a stable one meeting the requirements from Google. As for vers. 6, I am afraid I don't fully understand what do you mean by this. Could you please elaborate?

  2. "Using Experimental Version 5.0 forced me to establish whitelisting.
    But i am still getting console-warnings about a non configured whitelist after adding a folder called "xml" like .../App_Resources/Android/xml ,configuring a config.xml in there like described at "github.com/apache/cordova-plugin-whitelist" and proofing the plugin is activated.
    "

    In AppBuilder you don't need to explicitly add an xml folder under App_Resources/Android/. Instead, you can simply right-click over your project name in the Project Navigator and select Edit Configuration. Then, from the list you can choose the Android Config.xml file which will expose it for changes in the project structure. This is better explained here.

  3. "But the worst problem is that after switching the cordova version all my events got disabled.
    Like addEventListener('backbutton', 'hidekeyboard', 'showkeyboard', 'orientationchange'...
    "

    This is the first report about not working events for our Cordova 5.0.0 Experimental set. I checked this on my side and unfortunately wasn't able to reproduce a similar faulty behavior. This said, could you please share a repro project with us? Further, please check if the issue will be present after migrating your project to Cordova 4.0.0. As said above, this is our stable Cordova version that fully meets the Google requirements at this stage.

I hope this helps.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jim
Top achievements
Rank 1
answered on 29 Mar 2016, 04:13 PM

As for vers. 6, I am afraid I don't fully understand what do you mean by this. Could you please elaborate?

I think what Joerg is asking is when AppBuilder will support  Cordova v6.x. Cordova is up to v6.1 already, (v6.0 was released end of Jan 2016) and AB still has v5.x as "experimental" and no word yet on when v6 will be supported. Can you provide an update?

 

0
Kaloyan
Telerik team
answered on 01 Apr 2016, 12:41 PM
Hello Jim,

Thank you for elaborating on this.

The latest Cordova 6.1 release includes the following framework versions:
 - Cordova-iOS 4.1.0
 - Cordova-Android 5.1.1

This can be seen here.

In AppBuilder, we have already incorporated the following js Cordova frameworks:
 - Cordova-iOS 4.0.1
 - Cordova-Android 5.0.0

You will find those in our Cordova 5.0.0 Experimental set. This means that, at this stage we are slightly behind with the Cordova releases.

Still, please let us know if there is something specific in the new versions that you need and we will see if update is indeed necessary or there is certain workaround/fix we can suggest.

I hope this answers your question.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder extension for Visual Studio
Asked by
Joerg
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Jim
Top achievements
Rank 1
Share this question
or