How to make the canvas have the same height/width as the screen?

Hello everyone.
Does anyone know how I can make the canvas have the same height/width as my phone and pc whitout creating multiple stages?
Thanks