huwaei p20 is not showing pre define message

I had added a api message in message box on button click it is working fine for me but on the other hand in huawei message is not being shown its coming blank only . how to handle this ?