Ionic

All about Ionic

Tag: Ionic 4


Protecting Pages with Guards

Many of us often need a way to prevent users from accessing certain pages in our app. This might not be super obvious when only focused on mobile apps, but think about a URL to a website. Your path is exactly this, and some users should simply not be allowed to visit that page if they are not authenticated.