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

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

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

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

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

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

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

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

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

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

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

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

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

    great video as always

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

    As clear as always! thanks Simon ;)

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

    Very helpful, thank you

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

      You're welcome Simone!

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

    Grateful.

  • @DheerajSharma-kt6df
    @DheerajSharma-kt6df 3 ปีที่แล้ว +1

    Really useful tutorial.👍👍👍

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

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

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

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