Forced Update to Cordova Version > 4.1.1

4 posts, 0 answers
  1. Joerg
    Joerg avatar
    1 posts
    Member since:
    Aug 2015

    Posted 24 Mar Link to this post

    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?

         

  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 29 Mar Link to this post

    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.

     
  3. Jim
    Jim avatar
    15 posts
    Member since:
    Jan 2015

    Posted 29 Mar in reply to Kaloyan Link to this post

    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?

     

  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 01 Apr Link to this post

    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.

     
Back to Top