Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-notifications
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
冷佳娟
react-native-notifications
Commits
386ed8e2
Commit
386ed8e2
authored
Nov 21, 2016
by
d4vidi
Committed by
GitHub
Nov 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11 from wix/buildToolsDowngrade
Downgrade build tools to 23.x.y
parents
ebddcc5f
3f51ba62
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
.gitignore
.gitignore
+6
-0
README.md
README.md
+3
-3
android/build.gradle
android/build.gradle
+3
-2
example/android/myapplication/build.gradle
example/android/myapplication/build.gradle
+1
-2
No files found.
.gitignore
View file @
386ed8e2
...
@@ -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
...
...
README.md
View file @
386ed8e2
...
@@ -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 ':react
native
notifications'
project(':react
-native-
notifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android')
project(':react
native
notifications').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(':react
native
notifications')
}
}
```
```
...
...
android/build.gradle
View file @
386ed8e2
...
@@ -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
"2
4.0.1
"
buildToolsVersion
"2
3.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'
...
...
example/android/myapplication/build.gradle
View file @
386ed8e2
...
@@ -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
"2
4.0.1
"
buildToolsVersion
"2
3.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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment