Ionic Background geolocation is not working in Background or minimize state

Currently we are working on a project which includes background Geo location and we’ll track the person when app is in minimize state or closed state.We tried Background geolocation mauron85 plugin it’s working fine when app is in foreground while using the app and foreground with screen off position,but it fails when app is in minimize state or pressing register back button or app is terminate and we tried another plugin background geolocation-lt but it’s matter of price ,we can’t afford that much to this project.

So please kindly help us if anybody handles this kind of project.