Mauron85/cordova-plugin-background-geolocation app crashes when start service

I created the app to get the Geolocation in the background, everything works fine when I am running the app in android 9, but when I run the app in android 10 and android 8 it crashes. I searched a lot but nothing found. Can any one tell me where I am doing wrong?

const config: BackgroundGeolocationConfig = {
					locationProvider: 1,
					desiredAccuracy: 0,
					stationaryRadius: 20,
					distanceFilter: 10,
					interval: 100,
					fastestInterval: 100,
					activitiesInterval: 100,
					url: API_URL+'save/location',
					syncUrl: API_URL+'save/location',
					notificationTitle: 'Tracking Location',
					notificationText: 'GPS is tracking your location',
					postTemplate: {
					lat: '@latitude',
					lon: '@longitude',
					debug: false, 
					stopOnTerminate: false,
			this.backgroundGeolocation.configure(config).then((location:BackgroundGeolocationResponse) => {    
			// alert(JSON.stringify(location));
			this.backgroundGeolocation.on(BackgroundGeolocationEvents.location).subscribe((location: BackgroundGeolocationResponse) => {
			// alert(JSON.stringify(location));