Capacitor - Five Apps in Five Minutes

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 128

  • @magne6049
    @magne6049 2 роки тому +123

    Would be fun if you would take a re-view on CapacitorJS now to see how far you could get to native performance with a PWA in 2022.

  • @Fireship
    @Fireship  6 років тому +81

    Capacitor is a very refreshing take on hybrid app development. Looking forward to seeing this tool evolve in the future.

    • @tonyfung99hk852
      @tonyfung99hk852 6 років тому

      So for the mobile platform is it still contained in web view? or it is rendered like react native? Thanks.

    • @NPCSkilla
      @NPCSkilla 6 років тому +2

      Capacitor wraps the web app in a so-called “WebView” that can display web apps inside the native app. It injects a “bridge” into the app running in the webview, that connects the code of the web app and the code of the native part so these can interact.
      ionic.zone/capacitor/overview

    • @pilearn1266
      @pilearn1266 3 роки тому

      Have a different today,? I

    • @2BluntsLater
      @2BluntsLater 3 роки тому +1

      What do you think today tho?

    • @shateq
      @shateq 2 роки тому

      The future is now!

  • @Bersling
    @Bersling Рік тому +24

    Using capacitor in 2023, so far it's been perfect. Easy to get set up & works out of the box (not naming alternatives i've tried here...), lets me use my web app skills to build mobile apps...

    • @kyonas6047
      @kyonas6047 Рік тому +4

      I got my brain fried trying to understand how to make a PWA lol all tutorials be like "oh ofc you have already done kwhwjwhsi and jwhskwusbs now let's start the first step" lol

    • @mixxxer
      @mixxxer Рік тому

      Going to try it soon - converting a Vue 3 MVP. Looking promising so far.

    • @developerninja619
      @developerninja619 8 місяців тому

      Or this
      ua-cam.com/video/WbbAPfDVqfY/v-deo.htmlsi=z3DGlpl81iwbia67

    • @developerninja619
      @developerninja619 8 місяців тому

      Learning Django rn. I know html, css, js after learning Django well enough will learn Vue.js and start using Capacitor.
      I'm hyped for the Capacitor. Just knowing that you can write frontend using web stack and run it on every device is truly amazing!

    • @developerninja619
      @developerninja619 8 місяців тому

      Your comment hyped me up even more =)

  • @razakadam74
    @razakadam74 6 років тому +45

    Jeff :) is the only tutor that can make you get interested in a tool in less than 5 mins. I love this

    • @Fireship
      @Fireship  6 років тому +7

      Haha, thank you. I can only make videos about topics that I am genuinely excited about.

    • @Ihavetoreturnsomevideotapes
      @Ihavetoreturnsomevideotapes 5 років тому +2

      My name is jeff

  • @dailydev4994
    @dailydev4994 6 років тому +1

    I really like the fact that you just basically just use adapters and let capacitor worry about the rest. Kinda like angular's render, nice and simple, this is an awesome dev ux!

  • @jesselima_dev
    @jesselima_dev 6 років тому +17

    Outstanding! The capacitor shows like a really powerful tool.

    • @Fireship
      @Fireship  6 років тому +4

      It's def much more intuitive than apache cordova, but still needs time to mature.

    • @developerninja619
      @developerninja619 8 місяців тому

      I bet it has 💪🏻💪🏻

  • @felixo9234
    @felixo9234 5 років тому +1

    Another game changer. I need to take a leap of faith and look into these new tech sooner.

  • @starllama2149
    @starllama2149 6 років тому +8

    This is honestly amazing

  • @RogerBurke
    @RogerBurke 6 років тому +7

    Very good...started with Sencha to build hybrid apps...then turned to Ionic...went to Angular as Ionic couldn't cover the web...but now..back to Ionic because it's the future...covering 5 different OS's with 1 code-base is brilliant...I thought it was good covering 2 (IOS & Android) with maybe 3 (Windows) but capacitor includes the PWA basics as well...all from code base...what more do you want !!!

  •  5 років тому +5

    You can avoid polluting your global installations with electron-packager if you 'npm i --save-dev electron-packager' and run 'npx electron-packager . --platform=win32'.

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 3 роки тому

    Jeff is my favourite tech youtuber!

  • @AdrianDucao
    @AdrianDucao 2 роки тому +1

    this, has so much potential

  • @consensai
    @consensai 3 роки тому

    I'm glad i found this video to begin playing with this (apparently) fabulous tool

  • @augmentos
    @augmentos 5 років тому +2

    would love to see a revisit now

  • @hrefamid9563
    @hrefamid9563 2 роки тому +2

    Please update this showcase for the latest capacitor version! A lot has changed 😎

  • @bstrnx
    @bstrnx 6 років тому +1

    Awesome! I know you just did a video about push notifications on Ionic, but I would like to see how this works on capacitor, it would be awesome if you did a video about it!

  • @mehdituts7607
    @mehdituts7607 5 років тому +7

    Hi, how do you do to paste code snippets in series like that?

  • @sleeplessforawhile
    @sleeplessforawhile 2 роки тому +1

    I´ve just arrive to this video (which it don´t say nothing good about my skills I´m affraid 😅) but ... let me ask you... are still cordova or capacitor a good option to build hybrid apps?. Thank you so much for yor work.

  • @mikes2521
    @mikes2521 6 років тому +3

    Electron support contributor here: Just want to shed some light as to why the Geolocation plugin returned "undefined". Did you set the Enviromental Var for GOOGLE_API_KEY? If not this can be done in the /electron/index.js by adding: process.env.GOOGLE_API_KEY = 'YOUR_KEY'; If you did all that I'd be interested in seeing any error logs for it in a Github issue so we can get to the bottom of the issue. :) Really good video!

    • @Fireship
      @Fireship  6 років тому +2

      Hi Mike, thanks for posting this. I made zero effort to fix that issue because I mostly wanted to prove the build process worked on all platforms, but this will be helpful to someone working with geolocation on desktop.

  • @mfahadshah
    @mfahadshah 2 роки тому +2

    Can you please do a remake of this with new updates..

  • @bingers_uk
    @bingers_uk Рік тому +1

    Svelte + Capacitor is the one

  • @danilocecilia7831
    @danilocecilia7831 6 років тому

    im super stuck about this capacitor lib!! Thank you so much for the vid !

  • @chrischappell7643
    @chrischappell7643 6 років тому +5

    write once, build all plalform, that's great way should apply all when software developing .

    • @Fireship
      @Fireship  6 років тому

      I wish real life was that easy :)

  • @deepakbawa1367
    @deepakbawa1367 3 роки тому +1

    It's 3 years now plz use capacitor 3 and re make the new video 👍

  • @amit.deshmukh
    @amit.deshmukh 3 роки тому

    Fireships feels like I am watching documentaries

  • @adrvent2
    @adrvent2 6 років тому +1

    What tha fuck, best notice ever, that video save my weekend of work, i can rest now, one week searching how build my angular app in android now i can

  • @paolofragomeni2147
    @paolofragomeni2147 11 місяців тому +1

    These days it's the Socket runtime 😎

  • @zoecarlibur
    @zoecarlibur 6 років тому +2

    This is really exciting technology, I wonder how it's gonna play with web-assembly. BTW Awesome job explaining this!

  • @AdarshMadrecha
    @AdarshMadrecha 3 роки тому +2

    It's time to create a new updated video, since we have Capacitor v3 BETA

  • @rodrigorubio3498
    @rodrigorubio3498 6 років тому +1

    WOW! Thanks for the demo.

  • @mycloudvip
    @mycloudvip 4 роки тому

    every single video you create is a piece of artwork. What is your website's url?

  • @botyironcastle
    @botyironcastle 2 дні тому

    capacitor sounds good

  • @AbhishekSharma-mt1rd
    @AbhishekSharma-mt1rd 6 років тому

    Looks great. Hope it works great!

  • @chirayumishra1185
    @chirayumishra1185 3 роки тому

    @fireship Can you please shed some light on pros and cons with Quasar ?

  • @moisgobg
    @moisgobg 2 роки тому

    What's the title of the intro song, it's beautiful

  • @rahulvanmali1406
    @rahulvanmali1406 6 років тому

    thank you brother for educating us! Will ionic capacitor compete react native and flutter? whats your thoughts? sorry forgot to wish you! happy easter to you and your family

    • @Fireship
      @Fireship  6 років тому +1

      Yes, in way. React native, flutter, and Ionic are all solving similar problems in different ways. Best choice depends on a whole variety of factors.

  • @tanoryjakaperdana1419
    @tanoryjakaperdana1419 3 роки тому

    As far as i know, every single digital eletcronic device has Capacitor inside it..

  • @mescalito2
    @mescalito2 3 роки тому +1

    Hi Max, do you know how can I share a file from an Android App to an Ionic/Capacitor App? the PWA option is called "share target" but I'm looking to do the same for a native Android-Ionic-Capacitor app, by any chance do you know how to do that?

  • @manishmunjal-jeenasikho
    @manishmunjal-jeenasikho Рік тому

    I am using external self created angular library in my project. In project when I do "ionic/npx cap add android" it works fine, and when I do "ionic/npx cap sync android" it gives an error project/android/src/main not found. Why it is finding assets in android/src/main rather /android/app/src/main

  • @loganwalsh
    @loganwalsh 6 років тому +3

    Wow this seems very interesting!!

    • @Fireship
      @Fireship  6 років тому +1

      capacitor === potential

  • @_juniorcoder
    @_juniorcoder 3 роки тому

    I have a little Problem with electron.
    When I create the electron app via electron-packager, the app contains nothing. That´s strange, because it works on Android, the Web, but not as a program.

  • @musicforthesoul5808
    @musicforthesoul5808 Рік тому

    npx cap serve no longer works with the new version of capacitor. Any pointers ?

  • @taharchibane5762
    @taharchibane5762 6 років тому

    Awesome stuff !

  • @tharunrajoptimus5229
    @tharunrajoptimus5229 3 роки тому

    I was happy until I saw
    Lat: undefined; Lng: undefined on windows 💀☠️👽

  • @andresm9051
    @andresm9051 4 роки тому

    Capacitor does it include all community and premier plugins availiable on ionic framework docs ?

  • @tharunrajoptimus5229
    @tharunrajoptimus5229 3 роки тому

    But it's a nice video Jeff

  • @habibleila405
    @habibleila405 3 роки тому

    how can we make the backend works with our capacitor app Crud methods!

  • @ELYUSEF
    @ELYUSEF 2 місяці тому

    it's been 6 years wow

  • @muhannadshubita392
    @muhannadshubita392 6 років тому

    Very promising!

  • @salalba4723
    @salalba4723 6 років тому

    good job !!!

  • @triciastritzinger8660
    @triciastritzinger8660 5 місяців тому

    Ok this video is a bit older... and I am running Node JS v20... and a newer capacitor and the imports from this video dont work... {map} from 'rxjs/operators/map'; can you update those at least in the links below?

    • @triciastritzinger8660
      @triciastritzinger8660 5 місяців тому

      Also for the Angular Server... can you comment on how to move the directory structure to Apache?

  • @RageBasterd
    @RageBasterd 6 років тому

    definitly on my radar but ill wait for a beta release before i actualy make something with it.

    • @Fireship
      @Fireship  6 років тому

      That's smart, it's not quite ready for production yet.

  • @avihusiso6888
    @avihusiso6888 2 місяці тому

    can capacitor reach out to postgres online database in real time ? i am having trouble

  • @sanportmx
    @sanportmx 6 років тому

    HELP!
    Failed to compile.
    ./src/app/app.component.ts
    Module not found: Error: Can't resolve 'rxjs/observable/bindCallback' in '/Library/WebServer/Documents/otros/capacitor/hello-world/src/app'

    • @codeconcept
      @codeconcept 5 років тому

      import { bindCallback } from 'rxjs';

  • @peacedove9038
    @peacedove9038 6 років тому

    Sir what's the difference between ionic 4 and capacitor? can they no do the something like deploying electron app?
    thank you

  • @AwgustRushOfficial
    @AwgustRushOfficial 5 років тому

    Why did the windows version lat and lng vars return undefined? Was the win pc not connected to Wi-Fi?

  • @rignaldgiterson4271
    @rignaldgiterson4271 6 років тому

    Hi! I really like your contents. Can you do a fun video where you're building an instant messaging app like whatsapp for example! that would be great.

  • @rabeehta222
    @rabeehta222 5 років тому

    is it possible to build the app using bootstrap? without the angular part

  • @LumbreraEnMiCamino
    @LumbreraEnMiCamino 6 років тому

    im lost when you said play button and open the emulator, how do i config my emulator to see the result on windows? and how do i create the apk after that? please help

    • @Fireship
      @Fireship  6 років тому +2

      Open the /android folder with AndroidStudio. You'll see a play button on the top right corner that will run an emulator. No need to create the APK manually.

    • @LumbreraEnMiCamino
      @LumbreraEnMiCamino 6 років тому

      thanks! it works for me and im very amazed!!

  • @unnhao
    @unnhao 4 роки тому

    I use local notification, it can't popup, I according to official doc, I don't know why

  • @EdwardNdiranguEddie
    @EdwardNdiranguEddie 5 років тому

    There an error at
    return watch.pipe(map(pos => pos.coords));
    The error in vscode reads... Property 'coords' does not exist on type '[GeolocationPosition, any]'.ts(2339)
    How do I fix this? Pls help.

    • @davidh3141
      @davidh3141 5 років тому +1

      Hey Edward, you can just do something like this to get around that:
      ngOnInit(): void {
      this.watchPosition().subscribe(pos => {
      this.coords = pos.coords;
      });
      }
      watchPosition(): Observable {
      return bindCallback(Geolocation.watchPosition)({});
      }

  • @blue7nagi
    @blue7nagi 6 років тому

    'npx cap add ios ' never finished ... loop in Updating iOS native dependencies .. :/

  • @anirudhhramesh4900
    @anirudhhramesh4900 6 років тому

    Sorry I'm currently facing a problem, where after running npx cap serve, I only see a webpage load with the root directory name ~/ and the file name of my project. Is there something I might have missed? On the localhost:3333 site it says "listing directory /.../" in the tab.

    • @gerb0n
      @gerb0n 6 років тому

      In the video he is using an older @angular/cli which outputs the build-output directly in /dist. Nowadays with the later versions of @angular/cli it outputs in dist/[projectname]. To fix it just change the webDir to 'dist/[projectname]' inside the capacitor.config.json.

  • @pilearn1266
    @pilearn1266 3 роки тому

    Today how even think about it

  • @anb1142
    @anb1142 2 роки тому +1

    you should do an update

  • @ubaidmurudkar439
    @ubaidmurudkar439 6 місяців тому

    How can we build ios while on windows

  • @aashishjangra
    @aashishjangra 6 років тому

    What editor u using?

  • @sachinmishra7692
    @sachinmishra7692 6 років тому

    Will it all existing Cordova plugin work with capacitor ?

    • @Fireship
      @Fireship  6 років тому

      Yep, it's fully compatible with cordova capacitor.ionicframework.com/docs/basics/cordova

  • @MrOnizukakira
    @MrOnizukakira 6 років тому +1

    first one to see the video !! thank you

    • @Fireship
      @Fireship  6 років тому

      Nice work, thanks for watching :)

    • @razakadam74
      @razakadam74 6 років тому

      you beat me to it, lets see next video :)

  • @AmxCsifier
    @AmxCsifier 2 роки тому

    You missed the opportunity to call the app capp haha

  • @bigbriggy
    @bigbriggy 6 років тому

    Anyone else getting issues following this, I get the following;
    app.component.ts (27,38): Property 'coords' does not exist on type '{}'.
    Running angular version 4.2.4

    • @nicolashenao3029
      @nicolashenao3029 6 років тому +2

      I got that error too, try replacing pos.coords with pos['coords'] and TS won't complain

  • @mr_don_key
    @mr_don_key 5 років тому

    callback is OLD! use async await! :) Much easier....

  • @bhaskarkaushal8553
    @bhaskarkaushal8553 6 років тому

    Why does it shows undefined in windows alert box

    • @Fireship
      @Fireship  6 років тому +1

      Desktop just needs an ENV variable to access geo coord data. github.com/electron/electron/blob/master/docs/api/environment-variables.md

  • @bf-xi3om
    @bf-xi3om 4 роки тому

    Is This video still valid in 2020 ?

  • @sirjohndestro8245
    @sirjohndestro8245 6 років тому

    This shit is dope

  • @MrOnizukakira
    @MrOnizukakira 6 років тому +1

    what about angularFire2 push notifications with angular 5 SwPush() is there any update one that ?

    • @Fireship
      @Fireship  6 років тому +1

      That's on my list. I've done a bunch of push notification work recently and have some snippets to share.

    • @MrOnizukakira
      @MrOnizukakira 6 років тому +1

      thank you very much! looking forward to see them

  • @Somens8Dworld
    @Somens8Dworld 4 місяці тому

    fuck everything use flutter

  • @Rundik
    @Rundik 5 років тому

    just a simple advice to those who want to make native apps with web technologies
    don't

  • @peacedove9038
    @peacedove9038 6 років тому

    Sir what's the difference between ionic 4 and capacitor? can they no do the something like deploying electron app?
    thank you