diff --git a/plugin.xml b/plugin.xml index 0a6cee4..b9a65e4 100644 --- a/plugin.xml +++ b/plugin.xml @@ -93,7 +93,7 @@ src="src/android/ForegroundService.java" target-dir="src/de/appplant/cordova/plugin/background" /> - + diff --git a/src/android/ForegroundService.java b/src/android/ForegroundService.java index c0edae6..9ba4e06 100644 --- a/src/android/ForegroundService.java +++ b/src/android/ForegroundService.java @@ -33,7 +33,7 @@ import android.os.Build; import android.os.IBinder; import android.os.PowerManager; import org.json.JSONObject; -import android.support.v4.app.NotificationCompat; +import androidx.core.app.NotificationCompat; import static android.os.PowerManager.PARTIAL_WAKE_LOCK;