Harware Volume buttons in background mode

I need help, how can i access the hardware volume buttons in ionic 4 when the application is closed or in the background… i tests background mode plugin but is trash. anyone have a solution.?

thanks