Commit 386ed8e2 authored by d4vidi's avatar d4vidi Committed by GitHub

Merge pull request #11 from wix/buildToolsDowngrade

Downgrade build tools to 23.x.y
parents ebddcc5f 3f51ba62
......@@ -12,6 +12,12 @@ npm-debug.log
# and https://gist.github.com/adamgit/3786883
#########################
#####
# Android
android/local.properties
android/*.iml
#####
# OS X temporary files that should never be committed
......
......@@ -76,8 +76,8 @@ And the following methods to support registration and receiving notifications:
Add a reference to the library's native code in your global `settings.gradle`:
```
include ':react-native-notifications'
project(':react-native-notifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android')
include ':reactnativenotifications'
project(':reactnativenotifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android')
```
Declare the library as a dependency in your **app-project's** `build.gradle`:
......@@ -86,7 +86,7 @@ Declare the library as a dependency in your **app-project's** `build.gradle`:
dependencies {
// ...
compile project(':react-native-notifications')
compile project(':reactnativenotifications')
}
```
......
......@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
buildToolsVersion "23.0.3"
defaultConfig {
minSdkVersion 16
......@@ -19,8 +19,9 @@ android {
}
dependencies {
// Google's GCM related framework components.
// Google's GCM.
compile "com.google.android.gms:play-services-gcm:9.4.0"
compile 'com.facebook.react:react-native:+'
testCompile 'junit:junit:4.12'
......
......@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.wix.reactnativenotifications.app"
......@@ -32,7 +32,6 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.facebook.react:react-native:+'
compile "com.google.android.gms:play-services-gcm:9+"
compile project(':react-native-notifications')
testCompile 'junit:junit:4.12'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment