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

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

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

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

    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 9 месяцев назад +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 Год назад +17

    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

      @@peterfrom80s 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 5 месяцев назад

    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!

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

    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.

  • @joaomota410
    @joaomota410 10 месяцев назад +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!

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

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

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

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

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

  • @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... */}
    )}
    ...

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

    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

  • @user-san-chous
    @user-san-chous Год назад +2

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

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

    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."

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

    nah bruh! your pc must be monster super smooooothhh

  • @cornjulio4033
    @cornjulio4033 Месяц назад

    Fantastic Video, thank you very much !

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

    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.

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

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

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

    My best channel ever❤❤

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

    Cheers dude, great course!

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

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

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

    So far so good

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

      Hope you enjoyed the course even more!

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

      @@galaxies_dev sure, I hope so

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

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

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

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

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

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

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

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

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

    Can you guys do a RPA Development tutorial plz?

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

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

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

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

    waiting for the similar with angular and vue possible

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

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

    How are both native and cross platform??

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

    ionic serve --lab not showing different platform views

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

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

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

    Is the Apple Store approving capacitor projects?

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

  • @LoVe-iu9rd
    @LoVe-iu9rd Год назад

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

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

    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.

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

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

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

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

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

  • @stoneynl
    @stoneynl 2 дня назад

    the D in anDroid is not silent!

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

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

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

    Great

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

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

  • @kirrttiraj
    @kirrttiraj Месяц назад

    I am on windows can I create IOS app? I dont have xcode for simulation

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

    Great ❤

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

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

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

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

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

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

    It seems like you don't like mysql for data

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

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

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

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

  • @trinhannguyen2861
    @trinhannguyen2861 Месяц назад

    Beacause I'm in Vietname.

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

    lots of pluckins :D

  • @herodesh
    @herodesh Месяц назад

    ios simulator does not work on a linux device...

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

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

    26:36

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

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

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

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

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

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

    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 **

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

    First to comment

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

    Yo first comment 😅

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

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