TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Capacitor: Universal Web Applications

100 点作者 fariz_大约 7 年前

10 条评论

yesimahuman大约 7 年前
Capacitor creator&#x2F;Ionic co-founder here. Didn’t expect to see this on the front page! Disclaimer: it’s still alpha.<p>We’re building Capacitor based on feedback from the Ionic community to improve our ability to move across platforms such as App Store&#x2F;web&#x2F;electron, make it easier to interact with Native SDKs, mix web and native UI, and manage native app projects&#x2F;tooling.<p>One feature I&#x27;m really excited about is having Web UI implementations of many Native experiences when running on the web&#x2F;electron. Here&#x27;s an example of how the `Camera` plugin looks when running in the web: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;maxlynch&#x2F;status&#x2F;961749127657910272" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;maxlynch&#x2F;status&#x2F;961749127657910272</a>. This uses our new Ionic Web Components so you can easily use these controls with low overhead even if you aren&#x27;t using Ionic.<p>We hope Capacitor will be useful to other web developers that want to build mobile and desktop web apps, even if they aren’t using Ionic, and we’re building support for hitting the hybrid sweet spot of native UI shell (nav&#x2F;menus) with web content.<p>Capacitor will eventually be replacing Cordova in Ionic’s toolchain so it’s going to be a core part of the experience.
评论 #16748867 未加载
评论 #16748350 未加载
osrec大约 7 年前
Why not just PWAs? I think the browser has come a long way, and a great number of things can now be accomplished in the browser without any additional frameworks. We built Bx (<a href="https:&#x2F;&#x2F;usebx.com" rel="nofollow">https:&#x2F;&#x2F;usebx.com</a>) without any frameworks and it feels much like a native app on a phone or tablet when added to the home screen.
评论 #16748189 未加载
评论 #16746812 未加载
评论 #16746953 未加载
评论 #16747045 未加载
评论 #16747153 未加载
评论 #16751427 未加载
jacquesc大约 7 年前
Glad to see they&#x27;re moving beyond Cordova&#x27;s main issue: trying to fully automate the native build processes with disastrous results.<p>I am perfectly happy opening up Xcode to build and configure. Same with Android Studio. Trying to find a &quot;Cordova solution&quot; to very common build tasks was a continual nightmare for me.<p>I ended up just switching to React Native to wrap a progressive web app. It makes no sense since I&#x27;m only using a single React component (UIWebView), but the build &#x2F; deploy process was just so much easier to manage than the mess of Cordova scripts and outdated&#x2F;broken plugins.
评论 #16747101 未加载
the-dude大约 7 年前
I stumbled upon <a href="https:&#x2F;&#x2F;blog.ionicframework.com&#x2F;announcing-capacitor-1-0-0-alpha&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.ionicframework.com&#x2F;announcing-capacitor-1-0-0-a...</a> last week, much more info there.
评论 #16747422 未加载
oldgun大约 7 年前
Love to see this happen, but how&#x27;s the performance (responsiveness, memory consumptions) compared to native? I believe the main reason people are reluctant to develop web-based apps is performance, which results in poor user experience.<p>Any benchmarks&#x2F;testings to show the performance is on par?
评论 #16747244 未加载
zedpm大约 7 年前
I hope this works out, and I hope it fixes some of the grief that Cordova causes. We&#x27;ve ended up with some legacy apps built with Ionic, and have had so many problems that trace directly back to Cordova that we&#x27;re looking very seriously at complete rewrites.<p>Integrating with some third-party like Auth0 goes smoothly for our projects until we get to Cordova, at which point we start chasing absurd bugs and explaining to their support that we do actually need Cordova support. We&#x27;ve been told more than once that Cordova is the &quot;problem child&quot; in terms of supported platforms.
评论 #16747932 未加载
atonse大约 7 年前
Is this a competitor to React Native? RN seems to be the ideal: truly native components but a JS programming model.
评论 #16746949 未加载
评论 #16746971 未加载
评论 #16756953 未加载
mamcx大约 7 年前
Please, if possible, make it truly easy to integrate.<p>All of the others tools requiere multi-steps to integrate into android&#x2F;ios projects. Even if &quot;generating a already integrate project&quot; is available, the ideal is just import with gradle or carthage&#x2F;coccoapods and that is all.
headcanon大约 7 年前
I see this is from the ionic people - What are the goals for this vs ionic? Is this supposed to eventually replace it? Will it still be pushing Angular on us, or is it possible to use any JS framework?
评论 #16747257 未加载
frlnBorg大约 7 年前
Early 2018?
评论 #16746716 未加载
评论 #16747123 未加载