My game is running fullscreen on mobile devices but I need to keep some top safe space to avoid notch space and statusbar.
Found this scale examples but it doesn't handle notch/statusbar spaces.
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH
},
Is there any way to do this?
In IONIC it has CSS variable called safe-area-inset-top
, but I don't know how to bring it's value to Phaser.