My game looks enlarged when coverted to apk for android. I tried to resize using scale config but page stops loading once I do that. I get an error at .FIT
var config = {
type: Phaser.AUTO,
width: 1366,
height: 658,
resolution: window.devicePixelRatio,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phase.Scale.CENTER_BOTH
},
physics: {
default: ‘arcade’,
arcade: {
gravity: { y: 0 }
}
},
scene: {
preload: preload,
create: create,
// update: update
}
};