Ionic & Capacitor for Building Native Mobile Apps - Full Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 104

  • @danmaina9731
    @danmaina9731 Год назад +52

    This by far has to be the best Ionic-react-capacitor tutorial on youtube. Thanks Simon.

    • @galaxies_dev
      @galaxies_dev Год назад +2

      That's exactly what I wanted to create - thank you and hope you enjoy it :)

    • @Rama-Rama74
      @Rama-Rama74 7 месяцев назад +1

      Absolutely! This is the second video I checked on Ionic (first was from Simon as well), and found it excellent👍
      Thankyou Simon🙏

  •  Год назад +38

    9:42 - "cap command not found" -> had to type in "npx cap open ios" or "ionic cap open ios"
    16:27 - "no devices or emulators found", but android studio sees my device -> "npx native-run android --list" can reveal potential errors
    3:00:22 - I think he's referring to this video: ruclips.net/video/SSv--IrWH3c/видео.html

  • @s1nistr433
    @s1nistr433 Год назад +15

    Honestly, I'm lost as to how Ionic Capacitor isn't more popular. I've made apps with Capacitor and not only is it easy, the things you make also run fluid and work pretty good. Especially if you make it a single-page app, use CSS animations and some things to make it feel like a native app (larger buttons, disabling the webkit highlighting). Like sure you're not gonna get native performance/flexibility but for social media apps and stuff it works great

    • @s1nistr433
      @s1nistr433 Год назад +4

      @@peterlabos5956 I guess you're right but, I don't think it's a bad option for CRUD based apps, like a social media or restaurant apps.
      If you need more native functionality then yes, Kotlin or react native is the way to go

  • @ashishchandwani9179
    @ashishchandwani9179 Год назад +9

    This course came at the perfect time because I've recently started building native applications with ionic and capacitor! Thanks

    • @galaxies_dev
      @galaxies_dev Год назад

      Awesome, hope you enjoy the course! Let me know if you ever encounter problems :)

    • @ashishchandwani9179
      @ashishchandwani9179 Год назад

      @@galaxies_dev can you please make video on building the auto complete search bar in ionic.

  • @judgewest2000
    @judgewest2000 4 месяца назад

    I really do like Ionic. I must admit I stop short of creating 'native' applications, not because I don't like the approach but because I hate the app stores. If your audience is targeted then you can absolutely go for this by giving a url with an instruction to create a home page link.
    HTML5 support for stuff like barcoding, offline functionality, geo awareness, and now notifications seriously reduces the need to have a native app.
    Fab video!

  • @hanzalasarguroh
    @hanzalasarguroh Год назад +2

    A perfect timing of this course, cause one day before I started this journey and got this course today

  • @Itssaqi06
    @Itssaqi06 11 месяцев назад +2

    You really deserve more than a like or a comment. I learned a lot from you. Love from Pakistan ❤

  • @joaomota410
    @joaomota410 8 месяцев назад +2

    Nice tutorial ! Very easy to follow and so far (I haven’t saw it all just yet).
    Although I have a question please: should we always use ionic components (the IonSomethings)? I ask this as their choices for how a component is structured proves quite challenging to change even the styles (due to the shadow DOM)

  • @RCV_RCV
    @RCV_RCV Год назад +2

    I barely speak English and I learned a lot. Really very good!

  • @reportingavenues1975
    @reportingavenues1975 25 дней назад

    Coming from a data science background, I finsished mobile app , via (ionic html css & plain vanila javascritp) and backend on flask python. I wrapped around with webview. It came easy to me, as i manage quite ok in python. Was thinking to build completely using ionic and capacitor, but looks like asteep learning curve required. Wondering should i spend so much time on this, or I continue with what I know, and just navigate around the way with that.

  • @cornjulio4033
    @cornjulio4033 8 дней назад

    Fantastic Video, thank you very much !

  • @hoangphucang9410
    @hoangphucang9410 10 месяцев назад

    This is great. I use Ionic for a while (just newbie) but now I learn I can do alot with it. Very nice video. Thx again

  • @AGUNGKAYA
    @AGUNGKAYA Год назад +5

    Sir, I am waiting for your ionic-angular course in udemy. I am sure that will be a viral since it is rare :D

  • @KurtMax225
    @KurtMax225 Год назад +2

    I'm sure I'm gonna be making a bootcamp study just for this course.

    • @galaxies_dev
      @galaxies_dev Год назад

      Let me know if anything is unclear ✌

  • @user-san-chous
    @user-san-chous 10 месяцев назад +2

    I was waiting for Angular... But I had to close the video at the beginning

  • @robt4219
    @robt4219 2 месяца назад +1

    How do you build a project with ionic without a javascript framework?

  • @Andris_Briedis
    @Andris_Briedis 8 месяцев назад

    When teaching, showing, it is necessary to move more slowly between programs, pages, files. Hold for 2-3 seconds. I understand that kind of jumping around. When I work, I do the same. But when something is shown, it is not your speed that needs to be worked on. This is the target speed. And the target is the beginner. Otherwise, "he might have an epileptic fit from such flashing."

  • @Hojini-iw4mt
    @Hojini-iw4mt Год назад

    My best channel ever❤❤

  • @NomadicBrian
    @NomadicBrian 2 месяца назад

    Very nice. Staying on the Android side everything is fine except the only beef I have is with gradle builds and conflicts between Android and Capacitor. The last time I used capacitor with Ionic I had to fix a lot of the configuration. Some of those problems have been corrected but new ones have emerged. This compatibility between Android versions and capacitor/gradlle versions is annoying. Previously I could use 'ionic cap run android --open --livereload --external' but only because I fixed the configuration myself. This time it won't run because 'com.android.tools.build.gradle:8.5.0' could not be resolved. I am up to gradle 8.7 and according to Android docs this is compatible with Android gradle 8.5. It seems that capacitor doesn't think so though. It brings up 'org.gradle.plugin.api-version required 8.7. Then mentions that Java 11 being compatible with Java 8. In Android Studio I point to a Java version that I downloaded to satisfy compatibility with the Java version which I guess now satisfies running the Kotlin code that is generated for the Android app. But it seems I'd have to manually change the configuration again which is a major pain in the a**. So not wanting to have gradle issues and old Java home pointers to my machine (because I do Java, Python and I currently have 5 different Java versions for different reasons including running docker images) I just develop from using 'ionic serve' and just open android and check if things look good on Android. I just have to live without ionic cap run android which for my purposes is fine.

  • @td-colinharris
    @td-colinharris 10 месяцев назад

    Cheers dude, great course!

  • @kevinariza603
    @kevinariza603 Год назад +3

    To avoid the glitchy looking change from the Intro page to the Login page after the checkStorage call, set the introSeen variable default to null and do not render the Intro component nor the Login page until the introSeen has been set to an actual boolean value. Like:
    ...
    const [introSeen, setIntroSeen] = React.useState(null);
    {introSeen === false ? (
    {/* Intro component... */}
    ) : introSeen === true && (
    {/* Login page... */}
    )}
    ...

  • @ancientstone9106
    @ancientstone9106 Год назад

    nah bruh! your pc must be monster super smooooothhh

  • @mrmae99
    @mrmae99 Год назад +2

    So far so good

    • @galaxies_dev
      @galaxies_dev Год назад

      Hope you enjoyed the course even more!

    • @mrmae99
      @mrmae99 Год назад

      @@galaxies_dev sure, I hope so

  • @c.emmanuelzuniga9435
    @c.emmanuelzuniga9435 Год назад +2

    Los mejores tutoriales siempre, ojalá hagan más en español

    • @galaxies_dev
      @galaxies_dev Год назад +3

      Sorry, my Spanish is not yet good enough to make a 3 hour course :(

  • @DodlaSreekanth
    @DodlaSreekanth 3 месяца назад +1

    ionic serve --lab not showing different platform views

  • @paollarce5137
    @paollarce5137 Год назад +1

    I have a rare error :(
    First I run the command ng build, after that I run the command ionic cap add android command, finally I run the command ionic cap open android. I am getting this error in the console after android studio has been opened. Cannot convert string value 'UNIFIED_TEST_PLATFORM' to an enum value of type 'com.android.builder.model.AndroidGradlePluginProjectFlags$BooleanFlag' (valid case insensitive values: APPLICATION_R_CLASS_CONSTANT_IDS, TEST_R_CLASS_CONSTANT_IDS, TRANSITIVE_R_CLASS, JETPACK_COMPOSE, ML_MODEL_BINDING)
    I already tried deleting the android folder but nothing changed

  • @Trashpanda_404
    @Trashpanda_404 10 месяцев назад

    Wholly christ that guys almost my twin! That screwed me up when he popped up. I didn’t remember making the video. 🤣

  • @anupamam8927
    @anupamam8927 11 месяцев назад +1

    Ionic react with pwa..... please do the video on this

  • @Fundalf_the_greyt
    @Fundalf_the_greyt 10 месяцев назад +1

    What would be a good place to store API bearer token after a login? Would you use @capacitor/preferences?

  • @dev_apostle
    @dev_apostle Год назад +1

    this looks very good. so how does this stack up to react native? I like that ionic has its own built in version of tailwind and icons.

    • @galaxies_dev
      @galaxies_dev Год назад +3

      They are different in many ways as Ionic is truly web, while RN is actually not using the standard web elements. Nonetheless, both approaches are great and work for many companies in different scenarios!

  • @rishiraj2548
    @rishiraj2548 Год назад +1

    Thank you very much

    • @galaxies_dev
      @galaxies_dev Год назад

      You're welcome, if you're interested in anything specific about cross-platform development just let me know ✌

  • @adamyoung3994
    @adamyoung3994 Год назад +1

    If you have an error similar to:
    `[capacitor] A problem occurred configuring root project 'android'.
    [capacitor] > Could not resolve all files for configuration ':classpath'.
    [capacitor] > Could not resolve com.android.tools.build:gradle:8.0.2.`
    When running 'ionic cap run android --livereload --external'
    I found the following helped fix the error for me on Mac
    Upgrade to Java 17 with Homebrew by running:
    1) brew install openjdk@17
    Make Java 17 your default Java:
    2) echo 'export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"' >> ~/.zshrc
    Refresh your current shell session to pick up the changes:
    3) source ~/.zshrc
    To check your Java has updated:
    4) java -version

  • @sosolowkey9318
    @sosolowkey9318 Год назад

    Can you guys do a RPA Development tutorial plz?

  • @DeepakKumar-dz5xv
    @DeepakKumar-dz5xv Год назад +1

    @galaxies_dev Can you tell me how are you getting that cool dropdown autocomplete ?

  • @mahendranath2504
    @mahendranath2504 Год назад +1

    Thank you so much 👋👍🫡👏👌🙏🏻😎🤝🫰🏻✌️

  • @behicsakar
    @behicsakar 11 месяцев назад

    waiting for the similar with angular and vue possible

  • @evangelosspyromilios5994
    @evangelosspyromilios5994 Год назад +1

    How are both native and cross platform??

  • @Techtalkswithnonny
    @Techtalkswithnonny Год назад +1

    Great ❤

    • @galaxies_dev
      @galaxies_dev Год назад

      Thank you - hope you can build some epic mobile apps soon!

  • @user-lq1cs
    @user-lq1cs 7 месяцев назад

    the navigation is so confusing... the 2 routeroutlet is hurting my brain!! :((

  • @juankilian8531
    @juankilian8531 Год назад

    Thank you for this
    I am busy with a project for work that needs a mobile app. Im still working through this video. Are you showing push notifications at all in this video, If not have you got another video that can assist with that?

    • @galaxies_dev
      @galaxies_dev Год назад

      We don't cover push notifications in this video, but I should have a video about that on my own channel!

    • @juankilian8531
      @juankilian8531 Год назад

      @@galaxies_dev Thank you so much

  • @KT-ut9zg
    @KT-ut9zg Год назад +2

    Blank white screen when using livereload. Hours of searching on Google for an answer with no good answers. Getting the PTSD again which I've suffered since the early days of Cordova and remembering why I keep avoiding trying to build a hybrid app. The tooling of these systems is so incredibly convoluted and painful.

  • @CrepaRandomShit
    @CrepaRandomShit 5 месяцев назад

    How do you disable the GENERATE_SOURCEMAP? I'm using Ionic CLI 7.2.0 and it seems like there is no longer an option in "ionic build --no-source-map".
    "GENERATE_SOURCEMAP=false" in ".env" not working either.
    I also try putting the "GENERATE_SOURCEMAP=false" inside package.json under "scripts: { build }" parameter but no luck.
    Would you help me? Thanks in advance.

  • @LoVe-iu9rd
    @LoVe-iu9rd 11 месяцев назад

    What about mac book air? How many ram required and space?

  • @juniorMr
    @juniorMr Год назад +1

    Great

    • @galaxies_dev
      @galaxies_dev Год назад

      Thank you! If you encounter any problems, just let me know :)

  • @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

  • @windwaker6239
    @windwaker6239 7 месяцев назад

    is anyone else encountering the glitchy IonHeader, where the Menu button seems to be rendered later than the IonTitle?

  • @kangnifredable
    @kangnifredable Год назад

    It seems like you don't like mysql for data

  • @GwillFX
    @GwillFX Год назад +1

    lots of pluckins :D

  • @QuaresmaGamer
    @QuaresmaGamer 9 месяцев назад

    Is the Apple Store approving capacitor projects?

  • @GilbertoAlbino
    @GilbertoAlbino 8 месяцев назад

    How to make Capacitor Live Reload work on Linux?

  • @lesterbax
    @lesterbax Год назад

    help how to fix this =>
    [error] Unable to launch Android Studio. Is it installed? // iahave already installed android studio
    [error] Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:757:9)
    at baseOpen (C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli
    ode_modules\open\index.js:224:34)
    at async openIOS (C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\ios\open.js:8:5)
    at async runTask (C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\common.js:144:23)
    at async open (C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\tasks\open.js:48:9)
    at async openCommand (C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\tasks\open.js:32:13)
    at async C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\index.js:139:9
    at async C:\Users\TRUPOS\AppData\Roaming
    pm
    ode_modules\@capacitor\cli\dist\telemetry.js:26:13
    at async Command.=>

  • @marvinevins8221
    @marvinevins8221 Год назад

    I haven't heard from ionic in quite some time.

    • @galaxies_dev
      @galaxies_dev Год назад

      Well, they are doing better than ever and just released a major new version this year! Plus especially Capacitor is getting more traction lately.

  • @pedrovsn
    @pedrovsn Год назад

    I have a error that i have been trying to fix all day, been through every stackoverflow issue, and nothing fix it:
    [capacitor] A problem occurred configuring root project 'android'.
    [capacitor] > Could not resolve all files for configuration ':classpath'.
    [capacitor] > Could not resolve com.android.tools.build:gradle:8.0.2.
    When running 'ionic cap run android --livereload --external'
    Please, somebody help, i need this to run. It's my work.

    • @adamyoung3994
      @adamyoung3994 Год назад

      For myself I had to update my Java to 17 and found the following worked for me. Bare in mind I am on Mac
      Upgrade to Java 17 with Homebrew by running:
      1) brew install openjdk@17
      Make Java 17 your default Java:
      2) echo 'export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"' >> ~/.zshrc
      Refresh your current shell session to pick up the changes:
      3) source ~/.zshrc
      To check your Java has updated:
      4) java -version

  • @trinhannguyen2861
    @trinhannguyen2861 День назад

    Beacause I'm in Vietname.

  • @Smilingcrittersall
    @Smilingcrittersall Год назад +9

    Can we all appreciate that how he spends his 24 hours to entertain us ❤️.

  • @aliadeel6093
    @aliadeel6093 Год назад

    I am getting error while running " cap open ios" command

    • @lavenduct2001
      @lavenduct2001 5 месяцев назад

      That's because capacitor isn't installed globally on your device. You can run... npx cap open ios... This should work for you.

  • @BrutalStrike2
    @BrutalStrike2 Год назад

    26:36

  • @juliaof.kataleko7595
    @juliaof.kataleko7595 Год назад +1

    First to comment

  • @faizshaikh1673
    @faizshaikh1673 Год назад +1

    Yo first comment 😅

  • @saadhabashneh5587
    @saadhabashneh5587 Год назад

    What is ionic and capacitor

    • @galaxies_dev
      @galaxies_dev Год назад +1

      Ionic is a set of mobile-ready UI components, and Capacitor helps to build native iOS/Android apps from a single codebase with JS, HTML and CSS!

    • @saadhabashneh5587
      @saadhabashneh5587 Год назад

      @@galaxies_dev so it's like flutter but for js ?

    • @yoyo-yx1qx
      @yoyo-yx1qx Год назад

      @@saadhabashneh5587 no nothing is like flutter,flutter uses one language,dart, this one is uses html css,js, go with flutter don't waste your time with this

  • @jordanyoung1836
    @jordanyoung1836 Год назад

    Let's see what this one is all about

    • @galaxies_dev
      @galaxies_dev Год назад

      It's about building native mobile apps with just web technology - let me know when you got any questions about this 👋

    • @jordanyoung1836
      @jordanyoung1836 Год назад

      @@galaxies_dev yes sir

    • @garrettjosiahmoore9802
      @garrettjosiahmoore9802 Год назад

      ​@@jordanyoung1836 h hl o

  • @bossgd100
    @bossgd100 Год назад

    What is the theme of the IDE ?

    • @cryptoboy1461
      @cryptoboy1461 Год назад

      Vs code

    • @bossgd100
      @bossgd100 Год назад +1

      @@cryptoboy1461 i mean the syntaxe color and background color

    • @galaxies_dev
      @galaxies_dev Год назад

      It's the Shades of Purple theme :)

    • @bossgd100
      @bossgd100 Год назад

      @@galaxies_dev thank you for your answer !

  • @federico-lattanzi
    @federico-lattanzi 3 месяца назад

    Getting an error here on "ionic cap run ios" or "npx cap run ios":
    warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not
    specify any outputs. To address this warning, either add output dependencies to the script phase, or configure
    it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'App' from
    project 'App')
    ** BUILD FAILED **

  • @Kiev-in-3-days
    @Kiev-in-3-days 9 месяцев назад

    Such a shame you are teaching Capacitor using React. This is plain wrong.

  • @michaeljordanadriano9910
    @michaeljordanadriano9910 Год назад +2

  • @valentinnankov5054
    @valentinnankov5054 7 месяцев назад

    This is great tutorial, thank you for sharing it with us