TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Capacitor: Universal Web Applications

100 pointsby fariz_about 7 years ago

10 comments

yesimahumanabout 7 years ago
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 未加载
osrecabout 7 years ago
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 未加载
jacquescabout 7 years ago
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-dudeabout 7 years ago
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 未加载
oldgunabout 7 years ago
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 未加载
zedpmabout 7 years ago
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 未加载
atonseabout 7 years ago
Is this a competitor to React Native? RN seems to be the ideal: truly native components but a JS programming model.
评论 #16746949 未加载
评论 #16746971 未加载
评论 #16756953 未加载
mamcxabout 7 years ago
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.
headcanonabout 7 years ago
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 未加载
frlnBorgabout 7 years ago
Early 2018?
评论 #16746716 未加载
评论 #16747123 未加载