wireless Keyboard input not working in AR app

I have made an AR application using hand-held AR, I have turned on the hardware flag as well so that keyboard and mouse work with the application. It is working only in UE console but not if we package it as an android application.
What can the problem be?