Ionic app laggy on Android device

Hi, I am new to Ionic and it’s my first post here on the forum.

I have created air pollution app in ionic, its working fine on localhost no lagging. But when I deploy on device (Huawei P10 lite) it’s all laggy and it’s not feeling like native app. I tried with crosswalk and did not improve very much. I’ve searched and didn’t find very much about this.

@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.6
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

Are you deploying with —prod???

Yes I was deploying with --prod, The problem was with the gradient background. So I modified the code without the gradient and now is good. Thanks for the reply.