简体   繁体   English

与人行横道成角度?

[英]Angular to Crosswalk?

We are developing a complex single page app in Angularjs. 我们正在Angularjs中开发一个复杂的单页应用程序。 Currently, we deploy this embedded in an ASP.Net web site, and also onto iOS via Cordova. 当前,我们将其嵌入ASP.Net网站中,并通过Cordova部署到iOS中。 This works quite well. 这很好。 The dream of write-once-run-everywhere is alive! 一次写遍各处的梦想仍然存在!

However, I've been reading about Crosswalk, and the possibility of using it to deploy simultaneously to Android, iOS, and as a Chromium app. 但是,我一直在阅读Crosswalk,以及使用它同时部署到Android,iOS和Chromium应用程序的可能性。 My question is: are we going to run into security problems because Angularjs does not respect the security restrictions placed on Chromium apps? 我的问题是:由于Angularjs不遵守Chromium应用程序上的安全限制,我们是否会遇到安全问题?

My natural assumption was that Angularjs and Chromium would place nice together, but perhaps I was mistaken. 我的自然假设是Angularjs和Chromium可以很好地融合在一起,但是也许我错了。

我将把这个问题发布到另一个论坛。

Crosswalk is first and foremost a WebView component with a build system and not Chromium or Google Chrome browser. Crosswalk首先是具有构建系统的WebView组件,而不是Chromium或Google Chrome浏览器。 At it's core it uses Chrome but there is not a concept of Chromium Apps. 它的核心是使用Chrome,但没有Chromium Apps的概念。

There is a variant of Crosswalk which comes with Cordova plugged in. It's stable and i've used it in the past. Crosswalk有一个变种,它插入了Cordova。它很稳定,我过去也用过。 Worth a look. 值得一看。

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

I've worked with Crosswalk + Cordova (Android) and Cordova on iOS and they work together well for Hybrid apps having a single code base. 我曾与iOS上的Crosswalk + Cordova(Android)和Cordova一起工作过,它们对于具有单个代码库的Hybrid应用程序可以很好地协同工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM