Chat footer hide after run apk

I am using ionic 3. when I start to chat the footer hidden on the back of the keyboard. problem is on apk file. it is ok on devApp

second image taken from DevApp it is okay. the first image is after building apk and run on real device