jamesisaac / react-native-background-task

Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.
MIT License
1.1k stars 111 forks source link

Min API level in V.0.2.0 #81

Open omiddadvar opened 4 years ago

omiddadvar commented 4 years ago

I'm building an Android App for API higher than 16, so I preferred to use V 0.2.0 . I use this command to install this package: "npm install react-native-background-task@0.2.0" Whenever I do this, in my ""package.json" I see this:

"dependencies": { "react": "16.11.0", "react-native": "0.62.0", "react-native-background-task": "^0.2.0", "react-native-push-notification": "^3.1.9" },

which is right. In "node_modules/react-native-background-task/android/build.gradle" there is:

compileSdkVersion 23 buildToolsVersion "25.0.2" which causes problem (Error!!!) for APIs lower than 23 like 22 or 21.