Capacitor 1.0: A new way to build native mobile apps with Ionic

  Рет қаралды 18,561

Ionic

Ionic

Күн бұрын

Пікірлер: 25
@relax_monkey
@relax_monkey 5 жыл бұрын
Glad to hear that Capacitor and Cordova work side by side. Easy to migrate the existing project. Great job guys.👍
@MattNetkow
@MattNetkow 5 жыл бұрын
Thanks for watching! Check out the migration guide for more info: capacitor.ionicframework.com/docs/cordova/migrating-from-cordova-to-capacitor
@yodafuzz
@yodafuzz 5 жыл бұрын
30:00 I'm guessing you were using the webcam on the laptop for the webinar recording, hence why the PWA couldn't get access to the webcam :-) Cool stuff, thanks for the vid!
@MattNetkow
@MattNetkow 5 жыл бұрын
You are likely correct :) . I made some updates to the repo, Camera working much better now. github.com/ionic-team/capacitor-plugin-demo
@diptimanmitra
@diptimanmitra 5 жыл бұрын
should we consider converting existing ionic 4 + cordova app to capacitor .. Or only building new stuffs using capacitor ?
@MattNetkow
@MattNetkow 5 жыл бұрын
Consider converting. Capacitor is backward-compatible with Cordova. Watch above starting at 19:30 for an example app and also see our guide: capacitor.ionicframework.com/docs/cordova/migrating-from-cordova-to-capacitor
@valcron-1000
@valcron-1000 5 жыл бұрын
What can we expect about plugin support comming from the Ionic team? An also, why should we invest in Capacitor when PWAs offer a lot of common use APIs directly in JS (camera, geolocation, file picker, etc.), without much effort? I wish the project success, and I hope it can improve both user an developer experience.
@ihasmax
@ihasmax 5 жыл бұрын
Hey, so we will continue to support the core APIs (plugins) available out of the box, and may add a few here and there. However, a goal of Capacitor is to encourage the community to build their own plugins by making it easier to do so (hence why we've invested a lot of effort in improving the plugin developer experience). As for PWAs, there are a few things to keep in mind. First, many of those APIs are not necessarily easy to use (for example, getUserMedia requires hundreds of lines to build a good camera app experience, and that's available out of the box in Capacitor). Also, Capacitor gives you the option to target both app stores and the web on day one with the exact same code. That is more of a business/marketing benefit since you can reach people where they are, take full advantage of web and google search traffic, but still let people find your app in the app store. Hope that helps!
@valcron-1000
@valcron-1000 5 жыл бұрын
​@@ihasmax Thanks for the answer. I'll definitely check it out. Cordova was not a very pleasant experience for the developer.
@rhubarb6565
@rhubarb6565 4 жыл бұрын
I have been using PhoneGap Build to build Android and iOS - no Mac needed. I am looking to migrate. AFAIKS if I use Capacitor, then I am building locally and therefore need a Mac to build iOS apps. If I use AppFlow to build in the cloud do I need a Mac also?
@IonicFramework
@IonicFramework 4 жыл бұрын
Nope! You'll need your Apple certs etc. that you can get out of Apple's Developer site, but that's it. We recently created a new PhoneGap Build migration guide, see here: ionicframework.com/docs/appflow/cookbook/phonegap-build-migration
@CodiceMente
@CodiceMente 5 жыл бұрын
Does Capacitor work with Ionic React projects right now, or does it support only Angular?
@IonicFramework
@IonicFramework 5 жыл бұрын
It does work with React! It's web framework agnostic, so you can use it with any web app code and don't necessarily need to use Ionic Framework - though that's the best experience :)
@kidstogrown
@kidstogrown 4 жыл бұрын
Hi, why is the name capacitor?
@1984mnemonic
@1984mnemonic 5 жыл бұрын
I have one question. I have build a capacitor App, i can build the APK locally with Android Studio, but if I deploy on my account of ionicframework.com, it doesn't build the Package, and I see that it tries to build with Cordova. When will be possible to use ionicframework.com to build the apk's on your platform rather than locally. Thanks. By the way, fantastic job guys.
@IonicFramework
@IonicFramework 5 жыл бұрын
Capacitor support on Ionic Appflow is coming very soon ;)
@1984mnemonic
@1984mnemonic 5 жыл бұрын
@@IonicFramework Aha, thanks for reply, waiting eagerly for it.
@AntonioGallo73
@AntonioGallo73 5 жыл бұрын
12:48 well config.xml is versionable via git - i don't like very much the idea to mess with native project's file - if i've to do, then i prefer to use React Native
@ihasmax
@ihasmax 5 жыл бұрын
The problem is you don't have a choice . At some point you're going to run up against the native tooling. We find that abstracting it away through custom configuration and custom tooling is, in the long run, a more difficult experience for both users and for us to maintain. It sounds nice in theory, but a huge part of the frustration of Cordova stems from the fact that you're interfacing with these tools and platforms through custom tooling.
@hesabbgmail
@hesabbgmail 5 жыл бұрын
Where to find the demo code?
@IonicFramework
@IonicFramework 5 жыл бұрын
Not available yet, but here's a similar example repo: github.com/ionic-team/webinar-capflow
@computerminds5967
@computerminds5967 4 жыл бұрын
@@IonicFramework what about the device-info demo. I really need that
@FreddyOneKenobi
@FreddyOneKenobi 5 жыл бұрын
No config.xml? I think that this is a really bad idea. "write once" support is gone forever,now you are forced to use IDE for each language. No good :D
@MattNetkow
@MattNetkow 5 жыл бұрын
The reality is that you're interfacing with native tooling either way: whether it's through custom tooling like with config.xml or directly with the IDEs. I encourage you to give this approach a try before dismissing it - I think you'll be pleasantly surprised. capacitor.ionicframework.com/docs/getting-started/with-ionic
@SaudBako
@SaudBako 4 жыл бұрын
Klie? ( ☉ д ☉ ) 22:59
How to build a Progressive Web App (PWA)
59:29
Ionic
Рет қаралды 13 М.
Live Demo: Building Capacitor Apps in Ionic Appflow
54:36
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 29 МЛН
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 11 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 21 МЛН
Capacitor - Five Apps in Five Minutes
6:50
Fireship
Рет қаралды 174 М.
How to Build a Native App from Angular Projects with Capacitor
29:39
Ionic in 30
19:07
Ionic
Рет қаралды 2,1 М.
Ionic 4: Should you Build a Hybrid App?
10:35
Fireship
Рет қаралды 255 М.
Replit CEO Builds an App with 100% AI in 20 Min: Future of Coding?
41:18
What is IONIC? 🤔
14:28
Simon Grimm
Рет қаралды 25 М.
What is Ionic?
12:43
Ionic
Рет қаралды 1,3 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 29 МЛН