Ionic 3 App background mode

How can my app’s autostart setting be enabled using a button in ionic app ? i want to run my app in background even if it is terminated, but both background mode and autostart native plugins are not working. Please help me out of this