The following error appears when try to build my react native for production (running ./gradlew assembleRelease),
...
/node_modules/react-native-mauron85-background-geolocation/android/common/src/oreo/java/com/marianhello/bgloc/NotificationHelper.java:4: error: cannot find symbol import android.app.NotificationChannel; ^ symbol: class NotificationChannel location: package android.app
...
Execution failed for task ':react-native-mauron85-background-geolocation-common:compileOreoReleaseJavaWithJavac'
Anybody encountered this error before?