Skip to content

Instantly share code, notes, and snippets.

@Tahmeed156
Created October 21, 2018 06:53
Show Gist options
  • Select an option

  • Save Tahmeed156/07a431e14f36f8bb1f7d01442af0b018 to your computer and use it in GitHub Desktop.

Select an option

Save Tahmeed156/07a431e14f36f8bb1f7d01442af0b018 to your computer and use it in GitHub Desktop.
Upgrading the sdk versions for your react native project
...
android {
compileSdkVersion 28 // Use latest version
buildToolsVersion "28.0.3" // Latest version
...
...
dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:28.+" // Use latest version
implementation "com.facebook.react:react-native:+" // use 'implementation' instead of compile
implementation project(':react-native-image-picker')
implementation project(':react-native-background-fetch')
implementation project(':react-native-push-notification')
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment