Can AppBuilder projects use Crosswalk?

4 posts, 0 answers
  1. Sergei
    Sergei avatar
    44 posts
    Member since:
    Aug 2012

    Posted 26 Mar 2015 Link to this post

    Crosswalk is an interesting option for Android hybrid app development. I am looking for guidance on setting up an AppBuilder project to be built with it.  Has anybody done it? 

    https://crosswalk-project.org/documentation/about.html. 

  2. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 27 Mar 2015 Link to this post

    Hi Sergei,

    We have many request on adding Crosswalk support in AppBuilder. In order to implement this the right way we need to utilize an upcoming functionality in Cordova Android - pluggable WebViews. This allows the WebView component that Cordova uses to be changed by 3rd party plugins. Here is the plugin that uses Crosswalk WebView to replace the one in stock Android.

    We plan to release experimental support for Cordova 4.0 once it is a little bit more stable so you and the community could give it a try.

    Hope this helps

    -sdobrev 

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

     
  3. Sergei
    Sergei avatar
    44 posts
    Member since:
    Aug 2012

    Posted 27 Mar 2015 in reply to Stefan Dobrev Link to this post

    Thank you Stefan. That's encouraging but far fetched. I actually opened a ticket for this, as the problem can't wait. Until Cordova 4 arrives, I am willing to give Crosswalk a shot by converting the AppBuilder project to plain Cordova 3. Do you have a help page with instructions for that?
  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 30 Mar 2015 Link to this post

    Hello Sergei,

    In order to convert your existing AppBuilder project to a Cordova one, you will need to consider several things:
    • All the existing HTML, CSS and JavaScript files are moved to the new Cordova project and the file structure is kept as it is.
    • All the used by your app plugins are included in the Cordova project.
    • Make sure that any custom changes in the platform config files (AndroidManifest.xml, Info.plist, WMAppManifest.xml and all the config.xmls) are duplicated in the Cordova project.
    The easiest way to migrate your AppBuilder project to Cordova CLI, will be to:
    1. Start by creating new Cordova CLI project with the Create command.
    2. Then add all the platforms that your project will be built against, via the platform add command.
    3. Include all the required by your app plugins (you will need to manually add all of used by your app Core plugins, as well) with the plugin add command.
    4. Move your existing HTML, CSS and JS files to their corresponding folders in the newly created project.
    5. Make sure that the configuration files are corrected if needed.

    Unfortunately, we do not have a step-by-step document about the procedure, but you can still find useful this article about the opposite, Converting Cordova projects to AppBuilder. There are some things you might want to check after step 6.

    I hope this helps.

    Finally, please avoid posting on the same matter multiple times, as we will have to handle duplicate threads and this only delays our responses. Thank you for the understanding.


    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