How to Build Your First Ionic 6 App with API Calls

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 152

  • @galaxies_dev
    @galaxies_dev  2 ปีที่แล้ว +2

    Want more? Check out some real Ionic clones here: th-cam.com/play/PLNFwX8PVq5q5K_ztYB5umsEu9p6SOQQSb.html
    Make sure to subscribe for more! th-cam.com/users/simongrimmdev_?sub_confirmation=1

  • @indrajitruidas12
    @indrajitruidas12 11 หลายเดือนก่อน +3

    Hi Simon , I was doing internship in a product based MNC. And I got tasks related to PWA , Push Notifications, Hybrid App Development etc . One senior suggested that with Ionic Angular these all things I could do . But I never worked with Ionic . Your Ionic videos helped me at each step , whenever I got stuck , you helped me at the very point . AND FINALLY I'VE GOT FULL TIME JOB IN THAT MNC .
    Can't thank you enough Simon ! Truely grateful to you ❤️.
    You helped me getting a good career opportunity.

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน +2

      Wow that is so amazing to hear - congratulations on your job mate!!

  • @emreaka3965
    @emreaka3965 2 ปีที่แล้ว +8

    I am gonna build a mobile app for my web project by following your video. Let's get started :D

  • @karangupta7289
    @karangupta7289 ปีที่แล้ว +3

    This is one of the best videos I have ever found on Angular and Ionic learning for a beginner in this field! It's best to learn by building apps rather than by trying to only read documentation and not applying it anywhere. Thankyou! Will checkout all your videos!

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Thank you Karan! I think the same, seeing something practical in action and following along is a great way to get a feeling for how things work with Ionic - let me know when you encounter problems :)

  • @CITYBOY5950
    @CITYBOY5950 2 ปีที่แล้ว +2

    This video was great. Straight to the point with a real-example. That makes it really easy to understand without the extra fluff that steers us away from the basics

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Happy to hear - give it a share if you enjoyed it ✌️

  • @braveitor
    @braveitor 2 ปีที่แล้ว +6

    Fantastic video. Sometimes is good to get back to basics so we may fill any knowledge gap, as we sometimes do things without having very clear what we're doing. Nice one, Simon!

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Very true, and glad you enjoyed it David!

  • @asifequebal3021
    @asifequebal3021 2 ปีที่แล้ว

    honestly the best soft tutorial ive ever seen. short and straight to the point ! i love it

  • @dohoangnam9x
    @dohoangnam9x 2 ปีที่แล้ว +4

    A note at 40:42
    If you use .push(...spread-array) like the video, you might need to have to manually trigger detectChanges for the component to reload the UI if you are using OnPush strategy (since the .push does not change the instance of the array, which makes Angular consider it as it was not changed).

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Thanks for pointing it out!

    • @AntonGorbachevDev
      @AntonGorbachevDev 2 ปีที่แล้ว +2

      Or we can do this.movies = [...this.movies, ...spread-array] this trigger detectChanges automatically

    • @sachinvarghese2223
      @sachinvarghese2223 ปีที่แล้ว

      @@AntonGorbachevDev thanks for this

    • @anggifergianp6566
      @anggifergianp6566 ปีที่แล้ว

      do you mean changeDetection: ChangeDetectionStrategy.OnPush ?

    • @dohoangnam9x
      @dohoangnam9x ปีที่แล้ว

      ​@@anggifergianp6566 Yes, if the array you are mutating using .push() method (which keeps the array reference after mutating) is inside a component using ChangeDetectionStrategy.OnPush, Angular might not be able to detect it.
      The way @lastbreath2437 suggested is the correct way in that case. (Or you can manually trigger change detection using ChangeDetectionRef If I remember correctly).

  • @TheSharkbeast
    @TheSharkbeast ปีที่แล้ว +1

    i cant explain how helpful your videos are !! please make more videos on react & ionic

  • @CJvanNiekerk
    @CJvanNiekerk 2 ปีที่แล้ว +3

    Thanks, really appreciate the time and effort you put into these videos ! They work and make the topic really simple to understand and follow - 100 thumbs up !

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Thanks a lot CJ - would help me a lot if you could share the tutorial on your preferred SM platform 🙌

    • @CJvanNiekerk
      @CJvanNiekerk 2 ปีที่แล้ว

      @@galaxies_dev will do - I have made a simple application to test the implementation using a custom jwt provider through Laravel 9 (php framework and very popular) and the ionic app - this is the base I will use for all my applications going forward - not sure if you would like me to share this with you at some point - good alternative to use if you don't want to make use of cloud providers like firebase ?

  • @Dayogg
    @Dayogg 7 หลายเดือนก่อน

    Thank you for such a detailed and well made tutorial. It was a great starting point.

    • @galaxies_dev
      @galaxies_dev  6 หลายเดือนก่อน

      Glad you enjoyed it!

  • @immanuel417
    @immanuel417 ปีที่แล้ว +1

    Why Api Not Working if my project CRUD compile to android studio ?

  • @lucasneiva6679
    @lucasneiva6679 2 ปีที่แล้ว +2

    Congrats, Simon. Where is the source code? Please share the git repo with us

  • @misteryegor
    @misteryegor ปีที่แล้ว +1

    Mate, this video is awesome! Thanks a lot for that!

  • @TamFbs
    @TamFbs ปีที่แล้ว +1

    Very good tutorial

  • @suleman9674
    @suleman9674 2 ปีที่แล้ว +1

    great work... this was a great tutorial for me as a beginner

  • @JOD8576
    @JOD8576 2 ปีที่แล้ว +1

    Really amazing. Thanks

  • @antoniocorreiadev
    @antoniocorreiadev ปีที่แล้ว +1

    Great video, thanks!

  • @taraselegesiere5216
    @taraselegesiere5216 2 ปีที่แล้ว +1

    Awesome video Simon, I have learnt a lot. Well done.

  • @rehamabmatrix2638
    @rehamabmatrix2638 ปีที่แล้ว +1

    thank you , done successfully ^^ , good job man !

  • @businessTech127
    @businessTech127 2 ปีที่แล้ว +1

    very nicely explained with neat and clean code
    ! Keep Teaching 👍

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Thanks, I will 💪🏻

  • @danielmartinez-rr4rn
    @danielmartinez-rr4rn ปีที่แล้ว +1

    Great video man!

  • @caiosales176
    @caiosales176 2 ปีที่แล้ว +1

    Man, fantastic video, thank you so much! XD

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Glad you enjoyed it Caio!

  • @moleexr639
    @moleexr639 2 ปีที่แล้ว +1

    thank u for shareing Ionic video

  • @user-pi3to9iv2y
    @user-pi3to9iv2y 9 หลายเดือนก่อน

    Great Tutorial. Please how to make my ionic apk built with appflow and capacitor able to connect to my deployed api URL ? I'm getting an 0 unknow error issue

  • @vedantparchulkar708
    @vedantparchulkar708 2 ปีที่แล้ว +1

    Thank you for this video. This is helpful. :)

  • @phunguyen6319
    @phunguyen6319 2 ปีที่แล้ว +1

    I built this project and build it on android studio but when I turn on my app on my phone it lost images do you know how to fix it ?

  • @josequintin2467
    @josequintin2467 2 ปีที่แล้ว +2

    Muito bom Sir Simon!

  • @fathanianas7298
    @fathanianas7298 ปีที่แล้ว

    I have an issue with my code concerning the event when trying to implement infinite scrolling, it says that the event is of type event and isn't assignable to parameter of type InfiniteScrollCustomEvent

  • @jesuseduardolealperez
    @jesuseduardolealperez ปีที่แล้ว +1

    thank you bro thank you

  • @chizuru1999
    @chizuru1999 2 ปีที่แล้ว

    Super good tutorial 👍🏻👍🏻. Idk angular just feels good even at work or for personal projects. Been hopping a lot on react / react-native / native / flutter / etc etc but ionic seems good along with ofc angular.

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Yeah feeling the same - it has a learning curve but projects tend to have a decent structure and you easily get into other peoples code as well with Angular!

  • @facuchaer1
    @facuchaer1 2 ปีที่แล้ว

    Thanks for your time and effort. Just strated a proyect its been 5 years since My last one and your series comes really handy.
    I have a question maybe anyone can help figure out. I need to stream a live vídeo within My app. Tried using stream media wo success, is it worling on iónic 6 capacitor?

  • @ankitakachalia2610
    @ankitakachalia2610 ปีที่แล้ว

    Hello simon i want to integrate venmo payment in ionic then how to do it please provide some suggestion

  • @kumaravelanbu1017
    @kumaravelanbu1017 2 ปีที่แล้ว

    Do a video tutorial on background geolocation that get gps data for a x amount of time in ionic

  • @cyberlord6406
    @cyberlord6406 ปีที่แล้ว

    Please simon im having an error and I don't know how to solve it... Cannot find module 'is-docker'...

  • @ConnorsYTVideos
    @ConnorsYTVideos 2 ปีที่แล้ว +1

    getting error 404 page not found when searching for the popular movies, any others know how to fix this issue? My code is identical to Simon's!

    • @gmartins-dev
      @gmartins-dev ปีที่แล้ว

      the same problme here... any solution? @galaxies_dev

  • @deepakjoshi4466
    @deepakjoshi4466 ปีที่แล้ว

    Unable to see service page in my project do i need to add it manually or bya some command pls help

  • @vishnuvardhan.412
    @vishnuvardhan.412 ปีที่แล้ว

    Hi Simon...it's very helped to me. But I want to integrate .aar file which is generated using ionic/cordova and integrate with another third-party app. I have tried but getting issues with cordova plugins saying, class not found exception. Would you please suggest the approach ?

  • @MarcosVinicius-gj6qg
    @MarcosVinicius-gj6qg 2 ปีที่แล้ว

    Simon, could you do a tutorial with resolutions of build issues and conflicts that ionic 6 is currently having with angular. It's been a headache. Thanks!

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      What kind of build issues? I haven't experienced any problems with latest Ionic versions!

  • @subithacharlet6769
    @subithacharlet6769 2 ปีที่แล้ว

    Hi sir,
    Am using rest api in my capacitor app , that's call fine and getting success response from brower , but in device that returns errorcode 0

  • @werewolf4032
    @werewolf4032 2 ปีที่แล้ว

    Thank you So much. Sir can u make a search bar too, I need that to learn this ionic 6

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Sure I'll add this to my list!

  • @ravijatav1938
    @ravijatav1938 2 ปีที่แล้ว

    Hi Simon
    I am trying to integrate paid api for voice and video calling in ionic Cordova app but unable to implement it. So will you please guide me for that how can I implement this. Please provide me a solution for that as soon as possible.

  • @coderprakash
    @coderprakash 5 หลายเดือนก่อน

    Did ionic have same job opportunities compared to native iOS, Android and cross platform flutter, Reactnative which is having more opportunities?

    • @galaxies_dev
      @galaxies_dev  5 หลายเดือนก่อน

      React Native has the most, followed by Flutter. The Ionic market is a lot smaller currently.

  • @lynxnunkima3872
    @lynxnunkima3872 2 ปีที่แล้ว +1

    Hello @Simon_Grimm, can you please make a video how to connect with thermal printers, (receipt printer) from ionic app, any printers really, using bluetooth or wifi

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +2

      Yeah good idea, just need such a device first :D

  • @envygamer
    @envygamer 2 ปีที่แล้ว

    Could you please upload a Tutorial on configuring Android Studio and how the debugging works, I have been facing so many challenges when I try to load my web app as an app.

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      I've got a guide on debugging here as well: ionicframework.com/blog/debugging-tips-for-your-ionic-app/

  • @SalehWolf
    @SalehWolf 2 ปีที่แล้ว

    Hello Thanks For Your Videos😍 Do you have any Video For PWA In Ionic? In IIS?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Hey yeah you could check this: th-cam.com/video/HQxRGI42VDE/w-d-xo.html

  • @davidgeen6077
    @davidgeen6077 2 ปีที่แล้ว

    Thank you! Nice video👍
    Please could you upload for us the source file to download?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Link is in the description to the written version!

  • @paulh6933
    @paulh6933 2 ปีที่แล้ว

    how about using a shortcut instead of ur if. i use e for event and i tested it with 3 pages max. not as read-able, as an if, but react devs do this
    e && (e.target.disabled = data.page === 3);

  • @AGUNGKAYA
    @AGUNGKAYA 2 ปีที่แล้ว

    Sir you forgot to tell us why the opened android studio got error when syncing

  • @rodrigoquiros2706
    @rodrigoquiros2706 ปีที่แล้ว

    Hi Sim, when i run * ionic cordova build ios * the terminal returns: Error unknow argument: platform

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Maybe because you are using Capacitor in your app?

  • @mdaslamknl
    @mdaslamknl 2 ปีที่แล้ว +2

    Why don't you upload code what created in this video
    It will be more helpful
    Thanks

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      The tutorial is linked below the video :)

    • @mdaslamknl
      @mdaslamknl 2 ปีที่แล้ว

      @@galaxies_dev
      Thank you for reply

  • @TUR595
    @TUR595 ปีที่แล้ว

    Hey Simon! Nice tutorial.
    I know its quite old for you now and hopefully you can answer.
    I have a problem with the movie types. If I define response as any in service file and movies as an array in page file. I am not able to do the spread operation onto movies because typescript complains "Type 'any[]' is not assignable to type 'never[]'". What could be the problem here?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      You can simply initialise the array as an empty array, that should fix the never warning!

  • @souzaelvis3102
    @souzaelvis3102 ปีที่แล้ว

    got some problems with infinite scroll,
    `Type 'Event' is missing the following properties from type 'InfiniteScrollCustomEvent'`
    How i can solve this?

    • @saskiafalken6350
      @saskiafalken6350 ปีที่แล้ว

      I had the same error and don't know why Simon Grimm didn't encounter the same error.
      Easy workaround:
      Declares the $event to be of type $any.

  • @hernandohernandez4097
    @hernandohernandez4097 2 ปีที่แล้ว

    Hello, greetings from Colombia. I have a request, is it possible to make a foreground service ionic class

    • @TheSaceone
      @TheSaceone 2 ปีที่แล้ว +1

      The foreground service is a native feature of Android. In order to have that feature in your ionic application, you need to use a capacitor plugin or a cordova plugin. Thouse plugins expose to your application the native functionalities of the device like camera, file system, sensors, or, in your case, foreground services. Refer to the explanation of Simon in 55:02
      The official documentation suggests this plugin: ionicframework.com/docs/native/foreground-service
      This is a cordova plugin, but worry not! If your ionic application uses capacitor, well, capacitor is capable of using cordova plugins too! (most of them).
      If this plugin doesn't fit your requirements, you can always build your custom plugin for capacitor. Simon has also a video about that topic: th-cam.com/video/Nf-mOfmD7X4/w-d-xo.html

  • @thecasualgamer90
    @thecasualgamer90 2 ปีที่แล้ว +1

    Can we get a live project with Ionic + React?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Sure, working on some React material already!

    • @thecasualgamer90
      @thecasualgamer90 2 ปีที่แล้ว

      @@galaxies_dev Thank you so much Simon!!

  • @paulhetherington3854
    @paulhetherington3854 ปีที่แล้ว +1

    Ionic - Aye! I'm on, this landmas - Natives.

  • @uncleike5230
    @uncleike5230 ปีที่แล้ว

    I am following the tutorial now and i do not have the app.module.ts file, should I create it ??

    • @gbarbier69
      @gbarbier69 ปีที่แล้ว

      same issue, ionic 7 does not include the app.module.ts file i've been trying to find out where to declare the HttpClientModule without creating the app.module file but no luck

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      They updated to Angular standalone components, check out my video about it: th-cam.com/video/Y0vH5Cm3HAk/w-d-xo.html

  • @aogunnaike
    @aogunnaike 2 ปีที่แล้ว

    Awesome 😎 can I upgrade from ionic 5?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Yes you can

    • @aogunnaike
      @aogunnaike 2 ปีที่แล้ว

      @@galaxies_dev ok thanks

  • @tedkhieu8995
    @tedkhieu8995 ปีที่แล้ว

    I bought your ebook but I have problems running pizzaShop app on my laptop. I need to update npm. I deleted npm but having problems reinstalling it. Can you guide me how to completely uninstall node and npm so then I can install nodeJs fresh. I really enjoy going through the ebook. Thanks for putting out there.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Please send me an email with the exact issues so I can take a look Ted!

    • @tedkhieu8995
      @tedkhieu8995 ปีที่แล้ว

      @@galaxies_dev
      Will do thanks!

  • @SuperiorTag
    @SuperiorTag 11 หลายเดือนก่อน

    Is Ionic free to build apps with and launch?

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      Yes, 100% open source.

  • @prabhatkumar803
    @prabhatkumar803 2 ปีที่แล้ว

    I am not finding my self working with ionic capacitor I tried alot when I try to run the applciation in android simulation I am getting network_refused error while calling the api , While my api is working fine ... It is hard to configuration

    • @prabhatkumar803
      @prabhatkumar803 2 ปีที่แล้ว

      Ionic:
      Ionic CLI : 6.19.0
      Utility:
      cordova-res : 0.15.4
      native-run : not installed globally
      System:
      NodeJS : v14.16.0
      npm : 6.14.11
      OS : Windows 10

  • @akaz261
    @akaz261 ปีที่แล้ว

    i have a problem in the interface of the movieApp. There is nothing in the index page(movie)

    • @akaz261
      @akaz261 ปีที่แล้ว

      anyone can help me ? {{ item.title }} not recognize


      {{item.title}}

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Did you take a look at the structure of each item? Maybe there is no title or something wrong with your array!

    • @gmartins-dev
      @gmartins-dev ปีที่แล้ว

      @@galaxies_dev getting error 404 page not found when searching for the popular movies, any others know how to fix this issue? My code is identical to Simon's!

    • @gmartins-dev
      @gmartins-dev ปีที่แล้ว

      @@akaz261 same problem here,

    • @gmartins-dev
      @gmartins-dev ปีที่แล้ว

      @@galaxies_dev i have the same problem, my code is like the tutorial, I made ctrl c + v to test, and doesn't works =(

  • @arlo252
    @arlo252 ปีที่แล้ว

    Will this work in Ionic 7? Cause I came across an issue => ( ERROR Error: Uncaught (in promise): NullInjectorError: )

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Ionic 7 uses Angular Standalone modules, so you need to import the according packages directly in your component!

  • @dearvivekkumar
    @dearvivekkumar 2 ปีที่แล้ว

    When running on android the images are not loading, after debugging it was happening because of CORS error.
    Any guilde how to deal with CORS in case of android.

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      You can only fix CORS inside the API or use a proxy, but usually this API has CORS implemented! Maybe you used a wrong URL without SSL and got redirected or something like that?

    •  2 ปีที่แล้ว

      I got the same issue. The problem is that API for images is called with http instead of https in the tutorial (images property in the environment.ts file)

  • @muhammadzulharith3447
    @muhammadzulharith3447 2 ปีที่แล้ว

    thanks i have done ur tutorial but after deploy on android why no image ya

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      That's hard to say, but you can use remote debugging to check the logs: th-cam.com/video/akh6V6Yw1lw/w-d-xo.html

    • @muhammadzulharith3447
      @muhammadzulharith3447 2 ปีที่แล้ว

      @@galaxies_dev alright2 ill check it out thanks @Simon Grimm

  • @lucasneiva6679
    @lucasneiva6679 2 ปีที่แล้ว

    Did you versionate the code? Can we access that?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Link to the tutorial is below the video in the description!

  • @AZZAKIART
    @AZZAKIART ปีที่แล้ว

    in minutes 29:28 i'am troble. Why ?

  • @rizwanramzan5478
    @rizwanramzan5478 2 ปีที่แล้ว

    sir ma ya wala kam cap pr kr rha ho lakin nhi ho rha agr koi cap wali app pr koi video ha to send in link for same kam

    • @user-gl8ig2pw2v
      @user-gl8ig2pw2v 2 ปีที่แล้ว

      bhai wo english hy agr kuch bolna hy to english mein bol

  • @piqueprototype1845
    @piqueprototype1845 ปีที่แล้ว +1

    Thank you for not leaving out the capacitor haha

  • @ash-faque
    @ash-faque ปีที่แล้ว

    Spitting hard words 🗿

  • @igorr4682
    @igorr4682 ปีที่แล้ว

    What is the idea here ?? cover as much topics within least possible time or teach people something solid ? (dislike !)

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      It's an introduction to many of the Ionic components and concepts to build an app - but feel free to use any other introductory video from other creators if this was too fast for you!

  • @kucanw1090
    @kucanw1090 ปีที่แล้ว +1

    I got an error with InfiniteScrollCustomEvent ("Argument of type 'Event' is not assignable to parameter of type 'InfiniteScrollCustomEvent'."), so I just changed in the movies.page.html "(ionInfinite)="loadMore($event)" to "(ionInfinite)="loadMore($any($event))" and it worked, saw the answer on stackoverflow...

    • @MiguelSeabraMelo
      @MiguelSeabraMelo 11 หลายเดือนก่อน

      Thanks, I was getting that too with Ionic 7!

  • @HugoMVD
    @HugoMVD 2 ปีที่แล้ว

    My app works perfectly on the browser but when I generate the app-debug.apk and install on my android device the request just don't works and not returns the data. Whats is the possible problem?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Are you using HTTPS? Because Android needs specific settings if you want to make insecure http calls (http)!

    • @HugoMVD
      @HugoMVD 2 ปีที่แล้ว

      @@galaxies_dev I just add a "s" and worked! lol Thank uuuuuu 😘😍🤩

  • @AllenIve3
    @AllenIve3 2 ปีที่แล้ว +2

    Very good tutorial