How to Handle User Roles in Ionic Apps with Guard & Directives

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

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

  • @jaswindersingh2143
    @jaswindersingh2143 3 года назад +2

    ❤️❤️❤️❤️I was implementing roles based login this week and here you are with it.

  • @vampirejs758
    @vampirejs758 3 года назад +3

    Heyy!!Btw I am the first person here .... please make a video on @nativescript/capacitor which is actually in beta but still looks very unique as it exposes the device api directly in the javascript ..... thanks

  • @erensengun3838
    @erensengun3838 3 года назад +1

    Perfect learn Simon great job

  • @LuckystrikeGFXer
    @LuckystrikeGFXer 3 года назад +2

    I noticed that you used "any" in your BehaviorSubject, you could have used "private user: BehaviorSubject" to have it strongly typed. This way the value can be an Object of User or a boolean. Once you subscribe to the user observable you can check with "typeof value === 'boolean'" for a boolean or "value instanceof User" to check if the value of the BehaviorSubject is an instance of the User Class.

    • @galaxies_dev
      @galaxies_dev  3 года назад

      Very good idea, will pick this up in future tutorials!

  • @MiladAKareem
    @MiladAKareem 3 года назад +1

    great video as always

  • @jaswindersingh2143
    @jaswindersingh2143 3 года назад

    Won't it be good if the crud based projects you have already created are available to download and use?
    Or if some complex app are there that can be paid ones.
    Because I was not able to find some market place where we can have a template with all the basic stuff implemented if you have any reference you can share will be very helpful.

  • @pauloafpjunior
    @pauloafpjunior 3 года назад +3

    I was working in that this week. It helped me a lot. Thanks again, Simon.

  • @asifmulla7567
    @asifmulla7567 3 года назад +1

    Grateful.

  • @efeodede
    @efeodede 2 года назад +1

    Any Ionic developers looking for a job. Frontend Ionic/Angular development. Implementation of frontend designs. CSS and HTML should be your strong suit.
    Please get in touch.

  • @TheGiordanox
    @TheGiordanox 3 года назад +1

    Great job, Simon! I had a subscription to the Ionic Academy, but for financial reasons I had to leave. I intend to return soon, its content is excellent.

    • @galaxies_dev
      @galaxies_dev  3 года назад +1

      Always happy to see previous members coming back to the Academy!

  • @DheerajSharma-kt6df
    @DheerajSharma-kt6df 3 года назад +1

    Really useful tutorial.👍👍👍

  • @TheSaceone
    @TheSaceone 3 года назад

    Seriously one can create a super powerful app template by merging your videos about this topic. I wish a "ionic start myApp simon-grimm --type=angular --capacitor" command was available

  • @cesareunion
    @cesareunion 3 года назад +1

    As clear as always! thanks Simon ;)

  • @prafullajoshi8453
    @prafullajoshi8453 3 года назад

    Hi @Simon, I am working with Ionic since years and when we have multiple applications build over time with multiple versions of Ionic/Angular I face the challenge of maintaining same with common Node and NPM versions on different machines. Specifically bundling applications for various platforms becomes very fragile when you setup a new machine altogether which has lates node environment...
    Could you please share your thoughts on best strategies to handle these situations?
    Thanks

  • @Simone5791
    @Simone5791 3 года назад +1

    Very helpful, thank you

  • @soromiso
    @soromiso 2 года назад

    Thanks Simon, it's very much useful to understand how to use directive and guard

  • @rodriserran4909
    @rodriserran4909 3 года назад

    As useful as always Simon, thank you! BTW do you know what may cause ngmodel to fail in a modal triggered by an authguard? It works in the same modal if I launch it with a button...🤔

    • @galaxies_dev
      @galaxies_dev  3 года назад

      Hmm that usually means that the modal page should be added to a module where you trigger the modal!

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

    I am using cordova. so I am getting error in core.mjs:6485 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'get') in auth.service.ts page please help me