You are awesome in the way you teach concepts. You think like a "humble" programmer which makes the learning experience much more easy. Great job with all your videos on Ionic. Do you have same tutorials with latest versions of Ionic/Angular and other dependencies. It becomes difficult to follow along and implement your tutorial code with current versions.
Thanks for the nice tutorial. I have a request. Could you please make a video on how to handle Hardware Back button in Ionic4? There are so many issues on that action. It won't close side menu...
Nice video man, really helpful. But im having this problem where "return of(user);" doesnt work for me. the error says " cannot find name 'of' " (on auth.service.ts). could you tell me what am i doing wrong?
Thank you Simon for a great and relevant topic. I just wonder if we could save the logic with details of roles of users online in the cloud as uou know that logic in the front=end could be altered by any user.
Hmm good question. I think it might work but would involve a lot of RxJS and making sure you first get the roles from your server before you do anything inside your app!
nice tutorial i have only one question what if token expired i think we should check stored object from local storage in auth Guard not this.auth.user because if token expired this.auth.user still valid correct me if i am wrong
@@galaxies_dev Is it also possible to read the data in the canLoad to check whether the page may be loaded. Or that is only possible with the canActivate. For example, to check whether a role matches the data of the url
Hi Simon , I am unable to update my App created with Ionic and deployed on Firebase come2athens.web.app/ I have made some minor changes but it does not apply when using ionic cordova build firebase --prod --verbose please assist Best regards Helmar
You are awesome in the way you teach concepts. You think like a "humble" programmer which makes the learning experience much more easy. Great job with all your videos on Ionic. Do you have same tutorials with latest versions of Ionic/Angular and other dependencies. It becomes difficult to follow along and implement your tutorial code with current versions.
Thank you so much for the kind words Kiran! I'm currently working on a new version for these concepts :)
You are helping us so much by making these tutorials....doing great job
Thanks a lot Neha!
DUDE! You are AWESOME!!!!!
Thanks Glenn :)
clean! and beautiful. Thanks!
Thanks for the nice tutorial. I have a request. Could you please make a video on how to handle Hardware Back button in Ionic4? There are so many issues on that action. It won't close side menu...
very nice video, very helpful
Awesome video, very helpful as always
Awesome as always,,, Thanks
excelente, me ha servido mucho este vídeo, muchas gracias
Nice video man, really helpful. But im having this problem where "return of(user);" doesnt work for me. the error says " cannot find name 'of' " (on auth.service.ts). could you tell me what am i doing wrong?
You need to import it from the rxjs package!
Fantastic video!! Really helpful :)
Thanks Jonathan!
Just awesome :)
Sir, can you make tutorial how to make ionic 3 with SQLite multiple table with transaction, foreign key etc? I can't find anywhere
Thank you Simon for a great and relevant topic. I just wonder if we could save the logic with details of roles of users online in the cloud as uou know that logic in the front=end could be altered by any user.
Hmm good question. I think it might work but would involve a lot of RxJS and making sure you first get the roles from your server before you do anything inside your app!
Thanks, this really helps me! Good videos
You are welcome Edward :)
Hi Simon, Can we do this using the firebase as well?
Yes it might work a bit different but works as well!
Thanks Sir
Gracias Simmon
nice tutorial i have only one question what if token expired i think we should check stored object from local storage in auth Guard not this.auth.user because if token expired this.auth.user still valid correct me if i am wrong
Yes this was an easy example, checking the expiry date is also mandatory for any authentication implementation!
@@galaxies_dev how to implement session like backend when user is idle log him out
Is this option also possible if you use canLoad
Yes canLoad and canActivate should both work fine!
@@galaxies_dev Is it also possible to read the data in the canLoad to check whether the page may be loaded.
Or that is only possible with the canActivate.
For example, to check whether a role matches the data of the url
I got it working.
hi simon, is there anyway that we can do this with firebase? if so, how?
Sure, we have courses on that topic inside the Ionic Academy as well. You can also use the new AngularFireGuard which makes life a lot easier!
what if someone with a user role changed localstorage and changed the role value to admin , he could access admin route , how to make it more secure ?
Real security should always happen at your API level where you check the token of a user!
@@galaxies_dev good to know , thx!
Awesome! and first to comment.
error filter(response => response) is not assignable to parameter of type
Cannot read property 'role' of null
sir how to concate two *ngFor Array in single Array? sorry my question is not related to this video
You can use concat() to combine to array inside Javascript!
Hi Simon ,
I am unable to update my App created with Ionic and deployed on Firebase
come2athens.web.app/
I have made some minor changes but it does not apply when using
ionic cordova build firebase --prod --verbose
please assist
Best regards
Helmar
Hey Helmar, not sure what's wrong :/ Does it look different with Ionic serve? Most likely some caching issue, are you using a service worker perhaps?
@@galaxies_dev sorted now. I have used the command : ionic build --prod and it works. Thanks for the reply
@@galaxies_dev sorted now. I have used ionic build --prod and it works.
Thanks for the response
error cant resolve './../../services/auth.service'
That means your path is incorrect.
Simon you couldn't reply to my question....?
Sorry, which question?
@@galaxies_dev how to make third level submenu??
Gracias Simmon