apply plugin: "com.android.application" project.ext.react = [ root : "../../../", entryFile: "index.js", bundleAssetName: "index.bundle", bundleInAlpha: true, bundleInBeta: true ] apply from: "../../../node_modules/react-native/react.gradle" android { compileSdkVersion 28 buildToolsVersion "28.0.3" defaultConfig { applicationId "com.wix.reactnativenotifications.app" minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } } configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { details.useVersion "28.0.0" } } } configurations.all { resolutionStrategy { force 'org.webkit:android-jsc:r236355' } } dependencies { // compile fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.google.firebase:firebase-core:16.0.0' implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.facebook.react:react-native:+' implementation project(':react-native-notifications') testImplementation'junit:junit:4.12' } apply plugin: 'com.google.gms.google-services'