Commit 3f51ba62 authored by d4vidi's avatar d4vidi

Downgrade

parent ebddcc5f
...@@ -12,6 +12,12 @@ npm-debug.log ...@@ -12,6 +12,12 @@ npm-debug.log
# and https://gist.github.com/adamgit/3786883 # and https://gist.github.com/adamgit/3786883
######################### #########################
#####
# Android
android/local.properties
android/*.iml
##### #####
# OS X temporary files that should never be committed # OS X temporary files that should never be committed
......
...@@ -76,8 +76,8 @@ And the following methods to support registration and receiving notifications: ...@@ -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`: Add a reference to the library's native code in your global `settings.gradle`:
``` ```
include ':react-native-notifications' include ':reactnativenotifications'
project(':react-native-notifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android') 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`: 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`: ...@@ -86,7 +86,7 @@ Declare the library as a dependency in your **app-project's** `build.gradle`:
dependencies { dependencies {
// ... // ...
compile project(':react-native-notifications') compile project(':reactnativenotifications')
} }
``` ```
......
...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android { android {
compileSdkVersion 23 compileSdkVersion 23
buildToolsVersion "24.0.1" buildToolsVersion "23.0.3"
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
...@@ -19,8 +19,9 @@ android { ...@@ -19,8 +19,9 @@ android {
} }
dependencies { dependencies {
// Google's GCM related framework components. // Google's GCM.
compile "com.google.android.gms:play-services-gcm:9.4.0" compile "com.google.android.gms:play-services-gcm:9.4.0"
compile 'com.facebook.react:react-native:+' compile 'com.facebook.react:react-native:+'
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
......
...@@ -2,7 +2,7 @@ apply plugin: 'com.android.application' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 23 compileSdkVersion 23
buildToolsVersion "24.0.1" buildToolsVersion "23.0.3"
defaultConfig { defaultConfig {
applicationId "com.wix.reactnativenotifications.app" applicationId "com.wix.reactnativenotifications.app"
...@@ -32,7 +32,6 @@ dependencies { ...@@ -32,7 +32,6 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0' compile 'com.android.support:design:23.4.0'
compile 'com.facebook.react:react-native:+' compile 'com.facebook.react:react-native:+'
compile "com.google.android.gms:play-services-gcm:9+"
compile project(':react-native-notifications') compile project(':react-native-notifications')
testCompile 'junit:junit:4.12' 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