Page is a value representing the current screen state.
Pages are used to send events and to view specific support bots.
There are two major drawbacks to url.
- SPA (Single page application)'s url is not changed.
- App does not have a url.
The url has a fixed form. Instead of using the screen information as a url, we created the concept of a page so that we were able to freely set screen information.
It varies from platform to platform.
Web: Canonical URL (What is canonical URL)
iOS / Android : Screen name (Activity, ViewController)
Of course. setPage, resetPage are ready for you.
If you call setPage, page is fixed to that value until resetPage is called.
If resetPage called, we use page as default value again.
See more about setPage, resetPage
Updated 5 months ago