Resolution in mobile device

hi, how can I scale game in mobile device considering devicepixelratio? On my huwaei y5 the game look sfine, but at lg g4 which pixelratio is 2 the images are smaller.

In your game config set resolution: window.devicePixelRatio. It has worked for me.

var config = {
        type: Phaser.WEBGL,
        width: window.innerWidth,
        height: window.innerHeight,
        resolution: window.devicePixelRatio,
        scene: this_game.scene_list
    };