I’ am writing an app where I have to start a foreground service to handle gps locations when the app runs in the background.
To create the notification I import:
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.NotificationCompat.Builder;
The android documentation indicates that these packages are deprecated and recommends to migrate to AndoidX
This package is part of the Android support library which is no longer maintained. The support library has been superseded by AndroidX which is part of Jetpack. We recommend using the AndroidX libraries in all new projects. You should also consider migrating existing projects to AndroidX.
Can anyone indicate how to migrate to AndroidX