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

Can AppBuilder projects use Crosswalk?

3 Answers 140 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergei
Top achievements
Rank 1
Sergei asked on 26 Mar 2015, 12:42 PM
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. 

3 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 27 Mar 2015, 08:16 AM
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.

 
0
Sergei
Top achievements
Rank 1
answered on 27 Mar 2015, 03:44 PM
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?
0
Kaloyan
Telerik team
answered on 30 Mar 2015, 11:38 AM
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.

 
Tags
Apache Cordova
Asked by
Sergei
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Sergei
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or