Rapsssito / react-native-background-actions

React Native background service library for running background tasks forever in Android & iOS.
MIT License
819 stars 117 forks source link

react-native-background-actions:compileReleaseJavaWithJavac #164

Closed kamatcho closed 1 year ago

kamatcho commented 1 year ago

node_modules/react-native-background-actions/android/src/main/java/com/asterinet/react/bgactions/RNBackgroundActionsTask.java:44: error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { ^ symbol: variable S location: class VERSION_CODES

node_modules/react-native-background-actions/android/src/main/java/com/asterinet/react/bgactions/RNBackgroundActionsTask.java:45: error: cannot find symbol contentIntent = PendingIntent.getActivity(context, 0, notificationIntent, PendingIntent.FLAG_MUTABLE); ^ symbol: variable FLAG_MUTABLE location: class PendingIntent

Rapsssito commented 1 year ago

@kamatcho, please, use version 2.6.7 or upgrade your Android setup to targetSDK 31. More info on the compatibility table.